From e3d5625354b069f68fe3fff6135df2e5bc14f207 Mon Sep 17 00:00:00 2001 From: Grzegorz Filo Date: Wed, 3 Apr 2024 13:02:48 +0200 Subject: files context for merged-usr profile on gentoo Signed-off-by: Grzegorz Filo Signed-off-by: Kenton Groombridge --- policy/modules/services/smartmon.fc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'policy/modules/services') diff --git a/policy/modules/services/smartmon.fc b/policy/modules/services/smartmon.fc index efbb8886f..562cf0b04 100644 --- a/policy/modules/services/smartmon.fc +++ b/policy/modules/services/smartmon.fc @@ -9,3 +9,7 @@ /run/smartd\.pid -- gen_context(system_u:object_r:fsdaemon_runtime_t,s0) /var/lib/smartmontools(/.*)? gen_context(system_u:object_r:fsdaemon_var_lib_t,s0) + +ifdef(`distro_gentoo',` +/usr/bin/update-smart-drivedb -- gen_context(system_u:object_r:smartmon_update_drivedb_exec_t,s0) +') -- cgit v1.2.3-65-gdbad