Bug 886316

Summary: SELinux is preventing /usr/lib/nspluginwrapper/plugin-config from 'read' accesses on the file /proc/<pid>/status.
Product: [Fedora] Fedora Reporter: va7nt
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:3ff8796d77f5f68325110df7e833195417549f64e4f2b585b06b0554c3203e72
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-18 06:53:07 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 va7nt 2012-12-12 02:08:31 UTC
Description of problem:
SELinux is preventing /usr/lib/nspluginwrapper/plugin-config from 'read' accesses on the file /proc/<pid>/status.

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

If you believe that plugin-config should be allowed read access on the status 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 plugin-config /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:mozilla_plugin_config_t:
                              s0-s0:c0.c1023
Target Context                unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c
                              0.c1023
Target Objects                /proc/<pid>/status [ file ]
Source                        plugin-config
Source Path                   /usr/lib/nspluginwrapper/plugin-config
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           nspluginwrapper-1.4.4-12.fc18.i686
Target RPM Packages           
Policy RPM                    selinux-policy-3.11.1-60.fc18.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.6.9-4.fc18.i686.PAE #1 SMP Tue
                              Dec 4 14:31:04 UTC 2012 i686 i686
Alert Count                   1
First Seen                    2012-12-11 18:02:32 PST
Last Seen                     2012-12-11 18:02:32 PST
Local ID                      96545b54-7bc8-4ec9-a996-42121264ef2f

Raw Audit Messages
type=AVC msg=audit(1355277752.760:326): avc:  denied  { read } for  pid=24022 comm="plugin-config" path="/proc/23961/status" dev="proc" ino=49203 scontext=unconfined_u:unconfined_r:mozilla_plugin_config_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tclass=file


type=AVC msg=audit(1355277752.760:326): avc:  denied  { read } for  pid=24022 comm="plugin-config" path="/proc/23963/status" dev="proc" ino=49303 scontext=unconfined_u:unconfined_r:mozilla_plugin_config_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tclass=file


type=SYSCALL msg=audit(1355277752.760:326): arch=i386 syscall=execve success=yes exit=0 a0=97167e0 a1=9716798 a2=9715f98 a3=9716798 items=0 ppid=24019 pid=24022 auid=1000 uid=1000 gid=1000 euid=0 suid=0 fsuid=0 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=2 comm=plugin-config exe=/usr/lib/nspluginwrapper/plugin-config subj=unconfined_u:unconfined_r:mozilla_plugin_config_t:s0-s0:c0.c1023 key=(null)

Hash: plugin-config,mozilla_plugin_config_t,mozilla_plugin_t,file,read

audit2allow
audit2allow -R

Additional info:
hashmarkername: setroubleshoot
kernel:         3.6.9-4.fc18.i686.PAE
type:           libreport

Comment 1 Miroslav Grepl 2012-12-12 10:02:46 UTC
Fixed in selinux-policy-3.11.1-63.fc18

Comment 2 Fedora Update System 2012-12-17 17:38:42 UTC
selinux-policy-3.11.1-66.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/selinux-policy-3.11.1-66.fc18

Comment 3 Fedora Update System 2012-12-18 06:53:08 UTC
selinux-policy-3.11.1-66.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.