Bug 546287 - SELinux is preventing chcon (unconfined_t) "mac_admin" unconfined_t.
Summary: SELinux is preventing chcon (unconfined_t) "mac_admin" unconfined_t.
Keywords:
Status: CLOSED DUPLICATE of bug 538428
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:58c23dbd6bf...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-10 15:51 UTC by f_a_f12001
Modified: 2009-12-10 16:29 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-12-10 16:29:04 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description f_a_f12001 2009-12-10 15:51:12 UTC
Summary:

SELinux is preventing chcon (unconfined_t) "mac_admin" unconfined_t.

Detailed Description:

SELinux denied access requested by chcon. It is not expected that this access is
required by chcon 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) Or you can disable
SELinux protection altogether. Disabling SELinux protection is not recommended.
Please file a bug report (http://bugzilla.redhat.com/bugzilla/enter_bug.cgi)
against this package.

Additional Information:

Source Context                unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1
                              023
Target Context                unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1
                              023
Target Objects                None [ capability2 ]
Source                        chcon
Source Path                   /usr/bin/chcon
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           coreutils-7.2-1.fc11
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.12-53.fc11
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.29.5-191.fc11.i586
                              #1 SMP Tue Jun 16 23:11:39 EDT 2009 i686 i686
Alert Count                   4
First Seen                    Sun 30 Aug 2009 12:39:00 PM EET
Last Seen                     Sun 30 Aug 2009 12:41:26 PM EET
Local ID                      e1da5cfc-a694-473a-9afb-5dfc6576672e
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1251628886.982:37): avc:  denied  { mac_admin } for  pid=3121 comm="chcon" capability=33 scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=capability2

node=(removed) type=SYSCALL msg=audit(1251628886.982:37): arch=40000003 syscall=226 success=no exit=-22 a0=9fbae80 a1=a7bbbd a2=9fbc240 a3=27 items=0 ppid=2623 pid=3121 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts0 ses=1 comm="chcon" exe="/usr/bin/chcon" subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  selinux-policy-3.6.12-53.fc11,catchall,chcon,unconfined_t,unconfined_t,capability2,mac_admin
audit2allow suggests:

#============= unconfined_t ==============
allow unconfined_t self:capability2 mac_admin;

Comment 1 Daniel Walsh 2009-12-10 16:29:04 UTC

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


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