Why does SELinux denied access to ntp while starting ntpd service
Issue
- When starting ntpd with 'service ntpd start', the following error messages are generated in /var/log/messages:
Feb 8 20:33:02 sim-proxyagent-tp1 kernel: type=1400 audit(1297197182.565:649): avc: denied { read } for pid=6309 comm="ntpd" name="drift" dev=cciss/c0d0p8 ino=2189056 scontext=user_u:system_r:ntpd_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
Feb 8 20:33:02 sim-proxyagent-tp1 kernel: type=1400 audit(1297197182.566:650): avc: denied { read } for pid=6309 comm="ntpd" name="passwd" dev=cciss/c0d0p6 ino=4122613 scontext=user_u:system_r:ntpd_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
Environment
- Red Hat Enterprise Linux 5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
