From 1adc754e53f3e0bf60830b93db2f153e76a8e6b3 Mon Sep 17 00:00:00 2001 From: Zdenek Pytela Date: Tue, 23 Jul 2024 13:26:44 +0200 Subject: [PATCH] Label /run/modprobe.d with modules_conf_t Resolves: RHEL-61453 --- policy/modules/system/modutils.fc | 1 + 1 file changed, 1 insertion(+) diff --git a/policy/modules/system/modutils.fc b/policy/modules/system/modutils.fc index 69b9bd160b..501722d681 100644 --- a/policy/modules/system/modutils.fc +++ b/policy/modules/system/modutils.fc @@ -34,5 +34,6 @@ ifdef(`distro_gentoo',` /usr/lib/modules/modprobe\.conf -- gen_context(system_u:object_r:modules_conf_t,s0) +/var/run/modprobe\.d(/.*)? gen_context(system_u:object_r:modules_conf_t,s0) /var/run/tmpfiles.d/kmod.conf -- gen_context(system_u:object_r:kmod_var_run_t,s0) /var/run/tmpfiles.d/static-nodes.conf -- gen_context(system_u:object_r:kmod_var_run_t,s0)