systemd: allow systemd-networkd to read init runtime files
If started from an initrd and the kernel is configured for networking at early boot, systemd-networkd needs access to files for the network configuration in /run/systemd/network which are still init_runtime_t during early boot. systemd will later relabel these files after the policy is loaded. Signed-off-by: Kenton Groombridge <me@concord.sh>
This commit is contained in:
parent
998ef975f3
commit
ec1d3be3f7
|
@ -1068,6 +1068,7 @@ auth_use_nsswitch(systemd_networkd_t)
|
||||||
|
|
||||||
init_dgram_send(systemd_networkd_t)
|
init_dgram_send(systemd_networkd_t)
|
||||||
init_read_state(systemd_networkd_t)
|
init_read_state(systemd_networkd_t)
|
||||||
|
init_read_runtime_files(systemd_networkd_t)
|
||||||
init_runtime_filetrans(systemd_networkd_t, systemd_networkd_runtime_t, dir)
|
init_runtime_filetrans(systemd_networkd_t, systemd_networkd_runtime_t, dir)
|
||||||
|
|
||||||
logging_send_syslog_msg(systemd_networkd_t)
|
logging_send_syslog_msg(systemd_networkd_t)
|
||||||
|
|
Loading…
Reference in New Issue