Bug 888962 - SELinux is preventing /usr/lib64/xulrunner/plugin-container from using the 'dac_override' capabilities.
Summary: SELinux is preventing /usr/lib64/xulrunner/plugin-container from using the 'd...
Keywords:
Status: CLOSED DUPLICATE of bug 744318
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 17
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:6e59ccd713f8ee2f9c3787438f3...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-19 22:09 UTC by bart
Modified: 2012-12-20 09:45 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-12-20 09:45:57 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: type (9 bytes, text/plain)
2012-12-19 22:09 UTC, bart
no flags Details
File: hashmarkername (14 bytes, text/plain)
2012-12-19 22:09 UTC, bart
no flags Details

Description bart 2012-12-19 22:09:14 UTC
Description of problem:
This error came up when playing a HTML 5 video on youtube.

Additional info:
libreport version: 2.0.18
kernel:         3.6.10-2.fc17.x86_64

description:
:SELinux is preventing /usr/lib64/xulrunner/plugin-container from using the 'dac_override' capabilities.
:
:*****  Plugin dac_override (91.4 confidence) suggests  ***********************
:
:If you want to help identify if domain needs this access or you have a file with the wrong permissions on your system
:Then turn on full auditing to get path information about the offending file and generate the error again.
:Do
:
:Turn on full auditing
:# auditctl -w /etc/shadow -p w
:Try to recreate AVC. Then execute
:# ausearch -m avc -ts recent
:If you see PATH record check ownership/permissions on file, and fix it, 
:otherwise report as a bugzilla.
:
:*****  Plugin catchall (9.59 confidence) suggests  ***************************
:
:If you believe that plugin-container should have the dac_override capability 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 plugin-containe /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:unconfined_r:mozilla_plugin_t:s0-s0:c
:                              0.c1023
:Target Objects                 [ capability ]
:Source                        plugin-containe
:Source Path                   /usr/lib64/xulrunner/plugin-container
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           xulrunner-17.0.1-1.fc17.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-161.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.6.10-2.fc17.x86_64 #1 SMP Tue
:                              Dec 11 18:07:34 UTC 2012 x86_64 x86_64
:Alert Count                   2
:First Seen                    2012-12-19 21:58:46 CET
:Last Seen                     2012-12-19 21:59:31 CET
:Local ID                      7a133e6c-ed67-4de5-9361-6878f8f627ab
:
:Raw Audit Messages
:type=AVC msg=audit(1355950771.536:103): avc:  denied  { dac_override } for  pid=2841 comm="plugin-containe" capability=1  scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tclass=capability
:
:
:type=AVC msg=audit(1355950771.536:103): avc:  denied  { dac_read_search } for  pid=2841 comm="plugin-containe" capability=2  scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tclass=capability
:
:
:type=SYSCALL msg=audit(1355950771.536:103): arch=x86_64 syscall=access success=no exit=EACCES a0=7fff2263de7e a1=4 a2=3 a3=fffffffffffffe8a items=0 ppid=2765 pid=2841 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm=plugin-containe exe=/usr/lib64/xulrunner/plugin-container subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)
:
:Hash: plugin-containe,mozilla_plugin_t,mozilla_plugin_t,capability,dac_override
:
:audit2allow
:
:#============= mozilla_plugin_t ==============
:allow mozilla_plugin_t self:capability { dac_read_search dac_override };
:
:audit2allow -R
:
:#============= mozilla_plugin_t ==============
:allow mozilla_plugin_t self:capability { dac_read_search dac_override };
:


Potential duplicate bug: 744318

Comment 1 bart 2012-12-19 22:09:17 UTC
Created attachment 666399 [details]
File: type

Comment 2 bart 2012-12-19 22:09:19 UTC
Created attachment 666400 [details]
File: hashmarkername

Comment 3 Miroslav Grepl 2012-12-20 09:45:57 UTC

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


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