Bug 1584757

Summary: AVC denial appear when joining with freeipa-client
Product: [Fedora] Fedora Reporter: Patrik Kis <pkis>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 28CC: dwalsh, lvrabec, mgrepl, plautrba, pmoore
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: selinux-policy-3.14.2-22.fc29 selinux-policy-3.14.1-32.fc28 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-06-09 20:42:07 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 Patrik Kis 2018-05-31 14:58:11 UTC
Description of problem:
The following AVC denial appeared when joined to ipa server. The join was successful. Not sure if it should be fixed in selinux-policy or elsewhere.

----
type=PROCTITLE msg=audit(05/31/2018 10:49:57.256:624) : proctitle=/usr/sbin/chronyd 
type=SYSCALL msg=audit(05/31/2018 10:49:57.256:624) : arch=x86_64 syscall=sendto success=no exit=EACCES(Permission denied) a0=0x8 a1=0x7ffe7765c2f0 a2=0x68 a3=0x0 items=0 ppid=1 pid=1184 auid=unset uid=chrony gid=chrony euid=chrony suid=chrony fsuid=chrony egid=chrony sgid=chrony fsgid=chrony tty=(none) ses=unset comm=chronyd exe=/usr/sbin/chronyd subj=system_u:system_r:chronyd_t:s0 key=(null) 
type=AVC msg=audit(05/31/2018 10:49:57.256:624) : avc:  denied  { sendto } for  pid=1184 comm=chronyd path=/run/chrony/chronyc.1215.sock scontext=system_u:system_r:chronyd_t:s0 tcontext=system_u:system_r:realmd_t:s0 tclass=unix_dgram_socket permissive=0 
----
type=PROCTITLE msg=audit(05/31/2018 10:49:58.258:625) : proctitle=/usr/sbin/chronyd 
type=SYSCALL msg=audit(05/31/2018 10:49:58.258:625) : arch=x86_64 syscall=sendto success=no exit=EACCES(Permission denied) a0=0x8 a1=0x7ffe7765c2f0 a2=0x68 a3=0x0 items=0 ppid=1 pid=1184 auid=unset uid=chrony gid=chrony euid=chrony suid=chrony fsuid=chrony egid=chrony sgid=chrony fsgid=chrony tty=(none) ses=unset comm=chronyd exe=/usr/sbin/chronyd subj=system_u:system_r:chronyd_t:s0 key=(null) 
type=AVC msg=audit(05/31/2018 10:49:58.258:625) : avc:  denied  { sendto } for  pid=1184 comm=chronyd path=/run/chrony/chronyc.1215.sock scontext=system_u:system_r:chronyd_t:s0 tcontext=system_u:system_r:realmd_t:s0 tclass=unix_dgram_socket permissive=0 
----
type=PROCTITLE msg=audit(05/31/2018 10:50:00.261:626) : proctitle=/usr/sbin/chronyd 
type=SYSCALL msg=audit(05/31/2018 10:50:00.261:626) : arch=x86_64 syscall=sendto success=no exit=EACCES(Permission denied) a0=0x8 a1=0x7ffe7765c2f0 a2=0x68 a3=0x0 items=0 ppid=1 pid=1184 auid=unset uid=chrony gid=chrony euid=chrony suid=chrony fsuid=chrony egid=chrony sgid=chrony fsgid=chrony tty=(none) ses=unset comm=chronyd exe=/usr/sbin/chronyd subj=system_u:system_r:chronyd_t:s0 key=(null) 
type=AVC msg=audit(05/31/2018 10:50:00.261:626) : avc:  denied  { sendto } for  pid=1184 comm=chronyd path=/run/chrony/chronyc.1215.sock scontext=system_u:system_r:chronyd_t:s0 tcontext=system_u:system_r:realmd_t:s0 tclass=unix_dgram_socket permissive=0 

Version-Release number of selected component (if applicable):
selinux-policy-3.14.1-30.fc28.noarch
realmd-0.16.3-12.fc28.x86_64
freeipa-client-4.6.90.pre2-3.fc28.x86_64

How reproducible:
always

Steps to Reproduce:
Just join to an existing server:

# realm -v join --user=admin <ipa-server>
...

Actual results:


Expected results:


Additional info:

Comment 1 Fedora Update System 2018-06-06 13:36:28 UTC
selinux-policy-3.14.1-32.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-743a9247de

Comment 2 Fedora Update System 2018-06-07 13:17:00 UTC
selinux-policy-3.14.1-32.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-743a9247de

Comment 3 Fedora Update System 2018-06-09 20:42:07 UTC
selinux-policy-3.14.1-32.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.