Bug 524501 - setroubleshoot: SELinux is preventing /usr/bin/runcon "setexec" access.
Summary: setroubleshoot: SELinux is preventing /usr/bin/runcon "setexec" access.
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Linux
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
Whiteboard: setroubleshoot_trace_hash:cf77aa1fdc2...
Depends On:
TreeView+ depends on / blocked
Reported: 2009-09-20 21:10 UTC by Eric Paris
Modified: 2009-09-20 21:11 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2009-09-20 21:11:09 UTC

Attachments (Terms of Use)

Description Eric Paris 2009-09-20 21:10:05 UTC
The following was filed automatically by setroubleshoot:


SELinux is preventing /usr/bin/runcon "setexec" access.

Detailed Description:

[runcon has a permissive type (staff_t). This access was not denied.]

SELinux denied access requested by runcon. It is not expected that this access
is required by runcon 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://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Please file a bug

Additional Information:

Source Context                staff_u:staff_r:staff_t:s0-s0:c0.c1023
Target Context                staff_u:staff_r:staff_t:s0-s0:c0.c1023
Target Objects                None [ process ]
Source                        runcon
Source Path                   /usr/bin/runcon
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           coreutils-7.6-2.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-6.fc12
Selinux Enabled               True
Policy Type                   targeted
MLS Enabled                   True
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.31-33.fc12.x86_64 #1 SMP Thu Sep 17 15:40:43
                              EDT 2009 x86_64 x86_64
Alert Count                   1
First Seen                    Sun 20 Sep 2009 05:09:08 PM EDT
Last Seen                     Sun 20 Sep 2009 05:09:08 PM EDT
Local ID                      d5ccdd7d-4030-4346-9659-9b6fe4161f79
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1253480948.275:58): avc:  denied  { setexec } for  pid=5749 comm="runcon" scontext=staff_u:staff_r:staff_t:s0-s0:c0.c1023 tcontext=staff_u:staff_r:staff_t:s0-s0:c0.c1023 tclass=process

node=(removed) type=SYSCALL msg=audit(1253480948.275:58): arch=c000003e syscall=1 success=yes exit=0 a0=3 a1=9a8120 a2=1d a3=1f items=0 ppid=2459 pid=5749 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=pts1 ses=1 comm="runcon" exe="/usr/bin/runcon" subj=staff_u:staff_r:staff_t:s0-s0:c0.c1023 key=(null)

audit2allow suggests:

#============= staff_t ==============
allow staff_t self:process setexec;

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