Bug 907217 - SELinux is preventing /usr/lib64/xulrunner/plugin-container from 'block_suspend' accesses on the capability2 .
Summary: SELinux is preventing /usr/lib64/xulrunner/plugin-container from 'block_suspe...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:0c361e6ce03e1b3e4229cefab3a...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-03 20:17 UTC by Wesklay Vinicius
Modified: 2013-02-11 04:55 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-02-11 04:55:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Wesklay Vinicius 2013-02-03 20:17:06 UTC
Description of problem:
SELinux is preventing /usr/lib64/xulrunner/plugin-container from 'block_suspend' accesses on the capability2 .

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

If você acredita que o plugin-container deva ser permitido acesso de block_suspend em  capability2  por default.
Then você precisa reportar este como um erro.
Você pode gerar um módulo de política local para permitir este acesso.
Do
permitir este acesso agora executando:
# grep Chrome_ChildThr /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                 [ capability2 ]
Source                        Chrome_ChildThr
Source Path                   /usr/lib64/xulrunner/plugin-container
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           xulrunner-18.0-6.fc18.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.11.1-73.fc18.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.7.4-204.fc18.x86_64 #1 SMP Wed
                              Jan 23 16:44:29 UTC 2013 x86_64 x86_64
Alert Count                   3
First Seen                    2013-02-03 03:39:50 BRT
Last Seen                     2013-02-03 17:15:25 BRT
Local ID                      1572edcf-d811-4ac6-92b0-1050666b4be6

Raw Audit Messages
type=AVC msg=audit(1359922525.934:345): avc:  denied  { block_suspend } for  pid=2275 comm="Chrome_ChildThr" capability=36  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=capability2


type=SYSCALL msg=audit(1359922525.934:345): arch=x86_64 syscall=epoll_ctl success=yes exit=0 a0=8 a1=2 a2=b a3=7f0a6fdd19f4 items=0 ppid=2113 pid=2275 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=2 tty=(none) comm=Chrome_ChildThr exe=/usr/lib64/xulrunner/plugin-container subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)

Hash: Chrome_ChildThr,mozilla_plugin_t,mozilla_plugin_t,capability2,block_suspend

audit2allow

#============= mozilla_plugin_t ==============
allow mozilla_plugin_t self:capability2 block_suspend;

audit2allow -R

#============= mozilla_plugin_t ==============
allow mozilla_plugin_t self:capability2 block_suspend;


Additional info:
hashmarkername: setroubleshoot
kernel:         3.7.4-204.fc18.x86_64
type:           libreport

Comment 1 Miroslav Grepl 2013-02-04 11:33:49 UTC
I did dontaudit for this one.

Comment 2 Fedora Update System 2013-02-05 09:24:07 UTC
selinux-policy-3.11.1-76.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/selinux-policy-3.11.1-76.fc18

Comment 3 Fedora Update System 2013-02-08 02:36:34 UTC
Package selinux-policy-3.11.1-76.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.11.1-76.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-2101/selinux-policy-3.11.1-76.fc18
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2013-02-11 04:55:43 UTC
selinux-policy-3.11.1-76.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.


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