Bug 909477 - SELinux is preventing /usr/lib/nspluginwrapper/npviewer.bin from 'append' accesses on the file C:\nppdf32Log\debuglog.txt.
Summary: SELinux is preventing /usr/lib/nspluginwrapper/npviewer.bin from 'append' acc...
Keywords:
Status: CLOSED DUPLICATE of bug 827742
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:767461e1616cf915f616a39cadd...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-08 21:23 UTC by peterdiver
Modified: 2013-02-11 11:22 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-02-11 11:22:47 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description peterdiver 2013-02-08 21:23:23 UTC
Description of problem:
as i start firefox, it allways happens
SELinux is preventing /usr/lib/nspluginwrapper/npviewer.bin from 'append' accesses on the file C:\nppdf32Log\debuglog.txt.

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

If you believe that npviewer.bin should be allowed append 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-12.fc18.i686
Target RPM Packages           
Policy RPM                    selinux-policy-3.11.1-74.fc18.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.7.5-201.fc18.x86_64 #1 SMP Mon
                              Jan 28 19:54:41 UTC 2013 x86_64 x86_64
Alert Count                   3
First Seen                    2013-02-08 23:17:55 EET
Last Seen                     2013-02-08 23:18:04 EET
Local ID                      9afc62a4-e6e7-47c4-abc2-3d968a205e0c

Raw Audit Messages
type=AVC msg=audit(1360358284.22:342): avc:  denied  { append } for  pid=2201 comm="npviewer.bin" name="C:\nppdf32Log\debuglog.txt" dev="dm-3" ino=4719782 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(1360358284.22:342): arch=i386 syscall=fstat per=8 success=no exit=EACCES a0=f763a93a a1=441 a2=1b6 a3=9b928b0 items=0 ppid=2052 pid=2201 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 ses=2 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,append

audit2allow

#============= mozilla_plugin_t ==============
allow mozilla_plugin_t user_home_dir_t:file append;

audit2allow -R

#============= mozilla_plugin_t ==============
allow mozilla_plugin_t user_home_dir_t:file append;


Additional info:
hashmarkername: setroubleshoot
kernel:         3.7.5-201.fc18.x86_64
type:           libreport

Potential duplicate: bug 827742

Comment 1 Miroslav Grepl 2013-02-11 11:22:47 UTC
Please execute

# restorecon -R -v /home

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


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