Can't open lease database /dev/shm/dhcpd/dhcpd.leases:

Peter Rathlev peter at rathlev.dk
Tue Apr 3 10:10:20 UTC 2012


On Tue, 2012-04-03 at 17:49 +0800, 18905913309 wrote:
> when system reboot,the dhcpd daemon can not start ,and report the
> permission deny error
>  
> but if i log on,and run dhcpd -lf /tmp/dhcpd.leases, i can work! 

Maybe SELinux related? Does it work with "SELINUX=permissive"
in /etc/selinux/config?

If that is the case then take a look at /var/log/audit/audit.log and
maybe use "audit2allow" (from the "policycoreutils-python" package) to
build a local policy.

Redhat has some documentation here:
http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Deployment_Guide/sec-sel-building-policy-module.html#sec-sel-use-audit2allow

-- 
Peter





More information about the dhcp-users mailing list