Bug 847032

Summary: SELinux is preventing pool from 'read' accesses on the directory /usr/lib/modules.
Product: [Fedora] Fedora Reporter: drprcleary
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:82b63bdd192aa9075759fc2ef5b946bd981428e9f9147910b77c1b86ac960bd1
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-10 06:09:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description drprcleary 2012-08-09 13:48:15 UTC
libreport version: 2.0.10
executable:     /usr/bin/python2.7
hashmarkername: setroubleshoot
kernel:         3.5.0-2.fc17.i686
time:           Thu 09 Aug 2012 02:47:52 PM BST

description:
:SELinux is preventing pool from 'read' accesses on the directory /usr/lib/modules.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that pool should be allowed read access on the modules directory 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 pool /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c
:                              0.c1023
:Target Context                system_u:object_r:modules_object_t:s0
:Target Objects                /usr/lib/modules [ dir ]
:Source                        pool
:Source Path                   pool
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           gxine-0.5.907-2.fc17.i686
:Target RPM Packages           filesystem-3-2.fc17.i686
:                              VirtualBox-4.1-4.1.18_78361_fedora17-1.i686
:Policy RPM                    selinux-policy-3.10.0-142.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.5.0-2.fc17.i686 #1 SMP Mon Jul 30
:                              15:41:00 UTC 2012 i686 i686
:Alert Count                   12
:First Seen                    Sat 04 Aug 2012 12:33:47 PM BST
:Last Seen                     Sun 05 Aug 2012 10:24:57 PM BST
:Local ID                      46ba74c4-3c66-4a3c-9f16-998da0c13e95
:
:Raw Audit Messages
:type=AVC msg=audit(1344201897.763:174): avc:  denied  { read } for  pid=13993 comm="pool" name="modules" dev="dm-2" ino=138 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=system_u:object_r:modules_object_t:s0 tclass=dir
:
:
:type=SYSCALL msg=audit(1344201897.763:174): arch=i386 syscall=open success=no exit=EACCES a0=b59184e0 a1=48000 a2=0 a3=0 items=0 ppid=1 pid=13993 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=2 comm=pool exe=/usr/bin/gxine subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)
:
:Hash: pool,mozilla_plugin_t,modules_object_t,dir,read
:
:audit2allow
:
:#============= mozilla_plugin_t ==============
:allow mozilla_plugin_t modules_object_t:dir read;
:
:audit2allow -R
:
:#============= mozilla_plugin_t ==============
:allow mozilla_plugin_t modules_object_t:dir read;
:

Comment 1 Miroslav Grepl 2012-08-10 06:09:39 UTC

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