Bug 828104 - SELinux is preventing npviewer.bin from 'unlink' accesses on the file wakeup.sol.
SELinux is preventing npviewer.bin from 'unlink' accesses on the file wakeup....
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
i686 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Miroslav Grepl
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2012-06-04 05:02 EDT by Khalid El-dehairy
Modified: 2012-06-04 05:13 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-06-04 05:13:26 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Khalid El-dehairy 2012-06-04 05:02:17 EDT
libreport version: 2.0.10
executable:     /usr/bin/python2.7
hashmarkername: setroubleshoot
kernel:         3.3.7-1.fc17.i686
time:           Mon 04 Jun 2012 11:01:42 AM EET

:SELinux is preventing npviewer.bin from 'unlink' accesses on the file wakeup.sol.
:*****  Plugin catchall (100. confidence) suggests  ***************************
:If you believe that npviewer.bin should be allowed unlink access on the wakeup.sol file by default.
:Then you should report this as a bug.
:You can generate a local policy module to allow this access.
: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                wakeup.sol [ file ]
:Source                        npviewer.bin
:Source Path                   npviewer.bin
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-125.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Permissive
:Host Name                     (removed)
:Platform                      Linux (removed) 3.3.7-1.fc17.i686 #1
:                              SMP Mon May 21 22:50:24 UTC 2012 i686 i686
:Alert Count                   1
:First Seen                    Mon 04 Jun 2012 10:51:11 AM EET
:Last Seen                     Mon 04 Jun 2012 10:51:11 AM EET
:Local ID                      5ccf7879-ea16-467c-a028-b166051df99f
:Raw Audit Messages
:type=AVC msg=audit(1338799871.438:131): avc:  denied  { unlink } for  pid=23795 comm="npviewer.bin" name="wakeup.sol" dev="sda3" ino=4596484 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_dir_t:s0 tclass=file
:Hash: npviewer.bin,mozilla_plugin_t,user_home_dir_t,file,unlink
:audit2allowunable to open /sys/fs/selinux/policy:  Permission denied
:audit2allow -Runable to open /sys/fs/selinux/policy:  Permission denied
Comment 1 Miroslav Grepl 2012-06-04 05:13:26 EDT
You will need to run

# restorecon -Rv ~/

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