Bug 812566 - SELinux is preventing /usr/lib64/nspluginwrapper/npviewer.bin from 'create' accesses on the file videostats.sxx.
Summary: SELinux is preventing /usr/lib64/nspluginwrapper/npviewer.bin from 'create' a...
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 17
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:7bff88c7b866e834c1382cb8487...
: 909517 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-14 22:38 UTC by Dan
Modified: 2013-02-11 11:27 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-10-17 08:31:24 UTC
Type: ---


Attachments (Terms of Use)

Description Dan 2012-04-14 22:38:29 UTC
libreport version: 2.0.10
executable:     /usr/bin/python2.7
hashmarkername: setroubleshoot
kernel:         3.3.1-5.fc17.x86_64
time:           dim. 15 avril 2012 00:38:08 CEST

description:
:SELinux is preventing /usr/lib64/nspluginwrapper/npviewer.bin from 'create' accesses on the file videostats.sxx.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that npviewer.bin should be allowed create access on the videostats.sxx 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 npviewer.bin /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                unconfined_u:object_r:user_home_dir_t:s0
:Target Objects                videostats.sxx [ file ]
:Source                        npviewer.bin
:Source Path                   /usr/lib64/nspluginwrapper/npviewer.bin
:Port                          <Inconnu>
:Host                          (removed)
:Source RPM Packages           nspluginwrapper-1.4.4-7.fc17.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-114.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.3.1-5.fc17.x86_64 #1 SMP Tue Apr 10
:                              20:42:28 UTC 2012 x86_64 x86_64
:Alert Count                   4
:First Seen                    dim. 15 avril 2012 00:36:31 CEST
:Last Seen                     dim. 15 avril 2012 00:36:43 CEST
:Local ID                      4fb49846-8b8f-4e5e-bb10-9a97119ba116
:
:Raw Audit Messages
:type=AVC msg=audit(1334443003.404:88): avc:  denied  { create } for  pid=1669 comm="npviewer.bin" name="videostats.sxx" scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_dir_t:s0 tclass=file
:
:
:type=SYSCALL msg=audit(1334443003.404:88): arch=x86_64 syscall=open success=no exit=EACCES a0=7fd5004545e0 a1=442 a2=1b6 a3=238 items=0 ppid=1568 pid=1669 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=2 comm=npviewer.bin exe=/usr/lib64/nspluginwrapper/npviewer.bin subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)
:
:Hash: npviewer.bin,mozilla_plugin_t,user_home_dir_t,file,create
:
:audit2allowunable to open /sys/fs/selinux/policy:  Permission denied
:
:
:audit2allow -Runable to open /sys/fs/selinux/policy:  Permission denied
:
:

Comment 1 Miroslav Grepl 2012-04-16 09:10:11 UTC
Where is "videostats.sxx" created? It looks like you will need to do the
restorecon command on your homedir

$ restorecon -R -v ~/

should fix.

If the problem still persists, pleese reopen the bug. Thank you.

Comment 2 Till Maas 2012-07-27 18:15:18 UTC
I just got his problem and setroubleshoot insisted that I cannot report it or add my information to this bug, because this is a duplicate of it. The problem is:
SELinux is preventing /usr/lib64/nspluginwrapper/npviewer.bin from 'create' accesses on the file cert8.db.

It happened when I opend www.ard.de.

Comment 3 Miroslav Grepl 2012-07-30 10:18:35 UTC
Did you try to run restorecon?

Comment 4 Miroslav Grepl 2013-02-11 11:27:15 UTC
*** Bug 909517 has been marked as a duplicate of this bug. ***


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