Bug 485936 - denied search comm="dhclient-script" name="network-scripts" scontext=system_u:system_r:dhcpc_t:s0 tcontext=system_u:object_r:net_conf_t:s0
denied search comm="dhclient-script" name="network-scripts" scontext=system...
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
rawhide
All Linux
low Severity medium
: ---
: ---
Assigned To: Daniel Walsh
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2009-02-17 10:49 EST by Orion Poplawski
Modified: 2009-02-18 11:34 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-02-17 11:54:31 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Orion Poplawski 2009-02-17 10:49:17 EST
Description of problem:

Preventing old style /etc/init.d/network from bringing up the network.  Running in permissive mode shows:

type=1400 audit(1234885409.383:3): avc:  denied  { search } for  pid=1890 comm="dhclient-script" name="network-scripts" dev=dm-0 ino=28 scontext=system_u:system_r:dhcpc_t:s0 tcontext=system_u:object_r:net_conf_t:s0 tclass=dir
type=1400 audit(1234885409.439:4): avc:  denied  { getattr } for  pid=1894 comm="dhclient-script" path="/etc/sysconfig/network-scripts" dev=dm-0 ino=28 scontext=system_u:system_r:dhcpc_t:s0 tcontext=system_u:object_r:net_conf_t:s0 tclass=dir
type=1400 audit(1234885413.184:5): avc:  denied  { relabelfrom } for  pid=1933 comm="mv" name="resolv.conf.predhclient.eth0" dev=dm-2 ino=71 scontext=system_u:system_r:dhcpc_t:s0 tcontext=system_u:object_r:net_conf_t:s0 tclass=file
type=1400 audit(1234885413.184:6): avc:  denied  { relabelto } for  pid=1933 comm="mv" name="resolv.conf.predhclient.eth0" dev=dm-2 ino=71 scontext=system_u:system_r:dhcpc_t:s0 tcontext=system_u:object_r:net_conf_t:s0 tclass=file


Version-Release number of selected component (if applicable):
selinux-policy-3.6.6-1.fc11.noarch
Comment 1 Daniel Walsh 2009-02-17 11:54:31 EST
Fixed in selinux-policy-3.6.6-3.fc11.noarch
Comment 2 Orion Poplawski 2009-02-18 11:34:23 EST
I do still see:

type=1400 audit(1234974481.199:4): avc:  denied  { relabelfrom } for  pid=1932 comm="mv" name="resolv.conf.predhclient.eth0" dev=dm-2 ino=71 scontext=system_u:system_r:dhcpc_t:s0 tcontext=system_u:object_r:net_conf_t:s0 tclass=file

Though not appearing to cause any problems.

[root@machias ~]# ls -lZ /etc/resolv*
-rw-r--r--  root root system_u:object_r:net_conf_t:s0  /etc/resolv.conf

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