List of selinux issues

Tim Waugh twaugh at redhat.com
Tue Apr 6 14:02:46 UTC 2004


On Tue, Apr 06, 2004 at 09:57:28AM -0400, Charles R. Anderson wrote:

> On Tue, Apr 06, 2004 at 07:19:50AM -0400, Daniel J Walsh wrote:
> > >Apr  5 21:07:45 ibmlaptop dhclient: can't create 
> > >/var/lib/dhcp/dhclient-eth0.leases: Permission denied
> 
> > Added policy to allow this , but not sure what it is trying todo.  Could 
> > you try it in non-enforcing mode and grab the avc messages.
> 
> dhclient needs to search/read/write /var/lib/dhcp/dhclient* so it can 
> store the client leases there.

The reason this failed in the first place is that the dhcp{c,d}.te
file_context files were messing with m4 macros and getting unexpected
results.  You can fix it with:

chcon system_u:object_r:dhcpd_state_t /var/lib/dhcp/dhcp.leases*

Tim.
*/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-selinux-list/attachments/20040406/6903a8a4/attachment.sig>


More information about the fedora-selinux-list mailing list