Add several fcontext for debian specific paths for ntp
PATCH 1/1 Add several fcontext for debian specific paths for ntp
From: Laurent Bigonville <[email protected]>
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=740656
--- ntp.fc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
ntp.fc +3 -1
@@ -1,13 +1,15 @@ +/etc/cron\.daily/ntp -- gen_context(system_u:object_r:ntpd_exec_t,s0) /etc/cron\.(daily|weekly)/ntp-simple -- gen_context(system_u:object_r:ntpd_exec_t,s0) /etc/cron\.(daily|weekly)/ntp-server -- gen_context(system_u:object_r:ntpd_exec_t,s0) +/etc/ntp\.conf -- gen_context(system_u:object_r:ntp_conf_t,s0) /etc/ntpd.*\.conf.* -- gen_context(system_u:object_r:ntp_conf_t,s0) /etc/ntp/crypto(/.*)? gen_context(system_u:object_r:ntpd_key_t,s0) /etc/ntp/data(/.*)? gen_context(system_u:object_r:ntp_drift_t,s0) /etc/ntp/keys -- gen_context(system_u:object_r:ntpd_key_t,s0) /etc/ntp/step-tickers.* -- gen_context(system_u:object_r:ntp_conf_t,s0) -/etc/rc\.d/init\.d/ntpd -- gen_context(system_u:object_r:ntpd_initrc_exec_t,s0) +/etc/rc\.d/init\.d/ntpd? -- gen_context(system_u:object_r:ntpd_initrc_exec_t,s0) /usr/sbin/ntpd -- gen_context(system_u:object_r:ntpd_exec_t,s0) /usr/sbin/ntpdate -- gen_context(system_u:object_r:ntpdate_exec_t,s0)
Signature · 1 line
1.9.0
PATCH 1/1 Add several fcontext for debian specific paths for ntp
Quoted 18 lines · Laurent Bigonville
From: Laurent Bigonville <[email protected]>
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=740656
--- ntp.fc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)ntp.fc +2
-0@@ -1,13 +1,15 @@ +/etc/cron\.daily/ntp -- gen_context(system_u:object_r:ntpd_exec_t,s0) /etc/cron\.(daily|weekly)/ntp-simple -- gen_context(system_u:object_r:ntpd_exec_t,s0) /etc/cron\.(daily|weekly)/ntp-server -- gen_context(system_u:object_r:ntpd_exec_t,s0) +/etc/ntp\.conf -- gen_context(system_u:object_r:ntp_conf_t,s0) /etc/ntpd.*\.conf.* -- gen_context(system_u:object_r:ntp_conf_t,s0)
ntp.fc line 15
Quoted 10 lines
ntp.fc +1
-1/etc/ntp/crypto(/.*)? gen_context(system_u:object_r:ntpd_key_t,s0) /etc/ntp/data(/.*)? gen_context(system_u:object_r:ntp_drift_t,s0) /etc/ntp/keys -- gen_context(system_u:object_r:ntpd_key_t,s0) /etc/ntp/step-tickers.* -- gen_context(system_u:object_r:ntp_conf_t,s0) -/etc/rc\.d/init\.d/ntpd -- gen_context(system_u:object_r:ntpd_initrc_exec_t,s0) +/etc/rc\.d/init\.d/ntpd? -- gen_context(system_u:object_r:ntpd_initrc_exec_t,s0) /usr/sbin/ntpd -- gen_context(system_u:object_r:ntpd_exec_t,s0) /usr/sbin/ntpdate -- gen_context(system_u:object_r:ntpdate_exec_t,s0)
Merged.
Signature · 3 lines
Chris PeBenito Tresys Technology, LLC www.tresys.com | oss.tresys.com