Bug 630043 - SELinux is preventing /bin/cp "setattr" access on resolv.conf.save.
Summary: SELinux is preventing /bin/cp "setattr" access on resolv.conf.save.
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:bed2e20d03f...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-03 15:25 UTC by Walter
Modified: 2010-10-05 21:44 UTC (History)
3 users (show)

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


Attachments (Terms of Use)

Description Walter 2010-09-03 15:25:45 UTC
Summary:

SELinux is preventing /bin/cp "setattr" access on resolv.conf.save.

Detailed Description:

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

SELinux denied access requested by cp. It is not expected that this access is
required by cp 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:net_conf_t:s0
Target Objects                resolv.conf.save [ file ]
Source                        cp
Source Path                   /bin/cp
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           coreutils-7.6-11.fc12
Target RPM Packages           
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 osprey.rexnest 2.6.32.21-166.fc12.i686 #1
                              SMP Fri Aug 27 06:55:23 UTC 2010 i686 i686
Alert Count                   1
First Seen                    Fri 03 Sep 2010 10:14:31 AM CDT
Last Seen                     Fri 03 Sep 2010 10:14:31 AM CDT
Local ID                      8531265c-9718-4705-9ee6-77eb174017f3
Line Numbers                  

Raw Audit Messages            

node=osprey.rexnest type=AVC msg=audit(1283526871.562:13): avc:  denied  { setattr } for  pid=1537 comm="cp" name="resolv.conf.save" dev=dm-0 ino=5267953 scontext=system_u:system_r:hotplug_t:s0 tcontext=system_u:object_r:net_conf_t:s0 tclass=file

node=osprey.rexnest type=SYSCALL msg=audit(1283526871.562:13): arch=40000003 syscall=320 success=yes exit=0 a0=4 a1=0 a2=bf87c070 a3=0 items=0 ppid=1225 pid=1537 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="cp" exe="/bin/cp" subj=system_u:system_r:hotplug_t:s0 key=(null)



Hash String generated from  catchall,cp,hotplug_t,net_conf_t,file,setattr
audit2allow suggests:

#============= hotplug_t ==============
allow hotplug_t net_conf_t:file setattr;

Comment 1 Daniel Walsh 2010-09-03 19:33:50 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.