Bug 209381 - ifup-eth0 AVC denials when run by xend
Summary: ifup-eth0 AVC denials when run by xend
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks: FC6Blocker
TreeView+ depends on / blocked
 
Reported: 2006-10-04 22:43 UTC by Stephen Tweedie
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version: Current
Clone Of:
Environment:
Last Closed: 2007-08-22 14:14:56 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Stephen Tweedie 2006-10-04 22:43:14 UTC
Description of problem:
Running a xen kernel with xend results in AVC denials from ifup-eth0 trying to
write to dhclient-eth0.conf, when called from the xend scripts.

Version-Release number of selected component (if applicable):
selinux-policy-targeted-2.3.18-3
xen-3.0.2-42

How reproducible:
100%

Steps to Reproduce:
1. yum install xen kernel-xen
2. boot kernel-xen
  
Actual results:
audit(1160001299.098:8): avc:  denied  { write } for  pid=3303 comm="ifup-eth"
name="dhclient-eth0.conf" dev=dm-5 ino=802990
scontext=system_u:system_r:xend_t:s0 tcontext=system_u:object_r:dhcp_etc_t:s0
tclass=file
audit(1160001299.098:9): avc:  denied  { getattr } for  pid=3303 comm="ifup-eth"
name="dhclient-eth0.conf" dev=dm-5 ino=802990
scontext=system_u:system_r:xend_t:s0 tcontext=system_u:object_r:dhcp_etc_t:s0
tclass=file
audit(1160001299.098:10): avc:  denied  { append } for  pid=3303 comm="ifup-eth"
name="dhclient-eth0.conf" dev=dm-5 ino=802990
scontext=system_u:system_r:xend_t:s0 tcontext=system_u:object_r:dhcp_etc_t:s0
tclass=file

Expected results:
No errors.

Additional info

Comment 1 Daniel Walsh 2006-10-05 13:32:21 UTC
Fixed in selinux-policy-2.3.18-4

Comment 2 Daniel Walsh 2007-08-22 14:14:56 UTC
Should be fixed in the current release



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