Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 120123 - m4 problem with dhcp file contexts
m4 problem with dhcp file contexts
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Daniel Walsh
Depends On:
  Show dependency treegraph
Reported: 2004-04-06 04:20 EDT by Tim Waugh
Modified: 2007-11-30 17:10 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-08-30 18:14:35 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
dhcp-patch (942 bytes, patch)
2004-04-06 04:21 EDT, Tim Waugh
no flags Details | Diff

  None (edit)
Description Tim Waugh 2004-04-06 04:20:20 EDT
Description of problem:
/var/lib/dhcp/dhcp.leases is not getting the right file context.

Version-Release number of selected component (if applicable):

How reproducible:

Patch below.
Comment 1 Tim Waugh 2004-04-06 04:21:14 EDT
Created attachment 99131 [details]
Comment 2 Daniel Walsh 2004-04-06 06:42:05 EDT
Not sure why this breaks but added to policy-1.9.2-13

Comment 3 Tim Waugh 2004-04-06 08:08:02 EDT
It breaks because dhcpc.te is processed before dhcpd.te, and by that
stage 'dhcp' is an m4 macro.  But the regexp for dhcp.leases looks like:


and gets processed to:


..which obviously isn't what we want.

There might be more occurrences of this problem; this is the first
I've found though.

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