libreport version: 2.0.10 executable: /usr/bin/python2.7 hashmarkername: setroubleshoot kernel: 3.3.4-4.fc17.x86_64 time: Mon 07 May 2012 10:07:16 AM EDT description: :SELinux is preventing /usr/lib/nspluginwrapper/npviewer.bin from 'open' accesses on the file C:\nppdf32Log\debuglog.txt. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that npviewer.bin should be allowed open access on the C:\nppdf32Log\debuglog.txt 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 C:\nppdf32Log\debuglog.txt [ file ] :Source npviewer.bin :Source Path /usr/lib/nspluginwrapper/npviewer.bin :Port <Unknown> :Host (removed) :Source RPM Packages nspluginwrapper-1.4.4-7.fc17.i686 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-121.fc17.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.3.4-4.fc17.x86_64 #1 : SMP Fri May 4 17:25:07 UTC 2012 x86_64 x86_64 :Alert Count 10 :First Seen Mon 07 May 2012 06:24:38 AM EDT :Last Seen Mon 07 May 2012 10:05:36 AM EDT :Local ID d27ae911-4893-4fc2-850a-9e52e0c3473c : :Raw Audit Messages :type=AVC msg=audit(1336399536.23:77): avc: denied { open } for pid=1653 comm="npviewer.bin" name="C:\nppdf32Log\debuglog.txt" dev="sda5" ino=134075 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(1336399536.23:77): arch=i386 syscall=fstat per=8 success=no exit=EACCES a0=f777632a a1=441 a2=1b6 a3=90a5208 items=0 ppid=1652 pid=1653 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/lib/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,open : :audit2allowunable to open /sys/fs/selinux/policy: Permission denied : : :audit2allow -Runable to open /sys/fs/selinux/policy: Permission denied : :
Happens everytime Firefox starts. Tried # grep npviewer.bin /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp several times.
Where is C:\nppdf32Log\debuglog.txt located? Have you tried to run restorecon on it?
As far as I can tell there is no C:\nppdf32Log\debuglog.txt which may be part of the problem. Never tried restorecon, does anything needed to be added to it?
It looks like you have some kind of wacky plugin which is attempting to download some Windows file into your homedir. Probably not something you want. Any idea what nppdf32log is? We are not allowing mozilla_plugin_t to create arbitrary data in your homedir, which is what this is trying to do.
Disabled all plugins, alert still happened Removed nspluginwrapper.i686 and alerts stopped. Installed nspluginwrapper.x86_64, no more alerts yet with all plugins enabled. Thanks for the help. Richard
Ok if it happens again, reopen the bug. Whatever was happening SELinux was blocking and that very well good have been a good thing.
I'm seeing this as well, and it's adobe's acrobat reader browser plugin that causes this to happen. it also requires nspluginwrapper.i686
Probably need to open a bug with Adobe, to tell that Fedora does not have a directory,C:\nppdf32Log\
*** Bug 949170 has been marked as a duplicate of this bug. ***