Bug 799366

Summary: SELinux is preventing /usr/lib/nspluginwrapper/npviewer.bin from 'write' accesses on the None /home/pikmin/.macromedia/Flash_Player/#SharedObjects/TRH8F32F/s.ytimg.com.
Product: [Fedora] Fedora Reporter: dario <dario.soto>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:ff9cdb2fc01440c5fc712746164332f7cde371ccd1e44bab61711a537ce811cf
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-02 19:57:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description dario 2012-03-02 15:32:22 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.3.0-0.rc3.git7.2.fc17.i686.PAE
reason:         SELinux is preventing /usr/lib/nspluginwrapper/npviewer.bin from 'write' accesses on the None /home/pikmin/.macromedia/Flash_Player/#SharedObjects/TRH8F32F/s.ytimg.com.
time:           Fri 02 Mar 2012 11:02:05 AM VET

description:
:SELinux is preventing /usr/lib/nspluginwrapper/npviewer.bin from 'write' accesses on the None /home/pikmin/.macromedia/Flash_Player/#SharedObjects/TRH8F32F/s.ytimg.com.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that npviewer.bin should be allowed write access on the s.ytimg.com <Unknown> 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_t:s0
:Target Objects                /home/pikmin/.macromedia/Flash_Player/#SharedObjec
:                              ts/TRH8F32F/s.ytimg.com [ None ]
: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-89.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.3.0-0.rc3.git7.2.fc17.i686.PAE
:                              #1 SMP Fri Feb 17 18:53:03 UTC 2012 i686 i686
:Alert Count                   1
:First Seen                    Fri 02 Mar 2012 09:57:27 AM VET
:Last Seen                     Fri 02 Mar 2012 09:57:27 AM VET
:Local ID                      60070efa-18fa-4363-b72a-e99bd2faedbb
:
:Raw Audit Messages
:type=AVC msg=audit(1330698447.999:88): avc:  denied  { write } for  pid=2295 comm="npviewer.bin" name="s.ytimg.com" dev="sda1" ino=13598 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=dirnode=(removed) type=SYSCALL msg=audit(1330698447.999:88): arch=40000003 syscall=5 success=no exit=-13 a0=b4eb9650 a1=8442 a2=1b6 a3=9014bd8 items=0 ppid=1995 pid=2295 auid=1001 uid=1001 gid=1001 euid=1001 suid=1001 fsuid=1001 egid=1001 sgid=1001 fsgid=1001 tty=(none) ses=4 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_t,None,write
:
:audit2allow
:
:
:audit2allow -R
:
:

Comment 1 Daniel Walsh 2012-03-02 19:57:50 UTC
restorecon -R -v ~/

You have a labelling problem.