selinux contexts for openntpd portable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I was wondering if someone could help with selinux 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/ntpd.sock

Thanks in advance for any help,
jl
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux