Description of problem: SELinux is preventing /usr/lib/nspluginwrapper/npviewer.bin from 'open' accesses on the file /home/jimdaddy/C:\nppdf32Log\debuglog.txt. ***** Plugin restorecon (57.3 confidence) suggests ************************* If you want to fix the label. /home/jimdaddy/C:\nppdf32Log\debuglog.txt default label should be user_home_t. Then you can run restorecon. Do # /sbin/restorecon -v /home/jimdaddy/C:\nppdf32Log\debuglog.txt ***** Plugin mozplugger (43.1 confidence) suggests ************************* If you want to use the plugin package Then you must turn off SELinux controls on the Firefox plugins. Do # setsebool unconfined_mozilla_plugin_transition 0 ***** Plugin catchall (1.06 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 /home/jimdaddy/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-16.fc18.i686 Target RPM Packages Policy RPM selinux-policy-3.11.1-86.fc18.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.8.5-201.fc18.x86_64 #1 SMP Thu Mar 28 21:01:19 UTC 2013 x86_64 x86_64 Alert Count 3 First Seen 2013-04-05 17:34:14 PDT Last Seen 2013-04-06 07:42:37 PDT Local ID 6e3cde59-4420-4912-906c-7feda818db55 Raw Audit Messages type=AVC msg=audit(1365259357.670:347): avc: denied { open } for pid=1999 comm="npviewer.bin" path="/home/jimdaddy/C:\nppdf32Log\debuglog.txt" dev="dm-2" ino=10879245 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(1365259357.670:347): arch=i386 syscall=fstat per=8 success=no exit=EACCES a0=f776993a a1=441 a2=1b6 a3=9dd7b80 items=0 ppid=1581 pid=1999 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 ses=1 tty=(none) 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 audit2allow #============= mozilla_plugin_t ============== #!!!! This avc is allowed in the current policy allow mozilla_plugin_t user_home_dir_t:file open; audit2allow -R require { type user_home_dir_t; type mozilla_plugin_t; class file open; } #============= mozilla_plugin_t ============== #!!!! This avc is allowed in the current policy allow mozilla_plugin_t user_home_dir_t:file open; Additional info: hashmarkername: setroubleshoot kernel: 3.8.5-201.fc18.x86_64 type: libreport Potential duplicate: bug 819541
*** This bug has been marked as a duplicate of bug 819541 ***