Bug 1147704 - SELinux is preventing sh from 'read' accesses on the file /usr/sbin/unbound-control.
Summary: SELinux is preventing sh from 'read' accesses on the file /usr/sbin/unbound-c...
Keywords:
Status: CLOSED DUPLICATE of bug 1147705
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 21
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:3de8971458aa5380bc48582843f...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-29 22:40 UTC by Christian Stadelmann
Modified: 2014-10-13 14:05 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-10-13 14:05:21 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Christian Stadelmann 2014-09-29 22:40:38 UTC
Description of problem:
SELinux is preventing sh from 'read' accesses on the file /usr/sbin/unbound-control.

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

If sie denken, dass es sh standardmässig erlaubt sein sollte, read Zugriff auf unbound-control file zu erhalten.
Then sie sollten dies als Fehler melden.
Um diesen Zugriff zu erlauben, können Sie ein lokales Richtlinien-Modul erstellen.
Do
zugriff jetzt erlauben, indem Sie die nachfolgenden Befehle ausführen:
# grep sh /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:named_exec_t:s0
Target Objects                /usr/sbin/unbound-control [ file ]
Source                        sh
Source Path                   sh
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           unbound-1.4.22-5.fc21.x86_64
Policy RPM                    selinux-policy-3.13.1-82.fc21.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.16.3-302.fc21.x86_64 #1 SMP Fri
                              Sep 26 14:27:20 UTC 2014 x86_64 x86_64
Alert Count                   3
First Seen                    2014-09-29 20:49:36 CEST
Last Seen                     2014-09-29 20:49:37 CEST
Local ID                      3bc485dc-2d27-4f1c-b7c3-cbb8de6bd5be

Raw Audit Messages
type=AVC msg=audit(1412016577.526:395): avc:  denied  { read } for  pid=1642 comm="sh" name="unbound-control" dev="dm-0" ino=260590 scontext=system_u:system_r:dnssec_trigger_t:s0 tcontext=system_u:object_r:named_exec_t:s0 tclass=file permissive=0


Hash: sh,dnssec_trigger_t,named_exec_t,file,read

Version-Release number of selected component:
selinux-policy-3.13.1-82.fc21.noarch

Additional info:
reporter:       libreport-2.2.3
hashmarkername: setroubleshoot
kernel:         3.16.3-302.fc21.x86_64
type:           libreport

Comment 1 Miroslav Grepl 2014-10-13 14:05:21 UTC

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


Note You need to log in before you can comment on or make changes to this bug.