[refpolicy] [PATCH v5 5/5] Allow init scripts to create and manage (udev) /run location

Sven Vermeulen sven.vermeulen at siphos.be
Thu Jul 12 14:24:45 CDT 2012

With udev now using /run for its data, the init script responsible for preparing
the environment to start up udev needs to be able to setup this location as

We here allow init scripts to create the /run/udev location (transitioning to
udev_var_run_t) and manage this content (creating the /run/udev subdirectories).

Signed-off-by: Sven Vermeulen <sven.vermeulen at siphos.be>
 policy/modules/system/init.te |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/policy/modules/system/init.te b/policy/modules/system/init.te
index 0dbd708..7c37287 100644
--- a/policy/modules/system/init.te
+++ b/policy/modules/system/init.te
@@ -829,7 +829,9 @@ optional_policy(`
+	udev_generic_pid_filetrans_run_dirs(initrc_t, "udev")
+	udev_manage_pid_dirs(initrc_t)

More information about the refpolicy mailing list