Bug 209853 - network root leads to SELinux avc from dhclient-leases file
Summary: network root leads to SELinux avc from dhclient-leases file
Alias: None
Product: Fedora
Classification: Fedora
Component: initscripts   
(Show other bugs)
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Brock Organ
Depends On:
Blocks: FC6Blocker
TreeView+ depends on / blocked
Reported: 2006-10-06 22:23 UTC by Jeremy Katz
Modified: 2014-03-17 03:03 UTC (History)
3 users (show)

Fixed In Version: 8.45.1-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-10-09 17:37:24 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Jeremy Katz 2006-10-06 22:23:00 UTC
When we're doing a boot from NFS or iscsi, we copy the dhclient lease to /dev in
the initrd.  That then gets copied later in ifup-eth from /dev ->
/var/lib/dhclient.  When dhclient then tries to access it, it's unable to as the
file is labeled device_t instead of dhcpc_state_t.

Should we restorecon when we do that move?

Comment 1 Bill Nottingham 2006-10-07 00:38:53 UTC
Yeah, we probably should.

Comment 3 Daniel Walsh 2006-10-07 10:30:55 UTC
If you use install instead of mv, you get this for free.

Comment 4 Jeremy Katz 2006-10-09 14:30:20 UTC
Manually tested on my iscsi guest and it works fine. 

Comment 5 Bill Nottingham 2006-10-09 17:37:24 UTC
Building as 8.45.1-1.

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