Bug 752366

Summary: chrony AVCs at DHCP renewal time
Product: [Fedora] Fedora Reporter: Paul Howarth <paul>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: selinux-policy-3.10.0-56.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-21 00:00:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Paul Howarth 2011-11-09 10:30:19 UTC
My DHCP server advertises NTP servers, and in Fedora 16 with selinux-policy-3.10.0-51.fc16 I'm getting these AVCs when dhclient renews a lease and chrony-helper is called:

type=AVC msg=audit(1320746356.677:458): avc:  denied  { read } for  pid=21156 comm="systemctl" name="cgroup.procs" dev=cgroup ino=24248 scontext=system_u:system_r:gnomeclock_t:s0-s0:c0.c1023 tcontext=system_u:object_r:cgroup_t:s0 tclass=file

type=SYSCALL msg=audit(1320746356.677:458): arch=c000003e syscall=2 success=no exit=-13 a0=1c253a0 a1=80000 a2=1b6 a3=68632f6d65747379 items=0 ppid=21154 pid=21156 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="systemctl" exe="/bin/systemctl" subj=system_u:system_r:gnomeclock_t:s0-s0:c0.c1023 key=(null)

type=AVC msg=audit(1320807812.771:667): avc:  denied  { read } for  pid=27557 comm="systemctl" name="cgroup.procs" dev=cgroup ino=24248 scontext=system_u:system_r:dhcpc_t:s0 tcontext=system_u:object_r:cgroup_t:s0 tclass=file

type=SYSCALL msg=audit(1320807812.771:667): arch=c000003e syscall=2 success=no exit=-13 a0=13723a0 a1=80000 a2=1b6 a3=68632f6d65747379 items=0 ppid=27556 pid=27557 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="systemctl" exe="/bin/systemctl" subj=system_u:system_r:dhcpc_t:s0 key=(null)

type=AVC msg=audit(1320807812.790:668): avc:  denied  { read } for  pid=27561 comm="chrony-helper" name="chrony.keys" dev=dm-1 ino=1325454 scontext=system_u:system_r:dhcpc_t:s0 tcontext=system_u:object_r:chronyd_keys_t:s0 tclass=file

type=SYSCALL msg=audit(1320807812.790:668): arch=c000003e syscall=2 success=no exit=-13 a0=2333d60 a1=0 a2=1b6 a3=7fff43bca1b8 items=0 ppid=27560 pid=27561 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="chrony-helper" exe="/bin/bash" subj=system_u:system_r:dhcpc_t:s0 key=(null)

type=AVC msg=audit(1320807812.790:669): avc:  denied  { read } for  pid=27561 comm="chrony-helper" name="chrony.keys" dev=dm-1 ino=1325454 scontext=system_u:system_r:dhcpc_t:s0 tcontext=system_u:object_r:chronyd_keys_t:s0 tclass=file

type=SYSCALL msg=audit(1320807812.790:669): arch=c000003e syscall=2 success=no exit=-13 a0=2333d60 a1=0 a2=1b6 a3=7fff43bca1b8 items=0 ppid=27560 pid=27561 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="chrony-helper" exe="/bin/bash" subj=system_u:system_r:dhcpc_t:s0 key=(null)

Comment 1 Daniel Walsh 2011-11-09 13:16:30 UTC
Fixed in selinux-policy-3.10.0-56.fc16

Comment 2 Fedora Update System 2011-11-16 15:22:29 UTC
selinux-policy-3.10.0-56.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-56.fc16

Comment 3 Fedora Update System 2011-11-17 23:30:08 UTC
Package selinux-policy-3.10.0-56.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.10.0-56.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-16003/selinux-policy-3.10.0-56.fc16
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2011-11-21 00:00:13 UTC
selinux-policy-3.10.0-56.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.