Bug 1612967

Summary: allow pdns webserver on port 8081
Product: [Fedora] Fedora Reporter: Morten Stevens <ms>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 29CC: dwalsh, lvrabec, mgrepl, plautrba, pmoore
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: selinux-policy-3.14.2-34.fc29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-12 02:59:53 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 Morten Stevens 2018-08-06 15:59:25 UTC
Description of problem:

PowerDNS has an integrated webserver on port 8081. Please allow pdns to bind port 8081.

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

selinux-policy-3.14.2-30.fc29.noarch
pdns-4.1.3-2.fc29.x86_64

How reproducible:

Steps to Reproduce:
1. dnf install pdns
2. edit /etc/pdns/pdns.conf and set webserver=yes
3. systemctl start pdns

Actual results:

type=AVC msg=audit(1533472398.411:692): avc:  denied  { name_bind } for  pid=20746 comm="pdns_server" src=8081 scontext=system_u:system_r:pdns_t:s0 tcontext=system_u:object_r:transproxy_port_t:s0 tclass=tcp_socket permissive=0

Expected results:

no avc denied error

Comment 1 Jan Kurik 2018-08-14 11:13:09 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle.
Changing version to '29'.

Comment 2 Fedora Update System 2018-09-11 12:53:23 UTC
selinux-policy-3.14.2-34.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-db240a1726

Comment 3 Fedora Update System 2018-09-12 02:59:53 UTC
selinux-policy-3.14.2-34.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.