Bug 540040

Summary: SELinux is preventing /usr/lib64/chromium-browser/chrome-sandbox "getattr" access on /proc/<pid>.
Product: [Fedora] Fedora Reporter: Łukasz Łucka <lukaszlucka>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:0d2113ed802f1e7676f3335d0ffd6ff3cb3bf9829f6010e40ffc44c61cd6c247
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-11-23 08:19:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Łukasz Łucka 2009-11-22 01:23:31 UTC
Podsumowanie:

SELinux is preventing /usr/lib64/chromium-browser/chrome-sandbox "getattr"
access on /proc/.

Szczegółowy opis:

[chrome-sandbox posiada typ zezwalania (chrome_sandbox_t). Ten dostęp nie
został odmówiony.]

SELinux denied access requested by chrome-sandbox. It is not expected that this
access is required by chrome-sandbox and this access may signal an intrusion
attempt. It is also possible that the specific version or configuration of the
application is causing it to require additional access.

Zezwalanie na dostęp:

You can generate a local policy module to allow this access - see FAQ
(http://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Please file a bug
report.

Dodatkowe informacje:

Kontekst źródłowy          unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c
                              0.c1023
Kontekst docelowy             system_u:system_r:system_dbusd_t:s0-s0:c0.c1023
Obiekty docelowe              /proc/<pid> [ dir ]
Źródło                     chrome-sandbox
Ścieżka źródłowa         /usr/lib64/chromium-browser/chrome-sandbox
Port                          <Nieznane>
Komputer                      (removed)
Źródłowe pakiety RPM       chromium-4.0.252.0-0.1.20091119svn32498.fc12
Docelowe pakiety RPM          
Pakiet RPM polityki           selinux-policy-3.6.32-46.fc12
SELinux jest włączony       True
Typ polityki                  targeted
Tryb wymuszania               Enforcing
Nazwa wtyczki                 catchall
Nazwa komputera               (removed)
Platforma                     Linux (removed) 2.6.31.5-127.fc12.x86_64 #1
                              SMP Sat Nov 7 21:11:14 EST 2009 x86_64 x86_64
Liczba alarmów               2
Po raz pierwszy               nie, 22 lis 2009, 00:11:39
Po raz ostatni                nie, 22 lis 2009, 00:11:40
Lokalny identyfikator         07c5252d-4f27-4894-9f47-61f31d68f458
Liczba wierszy                

Surowe komunikaty audytu      

node=(removed) type=AVC msg=audit(1258845100.105:191): avc:  denied  { getattr } for  pid=11244 comm="chrome-sandbox" path="/proc/1176" dev=proc ino=10611 scontext=unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c0.c1023 tcontext=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 tclass=dir

node=(removed) type=SYSCALL msg=audit(1258845100.105:191): arch=c000003e syscall=4 success=yes exit=4294967424 a0=7ffff38808f0 a1=7ffff3880850 a2=7ffff3880850 a3=1999999999999999 items=0 ppid=11220 pid=11244 auid=500 uid=500 gid=502 euid=0 suid=0 fsuid=0 egid=502 sgid=502 fsgid=502 tty=(none) ses=12 comm="chrome-sandbox" exe="/usr/lib64/chromium-browser/chrome-sandbox" subj=unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  selinux-policy-3.6.32-46.fc12,catchall,chrome-sandbox,chrome_sandbox_t,system_dbusd_t,dir,getattr
audit2allow suggests:

#============= chrome_sandbox_t ==============
allow chrome_sandbox_t system_dbusd_t:dir getattr;

Comment 1 Miroslav Grepl 2009-11-23 08:19:40 UTC

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