Bug 796963

Summary: SELinux is preventing /bin/bash from 'transition' accesses on the None /bin/bash.
Product: [Fedora] Fedora Reporter: Lukas Chroustovsky <lukas.chroustovsky>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:17bed7ae62dec23982c17fe18fdeb5fb9b9827ebb3bae51b43c9cd6d14d4dd6f
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-15 17:24:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Lukas Chroustovsky 2012-02-23 23:06:33 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.2.6-3.fc16.x86_64
reason:         SELinux is preventing /bin/bash from 'transition' accesses on the None /bin/bash.
time:           Pá 24. únor 2012, 00:05:58 CET

description:
:SELinux is preventing /bin/bash from 'transition' accesses on the None /bin/bash.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that bash should be allowed transition access on the bash <Neznámé> 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 sh /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:bootloader_t:s0-s0:c0.c1023
:Target Context                system_u:system_r:rpm_script_t:s0-s0:c0.c1023
:Target Objects                /bin/bash [ None ]
:Source                        sh
:Source Path                   /bin/bash
:Port                          <Neznámé>
:Host                          (removed)
:Source RPM Packages           bash-4.2.20-1.fc16.x86_64
:Target RPM Packages           bash-4.2.20-1.fc16.x86_64
: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.6-3.fc16.x86_64 #1 SMP Mon Feb 13
:                              20:35:42 UTC 2012 x86_64 x86_64
:Alert Count                   2
:First Seen                    St 15. únor 2012, 16:33:58 CET
:Last Seen                     Pá 24. únor 2012, 00:04:55 CET
:Local ID                      d21eda67-7b09-4842-bc51-700140049913
:
:Raw Audit Messages
:type=AVC msg=audit(1330038295.17:424): avc:  denied  { transition } for  pid=14865 comm="rpm" path="/bin/bash" dev=dm-1 ino=2359327 scontext=system_u:system_r:bootloader_t:s0-s0:c0.c1023 tcontext=system_u:system_r:rpm_script_t:s0-s0:c0.c1023 tclass=processnode=(removed) type=SYSCALL msg=audit(1330038295.017:424): arch=c000003e syscall=59 success=yes exit=0 a0=1f58030 a1=1e1f520 a2=7fff3c889988 a3=20 items=0 ppid=14864 pid=14865 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="sh" exe="/bin/bash" subj=system_u:system_r:rpm_script_t:s0-s0:c0.c1023 key=(null)
:
:
:Hash: sh,bootloader_t,rpm_script_t,None,transition
:
:audit2allow
:
:
:audit2allow -R
:
:

Comment 1 Daniel Walsh 2012-02-24 19:09:15 UTC
restorecon -R -v /usr/bin /bin /sbin /usr/sbin