Bug 1812540

Summary: pdns map permission on p11-kit
Product: [Fedora] Fedora Reporter: Morten Stevens <mstevens>
Component: selinux-policyAssignee: Zdenek Pytela <zpytela>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dwalsh, grepl.miroslav, lvrabec, plautrba, vmojzis, zpytela
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: 2020-03-11 14:49:27 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 2020-03-11 14:30:59 UTC
Description of problem:

PowerDNS needs map permission on /usr/share/p11-kit/modules/gnome-keyring.module and /usr/share/p11-kit/modules/p11-kit-trust.module

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

Fedora:

pdns-4.2.1-4.fc32.x86_64
selinux-policy-3.14.6-6.fc33.noarch

RHEL 8:
pdns-4.2.1-1.el8.x86_64
selinux-policy-3.14.3-20.el8.noarch

Steps to Reproduce:
1. dnf install pdns
2. systemctl start pdns

Actual results:

Fedora:

type=AVC msg=audit(1583936430.201:250): avc:  denied  { map } for  pid=1648 comm="pdns_server" path="/usr/share/p11-kit/modules/gnome-keyring.module" dev="dm-0" ino=1838908 scontext=system_u:system_r:pdns_t:s0 tcontext=system_u:object_r:usr_t:s0 tclass=file permissive=1

RHEL 8:

type=AVC msg=audit(1583850752.708:45): avc:  denied  { map } for  pid=1665 comm="pdns_server" path="/usr/share/p11-kit/modules/p11-kit-trust.module" dev="dm-0" ino=16949359 scontext=system_u:system_r:pdns_t:s0 tcontext=system_u:object_r:usr_t:s0 tclass=file permissive=0


Additional info:

This bug also affects Fedora 30, Fedora 31 and RHEL8

Comment 1 Zdenek Pytela 2020-03-11 14:49:27 UTC

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