Bug 538589 - SELinux is preventing chown (unconfined_t) "setattr" rpm_t.
Summary: SELinux is preventing chown (unconfined_t) "setattr" rpm_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:9f3e5412702...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-11-18 21:22 UTC by Isaac Fischer
Modified: 2009-11-18 21:36 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-11-18 21:36:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Isaac Fischer 2009-11-18 21:22:11 UTC
Summary:

SELinux is preventing chown (unconfined_t) "setattr" rpm_t.

Detailed Description:

[SELinux is in permissive mode. This access was not denied.]

SELinux denied access requested by chown. It is not expected that this access is
required by chown 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                system_u:system_r:rpm_t:s0-s0:c0.c1023
Target Objects                fd [ dir ]
Source                        chown
Source Path                   /bin/chown
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           coreutils-7.2-4.fc11
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.12-85.fc11
Selinux Enabled               True
Policy Type                   targeted
MLS Enabled                   True
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.30.8-64.fc11.i586 #1 SMP Fri Sep 25
                              04:30:19 EDT 2009 i686 athlon
Alert Count                   1
First Seen                    Fri 23 Oct 2009 12:34:45 PM CDT
Last Seen                     Fri 23 Oct 2009 12:34:45 PM CDT
Local ID                      3cf32041-78f2-409b-8653-1de0e25d3695
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1256319285.15:246): avc:  denied  { setattr } for  pid=11052 comm="chown" name="fd" dev=proc ino=222013 scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=system_u:system_r:rpm_t:s0-s0:c0.c1023 tclass=dir

node=(removed) type=SYSCALL msg=audit(1256319285.15:246): arch=40000003 syscall=298 success=yes exit=0 a0=8 a1=9e34240 a2=18f a3=18f items=0 ppid=8030 pid=11052 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts0 ses=1 comm="chown" exe="/bin/chown" subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  selinux-policy-3.6.12-85.fc11,catchall,chown,unconfined_t,rpm_t,dir,setattr
audit2allow suggests:

#============= unconfined_t ==============
allow unconfined_t rpm_t:dir setattr;

Comment 1 Daniel Walsh 2009-11-18 21:36:13 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.