Bug 789568 - SELinux is preventing /opt/google/chrome/chrome from 'shutdown' accesses on the None .
Summary: SELinux is preventing /opt/google/chrome/chrome from 'shutdown' accesses on t...
Keywords:
Status: CLOSED ERRATA
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:0b009369f09b3513a0fcb958de3...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-11 12:14 UTC by Stanislav Petr
Modified: 2012-03-15 17:04 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-15 17:04:50 UTC
Type: ---


Attachments (Terms of Use)

Description Stanislav Petr 2012-02-11 12:14:15 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.2.5-3.fc16.x86_64
reason:         SELinux is preventing /opt/google/chrome/chrome from 'shutdown' accesses on the None .
time:           Sat 11 Feb 2012 01:13:25 PM CET

description:
:SELinux is preventing /opt/google/chrome/chrome from 'shutdown' accesses on the None .
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that chrome should be allowed shutdown access on the  <Unknown> 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 Chrome_ChildIOT /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c
:                              0.c1023
:Target Context                unconfined_u:unconfined_r:unconfined_execmem_t:s0-
:                              s0:c0.c1023
:Target Objects                 [ None ]
:Source                        Chrome_ChildIOT
:Source Path                   /opt/google/chrome/chrome
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           google-chrome-unstable-19.0.1036.7-121466.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-75.fc16.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.2.5-3.fc16.x86_64 #1 SMP Thu Feb 9
:                              01:24:38 UTC 2012 x86_64 x86_64
:Alert Count                   2
:First Seen                    Sat 11 Feb 2012 01:01:59 PM CET
:Last Seen                     Sat 11 Feb 2012 01:10:57 PM CET
:Local ID                      6a053e47-b603-4141-a992-dcfa3d94f90d
:
:Raw Audit Messages
:type=AVC msg=audit(1328962257.780:61): avc:  denied  { shutdown } for  pid=2250 comm="Chrome_ChildIOT" scontext=unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_execmem_t:s0-s0:c0.c1023 tclass=unix_stream_socketnode=(removed) type=SYSCALL msg=audit(1328962257.780:61): arch=c000003e syscall=48 success=no exit=-13 a0=17 a1=2 a2=0 a3=7fa4205bc5c0 items=0 ppid=2 pid=2250 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=1 comm="Chrome_ChildIOT" exe="/opt/google/chrome/chrome" subj=unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c0.c1023 key=(null)
:
:
:Hash: Chrome_ChildIOT,chrome_sandbox_t,unconfined_execmem_t,None,shutdown
:
:audit2allow
:
:
:audit2allow -R
:
:

Comment 1 Daniel Walsh 2012-02-14 20:50:53 UTC
I have no idea whether we should allow this or dontaudit it.  Basically this is shutting down a unix stream socket that was passed in from the parent process.

Comment 2 Miroslav Grepl 2012-03-15 17:04:50 UTC
Should be fixed in the latest release.


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