Bug 886316 - SELinux is preventing /usr/lib/nspluginwrapper/plugin-config from 'read' accesses on the file /proc/<pid>/status.
Summary: SELinux is preventing /usr/lib/nspluginwrapper/plugin-config from 'read' acce...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 18
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:3ff8796d77f5f68325110df7e83...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-12 02:08 UTC by va7nt
Modified: 2012-12-18 06:53 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-18 06:53:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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