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:
parent
486e700352
commit
dfccb1658f
|
@ -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)
|
||||
')
|
||||
|
||||
|
|
Loading…
Reference in New Issue