Bug 1062902 - SELinux is preventing /usr/lib/nspluginwrapper/plugin-config from 'read' accesses on the file /opt/jre1.7.0_45-i586/lib/i386/libnpjp2.so.
Summary: SELinux is preventing /usr/lib/nspluginwrapper/plugin-config from 'read' acce...
Keywords:
Status: CLOSED DUPLICATE of bug 846489
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 20
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:8ed7d76e35e338642186ccc5ccb...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-08 12:34 UTC by Merwan
Modified: 2014-02-11 17:23 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-02-11 17:23:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Merwan 2014-02-08 12:34:36 UTC
Description of problem:
SELinux is preventing /usr/lib/nspluginwrapper/plugin-config from 'read' accesses on the file /opt/jre1.7.0_45-i586/lib/i386/libnpjp2.so.

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

If you believe that plugin-config should be allowed read access on the libnpjp2.so 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:object_r:admin_home_t:s0
Target Objects                /opt/jre1.7.0_45-i586/lib/i386/libnpjp2.so [ file
                              ]
Source                        plugin-config
Source Path                   /usr/lib/nspluginwrapper/plugin-config
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           nspluginwrapper-1.4.4-19.fc20.i686
Target RPM Packages           
Policy RPM                    selinux-policy-3.12.1-119.fc20.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 3.12.9-301.fc20.i686 #1 SMP Wed
                              Jan 29 16:23:03 UTC 2014 i686 i686
Alert Count                   1
First Seen                    2014-02-08 13:25:38 CET
Last Seen                     2014-02-08 13:25:38 CET
Local ID                      8c97773e-b9b9-490c-975e-f004e47d0dfc

Raw Audit Messages
type=AVC msg=audit(1391862338.996:363): avc:  denied  { read } for  pid=1448 comm="plugin-config" name="libnpjp2.so" dev="sda1" ino=546788 scontext=unconfined_u:unconfined_r:mozilla_plugin_config_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:admin_home_t:s0 tclass=file


type=AVC msg=audit(1391862338.996:363): avc:  denied  { open } for  pid=1448 comm="plugin-config" path="/opt/jre1.7.0_45-i586/lib/i386/libnpjp2.so" dev="sda1" ino=546788 scontext=unconfined_u:unconfined_r:mozilla_plugin_config_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:admin_home_t:s0 tclass=file


type=SYSCALL msg=audit(1391862338.996:363): arch=i386 syscall=open success=yes exit=EINTR a0=bfc598a5 a1=0 a2=80495fb a3=bfc565a8 items=0 ppid=1446 pid=1448 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 ses=1 tty=(none) 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,admin_home_t,file,read

Additional info:
reporter:       libreport-2.1.12
hashmarkername: setroubleshoot
kernel:         3.12.9-301.fc20.i686
type:           libreport

Potential duplicate: bug 846489

Comment 1 Miroslav Grepl 2014-02-11 17:23:08 UTC

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


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