init: fix systemd boot
Signed-off-by: bauen1 <j2468h@gmail.com>
This commit is contained in:
parent
93beef3ce5
commit
0f4eb2a324
|
@ -447,6 +447,7 @@ ifdef(`init_systemd',`
|
|||
logging_relabelto_devlog_sock_files(init_t)
|
||||
logging_relabel_generic_log_dirs(init_t)
|
||||
logging_audit_socket_activation(init_t)
|
||||
logging_use_syslogd_fd(init_t)
|
||||
|
||||
# lvm2-activation-generator checks file labels
|
||||
seutil_read_file_contexts(init_t)
|
||||
|
|
|
@ -687,6 +687,25 @@ interface(`logging_send_syslog_msg',`
|
|||
')
|
||||
')
|
||||
|
||||
########################################
|
||||
## <summary>
|
||||
## Allow domain to use a file descriptor
|
||||
## from syslogd.
|
||||
## </summary>
|
||||
## <param name="domain">
|
||||
## <summary>
|
||||
## Domain allowed access.
|
||||
## </summary>
|
||||
## </param>
|
||||
#
|
||||
interface(`logging_use_syslogd_fd', `
|
||||
gen_require(`
|
||||
type syslogd_t;
|
||||
')
|
||||
|
||||
allow $1 syslogd_t:fd use;
|
||||
')
|
||||
|
||||
########################################
|
||||
## <summary>
|
||||
## Allow domain to relabelto devlog sock_files
|
||||
|
|
Loading…
Reference in New Issue