Bug 1322147

Summary: SELinux is preventing dnssec-trigger- from 'execute' accesses on the file /usr/sbin/ldconfig.
Product: [Fedora] Fedora Reporter: Milan Kerslager <milan.kerslager>
Component: dnssec-triggerAssignee: Paul Wouters <pwouters>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: dominick.grift, dwalsh, lvrabec, mgrepl, pj.pandit, plautrba, psimerda, pspacek, pwouters, thozza
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:eb08ea052558679473a3358ff7dfc2e2af0086685b8a44d5eb44cb144e6280fb;VARIANT_ID=workstation;
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-29 22:04:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Milan Kerslager 2016-03-29 21:48:39 UTC
Description of problem:
Trying to (re)start dnssec-triggerd
SELinux is preventing dnssec-trigger- from 'execute' accesses on the file /usr/sbin/ldconfig.

*****  Plugin catchall (100. confidence) suggests   **************************

If you believe that dnssec-trigger- should be allowed execute access on the ldconfig file by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# grep dnssec-trigger- /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:dnssec_trigger_t:s0
Target Context                system_u:object_r:ldconfig_exec_t:s0
Target Objects                /usr/sbin/ldconfig [ file ]
Source                        dnssec-trigger-
Source Path                   dnssec-trigger-
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           glibc-2.22-11.fc23.x86_64
Policy RPM                    selinux-policy-3.13.1-158.11.fc23.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.4.6-300.fc23.x86_64 #1 SMP Wed
                              Mar 16 22:10:37 UTC 2016 x86_64 x86_64
Alert Count                   1
First Seen                    2016-03-29 23:47:37 CEST
Last Seen                     2016-03-29 23:47:37 CEST
Local ID                      062f6095-cb7a-451d-aa18-95633567355e

Raw Audit Messages
type=AVC msg=audit(1459288057.160:655): avc:  denied  { execute } for  pid=23779 comm="dnssec-trigger-" name="ldconfig" dev="dm-0" ino=2367481 scontext=system_u:system_r:dnssec_trigger_t:s0 tcontext=system_u:object_r:ldconfig_exec_t:s0 tclass=file permissive=0


Hash: dnssec-trigger-,dnssec_trigger_t,ldconfig_exec_t,file,execute

Version-Release number of selected component:
selinux-policy-3.13.1-158.11.fc23.noarch

Additional info:
reporter:       libreport-2.6.4
hashmarkername: setroubleshoot
kernel:         4.4.6-300.fc23.x86_64
type:           libreport

Potential duplicate: bug 1240842

Comment 1 Lukas Vrabec 2016-03-29 22:04:49 UTC

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