Bug 759084 - SELinux is preventing /usr/bin/runcon from using the 'transition' accesses on a process.
Summary: SELinux is preventing /usr/bin/runcon from using the 'transition' accesses on...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 15
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:92c970fe6e6...
: 759089 759091 759107 759108 759112 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-01 11:46 UTC by Miroslav Grepl
Modified: 2011-12-02 10:09 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-02 10:09:14 UTC
Type: ---


Attachments (Terms of Use)

Description Miroslav Grepl 2011-12-01 11:46:00 UTC
SELinux is preventing /usr/bin/runcon from using the 'transition' accesses on a process.

*****  Plugin catchall (100. confidence) suggests  ***************************

If you believe that runcon should be allowed transition access on processes labeled abrt_t 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 runcon /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1
                              023
Target Context                system_u:system_r:abrt_t:s0-s0:c0.c1023
Target Objects                /bin/echo [ process ]
Source                        runcon
Source Path                   /usr/bin/runcon
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           coreutils-8.10-2.fc15
Target RPM Packages           coreutils-8.10-2.fc15
Policy RPM                    selinux-policy-3.9.16-42.fc15
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 2.6.40.6-0.fc15.x86_64 #1 SMP
                              Tue Oct 4 00:39:50 UTC 2011 x86_64 x86_64
Alert Count                   1
First Seen                    Thu 01 Dec 2011 12:44:27 PM CET
Last Seen                     Thu 01 Dec 2011 12:44:27 PM CET
Local ID                      23f2c9a8-14b6-4b97-b2a4-6bdf0647bba6

Raw Audit Messages
type=AVC msg=audit(1322739867.697:96): avc:  denied  { transition } for  pid=2260 comm="runcon" path="/bin/echo" dev=dm-1 ino=786560 scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=system_u:system_r:abrt_t:s0-s0:c0.c1023 tclass=process


type=SYSCALL msg=audit(1322739867.697:96): arch=x86_64 syscall=execve success=no exit=EACCES a0=7fff26a8d1c2 a1=7fff26a8d408 a2=7fff26a8d420 a3=3565481ae0 items=0 ppid=2211 pid=2260 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts0 ses=1 comm=runcon exe=/usr/bin/runcon subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key=(null)

Hash: runcon,unconfined_t,abrt_t,process,transition

audit2allow

#============= unconfined_t ==============
allow unconfined_t abrt_t:process transition;

audit2allow -R

#============= unconfined_t ==============
allow unconfined_t abrt_t:process transition;

Comment 1 Miroslav Grepl 2011-12-02 10:05:46 UTC
*** Bug 759089 has been marked as a duplicate of this bug. ***

Comment 2 Miroslav Grepl 2011-12-02 10:06:13 UTC
*** Bug 759107 has been marked as a duplicate of this bug. ***

Comment 3 Miroslav Grepl 2011-12-02 10:08:03 UTC
*** Bug 759108 has been marked as a duplicate of this bug. ***

Comment 4 Miroslav Grepl 2011-12-02 10:08:20 UTC
*** Bug 759112 has been marked as a duplicate of this bug. ***

Comment 5 Miroslav Grepl 2011-12-02 10:08:50 UTC
*** Bug 759091 has been marked as a duplicate of this bug. ***


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