Bug 744318 - SELinux is preventing /usr/lib64/xulrunner-2/plugin-container from using the 'dac_override' capabilities.
Summary: SELinux is preventing /usr/lib64/xulrunner-2/plugin-container from using the ...
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 16
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:6e59ccd713f8ee2f9c3787438f3...
: 888962 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-07 20:17 UTC by Daniel Ferreira Castro
Modified: 2012-12-20 09:45 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-15 13:36:10 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Daniel Ferreira Castro 2011-10-07 20:17:28 UTC
libreport version: 2.0.6
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.1.0-0.rc8.git0.1.fc16.x86_64
reason:         SELinux is preventing /usr/lib64/xulrunner-2/plugin-container from using the 'dac_override' capabilities.
time:           Fri Oct  7 17:17:15 2011

description:
:SELinux is preventing /usr/lib64/xulrunner-2/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                Unknown [ capability ]
:Source                        plugin-containe
:Source Path                   /usr/lib64/xulrunner-2/plugin-container
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           xulrunner-7.0.1-1.fc16
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-36.fc16
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed)
:                              3.1.0-0.rc8.git0.1.fc16.x86_64 #1 SMP Tue Oct 4
:                              03:16:40 UTC 2011 x86_64 x86_64
:Alert Count                   1
:First Seen                    Fri 07 Oct 2011 10:56:17 AM BRT
:Last Seen                     Fri 07 Oct 2011 10:56:17 AM BRT
:Local ID                      ca475cec-3f87-4974-bd5f-ce6908d04fbe
:
:Raw Audit Messages
:type=AVC msg=audit(1317995777.796:605): avc:  denied  { dac_override } for  pid=10976 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(1317995777.796:605): avc:  denied  { dac_read_search } for  pid=10976 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(1317995777.796:605): arch=x86_64 syscall=access success=no exit=EACCES a0=7fff443edd9d a1=4 a2=4 a3=7fff443ea680 items=0 ppid=10878 pid=10976 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-2/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 };
:

Comment 1 Miroslav Grepl 2011-10-10 10:36:09 UTC
Are you able to reproduce it?

If so, could you execute

# auditctl -w /etc/shadow -p w
Try to recreate AVC. Then execute
# ausearch -m avc -ts recent

I have feeling it relates with ~/.pulse.

Comment 2 Miroslav Grepl 2012-12-20 09:45:57 UTC
*** Bug 888962 has been marked as a duplicate of this bug. ***


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