Bug 630038 - SELinux is preventing /sbin/setfiles "read open" access on /sbin/setfiles.
Summary: SELinux is preventing /sbin/setfiles "read open" access on /sbin/setfiles.
Keywords:
Status: CLOSED DUPLICATE of bug 630032
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:97606ee1381...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-03 15:22 UTC by Walter
Modified: 2010-10-05 21:46 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-09-03 19:32:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Walter 2010-09-03 15:22:40 UTC
Summary:

SELinux is preventing /sbin/setfiles "read open" access on /sbin/setfiles.

Detailed Description:

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

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

Additional Information:

Source Context                system_u:system_r:hotplug_t:s0
Target Context                system_u:object_r:setfiles_exec_t:s0
Target Objects                /sbin/setfiles [ file ]
Source                        restorecon
Source Path                   /sbin/setfiles
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           policycoreutils-2.0.82-4.fc12
Target RPM Packages           policycoreutils-2.0.82-4.fc12
Policy RPM                    selinux-policy-3.6.32-121.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.32.21-166.fc12.i686 #1
                              SMP Fri Aug 27 06:55:23 UTC 2010 i686 i686
Alert Count                   2
First Seen                    Fri 03 Sep 2010 10:14:31 AM CDT
Last Seen                     Fri 03 Sep 2010 10:14:31 AM CDT
Local ID                      28bcc028-d501-464b-9f85-6d77b2e6a84d
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1283526871.571:17): avc:  denied  { read open } for  pid=1544 comm="ifup-post" name="setfiles" dev=dm-0 ino=1065112 scontext=system_u:system_r:hotplug_t:s0 tcontext=system_u:object_r:setfiles_exec_t:s0 tclass=file

node=(removed) type=AVC msg=audit(1283526871.571:17): avc:  denied  { execute_no_trans } for  pid=1544 comm="ifup-post" path="/sbin/setfiles" dev=dm-0 ino=1065112 scontext=system_u:system_r:hotplug_t:s0 tcontext=system_u:object_r:setfiles_exec_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1283526871.571:17): arch=40000003 syscall=11 success=yes exit=0 a0=8bede58 a1=8bc38a0 a2=8bc5270 a3=8bc38a0 items=0 ppid=1225 pid=1544 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="restorecon" exe="/sbin/setfiles" subj=system_u:system_r:hotplug_t:s0 key=(null)



Hash String generated from  catchall,restorecon,hotplug_t,setfiles_exec_t,file,read,open
audit2allow suggests:

#============= hotplug_t ==============
allow hotplug_t setfiles_exec_t:file { read open execute_no_trans };

Comment 1 Daniel Walsh 2010-09-03 19:32:09 UTC

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


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