Displaying 1 result from an estimated 1 matches for "ntpd_exec_t".
Did you mean:
tftpd_exec_t
2017 Feb 08
0
selinux contexts for openntpd portable
...elinux context for the portable
openntpd library on centos7.
I compiled openntpd-6.0p1 and it runs great on centos7, but have not had
much luck with selinux contexts for it.
This is what I tried-
semanage fcontext -a -t ntp_conf_t /usr/local/etc/ntpd.conf # seems to work
semanage fcontext -a -t ntpd_exec_t /usr/local/sbin/ntpd # gets reset on
reboot to bin_t and/or stops ntpd from working
semanage fcontext -a -t ntpd_exec_t /usr/local/sbin/ntpctl # stops ntpd
from working
semanage fcontext -a -t ntp_drift_t /usr/local/var/db/ntpd.drift # seems
ok
No idea about context for /usr/local/var/db/n...