Allow init scripts to create and manage (udev) /run location

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
well.

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@siphos.be>
This commit is contained in:
Sven Vermeulen 2012-07-12 21:24:45 +02:00 committed by Chris PeBenito
parent 486e700352
commit dfccb1658f
1 changed files with 2 additions and 0 deletions

View File

@ -829,7 +829,9 @@ optional_policy(`
optional_policy(`
udev_rw_db(initrc_t)
udev_generic_pid_filetrans_run_dirs(initrc_t, "udev")
udev_manage_pid_files(initrc_t)
udev_manage_pid_dirs(initrc_t)
udev_manage_rules_files(initrc_t)
')