Article 5HBAM SELinux and NTP problem.

SELinux and NTP problem.

by
n00b_noob
from LinuxQuestions.org on (#5HBAM)
Hello,
I use the last version of the Fedora Server and I want to configure SELinux for the NTP service.
According to https://wiki.samba.org/index.php/Tim...ing_and_Policy tutorial, I tried to configure SELinux, but I got below error:
Code:# chcon -u system_u -t ntpd_t /usr/local/samba/var/lib/ntp_signd
chcon: failed to change context of '/usr/local/samba/var/lib/ntp_signd' to system_u:object_r:ntpd_t:s0': Permission deniedAnd my SELinux status is:
Code:# sestatus
SELinux status: enabled
SELinuxfs mount: /sys/fs/selinux
SELinux root directory: /etc/selinux
Loaded policy name: targeted
Current mode: enforcing
Mode from config file: enforcing
Policy MLS status: enabled
Policy deny_unknown status: allowed
Memory protection checking: actual (secure)
Max kernel policy version: 33To solve this problem, SELinux suggested:
https://paste.ubuntu.com/p/JnxMtTsqg5/
And I did:
Code:# ausearch -c 'chcon' --raw | audit2allow -M my-chcon
# semodule -X 300 -i my-chcon.ppBut problem not solved.
How can I solve it?

Thank you.latest?d=yIl2AUoC8zA latest?i=KDYT01O7_qo:dg3lwyywtWQ:F7zBnMy latest?i=KDYT01O7_qo:dg3lwyywtWQ:V_sGLiP latest?d=qj6IDK7rITs latest?i=KDYT01O7_qo:dg3lwyywtWQ:gIN9vFwKDYT01O7_qo
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments