Bug 1276463 - SELinux is preventing mozplugger-upda from 'execute' accesses on the file /etc/ld.so.cache.
SELinux is preventing mozplugger-upda from 'execute' accesses on the file /et...
Status: CLOSED DUPLICATE of bug 1276462
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Miroslav Grepl
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2015-10-29 15:01 EDT by Joachim Frieben
Modified: 2016-01-22 08:35 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2016-01-22 08:35:47 EST
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 Joachim Frieben 2015-10-29 15:01:14 EDT
Description of problem:
I ran firefox in a sandbox using flash.
SELinux is preventing mozplugger-upda from 'execute' accesses on the file /etc/ld.so.cache.

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

If you believe that mozplugger-upda should be allowed execute access on the ld.so.cache 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 mozplugger-upda /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:sandbox_web_t:s0:c286,c6
Target Context                unconfined_u:object_r:ld_so_cache_t:s0
Target Objects                /etc/ld.so.cache [ file ]
Source                        mozplugger-upda
Source Path                   mozplugger-upda
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           glibc-2.22-3.fc23.x86_64 glibc-2.22-3.fc23.i686
Policy RPM                    selinux-policy-3.13.1-152.fc23.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 4.2.3-300.fc23.x86_64 #1 SMP Mon
                              Oct 5 15:42:54 UTC 2015 x86_64 x86_64
Alert Count                   1
First Seen                    2015-10-29 19:55:22 CET
Last Seen                     2015-10-29 19:55:22 CET
Local ID                      5ae84b94-3595-4f97-b57f-40c650c47bc5

Raw Audit Messages
type=AVC msg=audit(1446144922.55:657): avc:  denied  { execute } for  pid=5022 comm="mozplugger-upda" path="/etc/ld.so.cache" dev="dm-0" ino=670433 scontext=unconfined_u:unconfined_r:sandbox_web_t:s0:c286,c640 tcontext=unconfined_u:object_r:ld_so_cache_t:s0 tclass=file permissive=1

Hash: mozplugger-upda,sandbox_web_t,ld_so_cache_t,file,execute

Version-Release number of selected component:

Additional info:
reporter:       libreport-2.6.2
hashmarkername: setroubleshoot
kernel:         4.2.3-300.fc23.x86_64
type:           libreport
Comment 1 Daniel Walsh 2015-10-30 16:31:44 EDT
Should be allowed.  Not sure why this would ever be blocked.
Comment 2 Miroslav Grepl 2016-01-22 08:35:47 EST

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

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