Bug 1440791

Summary: allow chronyd_t self:capability chown
Product: Red Hat Enterprise Linux 7 Reporter: Qian Cai <qcai>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED DUPLICATE QA Contact: Milos Malik <mmalik>
Severity: medium Docs Contact:
Priority: high    
Version: 7.3CC: lvrabec, mgrepl, mmalik, plautrba, pvrabec, ssekidde
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-10 15:30:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Qian Cai 2017-04-10 13:24:08 UTC
Description of problem:
Every RHEL 7.3.4 boxes have AVC after reboot.
----
time->Mon Apr 10 09:13:12 2017
type=SYSCALL msg=audit(1491829992.556:12): arch=c000003e syscall=92 success=no exit=-1 a0=7ff7e2e07f30 a1=3e5 a2=3e2 a3=7ff7e1ee06c0 items=0 ppid=1 pid=570 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="chronyd" exe="/usr/sbin/chronyd" subj=system_u:system_r:chronyd_t:s0 key=(null)
type=AVC msg=audit(1491829992.556:12): avc:  denied  { chown } for  pid=570 comm="chronyd" capability=0  scontext=system_u:system_r:chronyd_t:s0 tcontext=system_u:system_r:chronyd_t:s0 tclass=capability
----

Version-Release number of selected component (if applicable):
selinux-policy-3.13.1-102.el7_3.16.noarch
chrony-3.1-1.el7.x86_64

How reproducible:
always

Steps to Reproduce:
1. fresh install 7.3.4
2. reboot

Comment 2 Milos Malik 2017-04-10 13:30:54 UTC
I believe this bug is a duplicate of BZ#1421248.

Comment 3 Lukas Vrabec 2017-04-10 15:30:21 UTC

*** This bug has been marked as a duplicate of bug 1421248 ***