Bug 1400023

Summary: AVC starting systemd-resolved
Product: [Fedora] Fedora Reporter: Tom Hughes <tom>
Component: selinux-policy-targetedAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED ERRATA QA Contact: Ben Levenson <benl>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: dwalsh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-08 18:22:34 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 Tom Hughes 2016-11-30 10:07:03 UTC
Description of problem:

I'm getting these AVCs when systemd-networkd starts:

type=AVC msg=audit(1480498761.469:93): avc:  denied  { net_raw } for  pid=628 comm="systemd-resolve" capability=13  scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:system_r:systemd_resolved_t:s0 tclass=capability permissive=1
type=AVC msg=audit(1480498761.469:94): avc:  denied  { name_bind } for  pid=628 comm="systemd-resolve" src=53 scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:object_r:dns_port_t:s0 tclass=udp_socket permissive=1
type=AVC msg=audit(1480498761.469:95): avc:  denied  { net_bind_service } for  pid=628 comm="systemd-resolve" capability=10  scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:system_r:systemd_resolved_t:s0 tclass=capability permissive=1
type=AVC msg=audit(1480498761.469:96): avc:  denied  { name_bind } for  pid=628 comm="systemd-resolve" src=53 scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:object_r:dns_port_t:s0 tclass=tcp_socket permissive=1

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

selinux-policy-targeted-3.13.1-224.fc25.noarch

Comment 1 Fedora Update System 2016-12-05 17:02:04 UTC
selinux-policy-3.13.1-225.1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-e3864b8972

Comment 2 Fedora Update System 2016-12-07 02:25:27 UTC
selinux-policy-3.13.1-225.1.fc25 has been pushed to the Fedora 25 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-2016-e3864b8972

Comment 3 Fedora Update System 2016-12-08 18:22:34 UTC
selinux-policy-3.13.1-225.1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.