init: this is a bug in debian where tmpfs is mounted on /run, and so early on in the boot process init creates /run/utmp and /run/initctl in a tmpfs directory (/) tmpfs
Signed-off-by: Dominick Grift <dominick.grift@gmail.com>
This commit is contained in:
parent
32d6aac409
commit
75cca597f6
|
@ -179,6 +179,11 @@ seutil_read_config(init_t)
|
|||
|
||||
miscfiles_read_localization(init_t)
|
||||
|
||||
ifdef(`distro_debian',`
|
||||
fs_tmpfs_filetrans(init_t, initctl_t, fifo, "initctl")
|
||||
fs_tmpfs_filetrans(init_t, initrc_var_run_t, file, "utmp")
|
||||
')
|
||||
|
||||
ifdef(`distro_gentoo',`
|
||||
allow init_t self:process { getcap setcap };
|
||||
|
||||
|
|
Loading…
Reference in New Issue