Bug 522891 - setroubleshoot: SELinux is preventing 10-dhclient (devicekit_power_t) "read" dhcp_etc_t.
Summary: setroubleshoot: SELinux is preventing 10-dhclient (devicekit_power_t) "r...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:d0f26865fdf...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-09-12 01:05 UTC by Brian Harrington
Modified: 2009-09-12 03:08 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-12 03:08:47 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Brian Harrington 2009-09-12 01:05:19 UTC
The following was filed automatically by setroubleshoot:

Summary:

SELinux is preventing 10-dhclient (devicekit_power_t) "read" dhcp_etc_t.

Detailed Description:

SELinux denied access requested by 10-dhclient. It is not expected that this
access is required by 10-dhclient 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) Please file a bug
report (http://bugzilla.redhat.com/bugzilla/enter_bug.cgi) against this package.

Additional Information:

Source Context                system_u:system_r:devicekit_power_t:s0-s0:c0.c1023
Target Context                system_u:object_r:dhcp_etc_t:s0
Target Objects                /etc/dhcp/dhclient.d [ dir ]
Source                        10-dhclient
Source Path                   /bin/bash
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           bash-4.0.28-1.fc12
Target RPM Packages           ntp-4.2.4p7-4.fc12
Policy RPM                    selinux-policy-3.6.26-8.fc12
Selinux Enabled               True
Policy Type                   targeted
MLS Enabled                   True
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.31-0.125.4.2.rc5.git2.fc12.i686 #1 SMP Tue Aug
                              11 21:20:05 EDT 2009 i686 i686
Alert Count                   4
First Seen                    Sun 06 Sep 2009 10:40:31 AM EDT
Last Seen                     Sun 06 Sep 2009 10:57:16 AM EDT
Local ID                      1f9c0ac5-aa77-4012-9c9f-fb81f4664f8d
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1252249036.761:26807): avc:  denied  { read } for  pid=3655 comm="10-dhclient" name="dhclient.d" dev=dm-4 ino=18094 scontext=system_u:system_r:devicekit_power_t:s0-s0:c0.c1023 tcontext=system_u:object_r:dhcp_etc_t:s0 tclass=dir

node=(removed) type=AVC msg=audit(1252249036.761:26807): avc:  denied  { open } for  pid=3655 comm="10-dhclient" name="dhclient.d" dev=dm-4 ino=18094 scontext=system_u:system_r:devicekit_power_t:s0-s0:c0.c1023 tcontext=system_u:object_r:dhcp_etc_t:s0 tclass=dir

node=(removed) type=SYSCALL msg=audit(1252249036.761:26807): arch=40000003 syscall=5 success=yes exit=3 a0=9987938 a1=98800 a2=0 a3=99879b0 items=0 ppid=3410 pid=3655 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="10-dhclient" exe="/bin/bash" subj=system_u:system_r:devicekit_power_t:s0-s0:c0.c1023 key=(null)


audit2allow suggests:

#============= devicekit_power_t ==============
allow devicekit_power_t dhcp_etc_t:dir { read open };

Comment 1 Daniel Walsh 2009-09-12 03:08:47 UTC
Please update to the latest selinux policy, this has been fixed for a while.


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