Bug 638136

Summary: SELinux is preventing /bin/bash "execute_no_trans" access on /lib/upstart/shutdown.
Product: [Fedora] Fedora Reporter: Mads Kiilerich <mads>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 14CC: dwalsh, mads, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:e94b53081d09a1421831ecb55cca12aefcbde787463d03b6c1888e3cc02807ae
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-09-28 14:49:32 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 Mads Kiilerich 2010-09-28 11:21:35 UTC
Summary:

SELinux is preventing /bin/bash "execute_no_trans" access on
/lib/upstart/shutdown.

Detailed Description:

SELinux denied access requested by ck-system-resta. It is not expected that this
access is required by ck-system-resta 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 (removed) 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:consolekit_t:s0-s0:c0.c1023
Target Context                system_u:object_r:lib_t:s0
Target Objects                /lib/upstart/shutdown [ file ]
Source                        ck-system-resta
Source Path                   /bin/bash
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           bash-4.1.7-3.fc14
Target RPM Packages           upstart-0.6.5-9.fc14
Policy RPM                    selinux-policy-3.9.5-7.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.34.7-56.fc13.i686.PAE #1 SMP Wed
                              Sep 15 03:27:15 UTC 2010 i686 i686
Alert Count                   1
First Seen                    Tue 28 Sep 2010 01:18:37 PM CEST
Last Seen                     Tue 28 Sep 2010 01:18:37 PM CEST
Local ID                      dc35ba1e-e7ed-4c37-8f99-893107346890
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1285672717.299:474): avc:  denied  { execute_no_trans } for  pid=6233 comm="ck-system-resta" path="/lib/upstart/shutdown" dev=dm-0 ino=575000 scontext=system_u:system_r:consolekit_t:s0-s0:c0.c1023 tcontext=system_u:object_r:lib_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1285672717.299:474): arch=40000003 syscall=11 success=no exit=-13 a0=9b88f58 a1=9b87d68 a2=9b87a38 a3=9b87d68 items=0 ppid=6232 pid=6233 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="ck-system-resta" exe="/bin/bash" subj=system_u:system_r:consolekit_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  catchall,ck-system-resta,consolekit_t,lib_t,file,execute_no_trans
audit2allow suggests:

#============= consolekit_t ==============
allow consolekit_t lib_t:file execute_no_trans;

Comment 1 Daniel Walsh 2010-09-28 14:49:32 UTC

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