Bug 136614 - Denials with ntpd
Denials with ntpd
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Daniel Walsh
Depends On:
  Show dependency treegraph
Reported: 2004-10-21 03:59 EDT by Ivan Gyurdiev
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-10-21 05:07:33 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Ivan Gyurdiev 2004-10-21 03:59:44 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20041016

Description of problem:
I *just* relabeled with fixfiles relabel. Launch ntpd - no improvement
to the denies I was getting before relabeling. Time for bugzilla:

[root@cobra ~]# /etc/init.d/ntpd restart
Shutting down ntpd:                                        [  OK  ]
ntpd: Synchronizing with time server:                      [  OK  ]
Starting ntpd:                                             [  OK  ]

[root@cobra ~]# dmesg
audit(1098345278.317:0): avc:  denied  { sendto } for  pid=3498
exe=/usr/sbin/ntpd path=/dev/log scontext=user_u:system_r:ntpd_t
tcontext=user_u:system_r:unconfined_t tclass=unix_dgram_socket
audit(1098345278.611:0): avc:  denied  { write } for  pid=9036
exe=/usr/sbin/ntpdate name=log dev=tmpfs ino=50858
scontext=root:system_r:ntpd_t tcontext=user_u:object_r:device_t
audit(1098345278.611:0): avc:  denied  { sendto } for  pid=9036
exe=/usr/sbin/ntpdate path=/dev/log scontext=root:system_r:ntpd_t
tcontext=user_u:system_r:unconfined_t tclass=unix_dgram_socket
audit(1098345278.626:0): avc:  denied  { search } for  pid=9036
exe=/usr/sbin/ntpdate name=nscd dev=dm-0 ino=146399
tcontext=system_u:object_r:nscd_var_run_t tclass=dir

allow ntpd_t device_t:sock_file { write };
allow ntpd_t nscd_var_run_t:dir { search };
allow ntpd_t unconfined_t:unix_dgram_socket { sendto };

This is running targeted policy in permissive mode.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. See comments

Additional info:
Comment 1 Ivan Gyurdiev 2004-10-21 05:07:33 EDT
Closing - I can't reproduce with the current kernel.
Sorry I was using an old kernel because NVIDIA has been broken 
since .541. It's so unstable too - crashes all the time.

Note You need to log in before you can comment on or make changes to this bug.