Bug 590849 - SELinux is preventing /usr/lib64/firefox-3.6/firefox "getattr" access on /boot.
Summary: SELinux is preventing /usr/lib64/firefox-3.6/firefox "getattr" access on...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 13
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:7bdc851ff1d...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-05-10 19:28 UTC by Amit Shah
Modified: 2010-05-18 21:47 UTC (History)
2 users (show)

Fixed In Version: selinux-policy-3.7.19-15.fc13
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-05-18 21:47:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Amit Shah 2010-05-10 19:28:32 UTC
Summary:

SELinux is preventing /usr/lib64/firefox-3.6/firefox "getattr" access on /boot.

Detailed Description:

SELinux denied access requested by firefox. It is not expected that this access
is required by firefox 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.

Allowing Access:

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

Additional Information:

Source Context                unconfined_u:unconfined_r:sandbox_web_client_t:s0:
                              c490,c964
Target Context                system_u:object_r:boot_t:s0
Target Objects                /boot [ dir ]
Source                        firefox
Source Path                   /usr/lib64/firefox-3.6/firefox
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           firefox-3.6.3-4.fc13
Target RPM Packages           filesystem-2.4.31-1.fc13
Policy RPM                    selinux-policy-3.7.19-13.fc13
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.33.3-85.fc13.x86_64 #1 SMP Thu May 6 18:09:49
                              UTC 2010 x86_64 x86_64
Alert Count                   1
First Seen                    Tue 11 May 2010 12:51:22 AM IST
Last Seen                     Tue 11 May 2010 12:51:22 AM IST
Local ID                      86172702-60b9-4a3a-abcf-1dc697757668
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1273519282.490:27310): avc:  denied  { getattr } for  pid=26513 comm="firefox" path="/boot" dev=sda1 ino=2 scontext=unconfined_u:unconfined_r:sandbox_web_client_t:s0:c490,c964 tcontext=system_u:object_r:boot_t:s0 tclass=dir

node=(removed) type=SYSCALL msg=audit(1273519282.490:27310): arch=c000003e syscall=4 success=no exit=-13 a0=7fce0f2ed00a a1=7fff09a52910 a2=7fff09a52910 a3=3 items=0 ppid=26496 pid=26513 auid=500 uid=500 gid=501 euid=500 suid=500 fsuid=500 egid=501 sgid=501 fsgid=501 tty=(none) ses=1 comm="firefox" exe="/usr/lib64/firefox-3.6/firefox" subj=unconfined_u:unconfined_r:sandbox_web_client_t:s0:c490,c964 key=(null)



Hash String generated from  catchall,firefox,sandbox_web_client_t,boot_t,dir,getattr
audit2allow suggests:

#============= sandbox_web_client_t ==============
allow sandbox_web_client_t boot_t:dir getattr;

Comment 1 Daniel Walsh 2010-05-11 13:58:24 UTC
Fixed in selinux-policy-3.7.19-15.fc13.noarch

Comment 2 Fedora Update System 2010-05-11 21:17:14 UTC
selinux-policy-3.7.19-15.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/selinux-policy-3.7.19-15.fc13

Comment 3 Fedora Update System 2010-05-12 12:19:58 UTC
selinux-policy-3.7.19-15.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update selinux-policy'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/selinux-policy-3.7.19-15.fc13

Comment 4 Fedora Update System 2010-05-15 20:22:13 UTC
selinux-policy-3.7.19-15.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update selinux-policy'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/selinux-policy-3.7.19-15.fc13

Comment 5 Fedora Update System 2010-05-18 21:46:44 UTC
selinux-policy-3.7.19-15.fc13 has been pushed to the Fedora 13 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.