Red Hat Bugzilla – Bug 120123
m4 problem with dhcp file contexts
Last modified: 2007-11-30 17:10:39 EST
Description of problem:
/var/lib/dhcp/dhcp.leases is not getting the right file context.
Version-Release number of selected component (if applicable):
Created attachment 99131 [details]
Not sure why this breaks but added to policy-1.9.2-13
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.