Bug 1048640 - 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 NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 20
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: 2014-01-06 01:32 UTC by Alfio
Modified: 2014-01-06 20:53 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-06 09:17:17 UTC
Type: ---


Attachments (Terms of Use)

Description Alfio 2014-01-06 01:32:50 UTC
Description of problem:
SELinux is preventing /usr/lib/nspluginwrapper/npviewer.bin from 'append' accesses on the file C:\nppdf32Log\debuglog.txt.

*****  Plugin mozplugger (99.1 confidence) suggests   ************************

If usare il pacchetto plugin
Then disabilitare i controlli SELinux sui plugin di Firefox.
Do
# setsebool -P unconfined_mozilla_plugin_transition 0

*****  Plugin catchall (1.81 confidence) suggests   **************************

If si crede che npviewer.bin dovrebbe avere possibilità di accesso append sui C:\nppdf32Log\debuglog.txt file in modo predefinito.
Then si dovrebbe riportare il problema come bug.
E' possibile generare un modulo di politica locale per consentire questo accesso.
Do
consentire questo accesso per il momento eseguendo:
# 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-19.fc20.i686
Target RPM Packages           
Policy RPM                    selinux-policy-3.12.1-106.fc20.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 3.11.10-301.fc20.x86_64 #1 SMP Thu
                              Dec 5 14:01:17 UTC 2013 x86_64 x86_64
Alert Count                   19
First Seen                    2014-01-05 23:42:34 CET
Last Seen                     2014-01-06 02:23:24 CET
Local ID                      d4fb931b-d18d-4bdb-adf7-9bef839ba207

Raw Audit Messages
type=AVC msg=audit(1388971404.4:532): avc:  denied  { append } for  pid=2349 comm="npviewer.bin" name="C:\nppdf32Log\debuglog.txt" dev="sda11" ino=393536 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=AVC msg=audit(1388971404.4:532): avc:  denied  { open } for  pid=2349 comm="npviewer.bin" path="/home/acaruso/C:\nppdf32Log\debuglog.txt" dev="sda11" ino=393536 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(1388971404.4:532): arch=i386 syscall=fstat per=8 success=yes exit=ECHILD a0=f77a293a a1=441 a2=1b6 a3=95ee060 items=0 ppid=2222 pid=2349 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,append

Additional info:
reporter:       libreport-2.1.10
hashmarkername: setroubleshoot
kernel:         3.11.10-301.fc20.x86_64
type:           libreport

Potential duplicate: bug 827742

Comment 1 Miroslav Grepl 2014-01-06 09:17:17 UTC
Please execute

restorecon -R -v /home/acaruso

to fix labeling. Were you running in permissive mode if this file was created?

Comment 2 Alfio 2014-01-06 20:53:44 UTC
Thanks for the answere!

I try to install Adobe reader for on line application form.
 Than I've been install it following the guide from "Readme.txt" in Adobe reader browser plugin.


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