Bug 626115 - SELinux is preventing /bin/bash "getattr" access on /bin/bash.
Summary: SELinux is preventing /bin/bash "getattr" access on /bin/bash.
Keywords:
Status: CLOSED DUPLICATE of bug 626114
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 13
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:5cd4760a36e...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-22 01:27 UTC by Daniel Stripes
Modified: 2010-08-22 22:25 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-08-22 22:25:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Daniel Stripes 2010-08-22 01:27:40 UTC
Summary:

SELinux is preventing /bin/bash "getattr" access on /bin/bash.

Detailed Description:

[sh has a permissive type (boinc_project_t). This access was not denied.]

SELinux denied access requested by sh. It is not expected that this access is
required by sh 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                system_u:system_r:boinc_project_t:s0
Target Context                system_u:object_r:shell_exec_t:s0
Target Objects                /bin/bash [ file ]
Source                        sh
Source Path                   /bin/bash
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           bash-4.1.7-1.fc13
Target RPM Packages           bash-4.1.7-1.fc13
Policy RPM                    selinux-policy-3.7.19-47.fc13
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.33.6-147.2.4.fc13.x86_64
                              #1 SMP Fri Jul 23 17:14:44 UTC 2010 x86_64 x86_64
Alert Count                   1
First Seen                    Sat 21 Aug 2010 09:24:34 PM EDT
Last Seen                     Sat 21 Aug 2010 09:24:34 PM EDT
Local ID                      5df0de19-e0c4-4ad4-8c2f-b20011fa1d99
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1282440274.770:47323): avc:  denied  { getattr } for  pid=11465 comm="sh" path="/bin/bash" dev=dm-4 ino=1049138 scontext=system_u:system_r:boinc_project_t:s0 tcontext=system_u:object_r:shell_exec_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1282440274.770:47323): arch=c000003e syscall=4 success=yes exit=0 a0=2895060 a1=7fff3773f050 a2=7fff3773f050 a3=8 items=0 ppid=11464 pid=11465 auid=4294967295 uid=491 gid=472 euid=491 suid=491 fsuid=491 egid=472 sgid=472 fsgid=472 tty=(none) ses=4294967295 comm="sh" exe="/bin/bash" subj=system_u:system_r:boinc_project_t:s0 key=(null)



Hash String generated from  catchall,sh,boinc_project_t,shell_exec_t,file,getattr
audit2allow suggests:

#============= boinc_project_t ==============
allow boinc_project_t shell_exec_t:file getattr;

Comment 1 Miroslav Grepl 2010-08-22 22:25:27 UTC

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


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