dhcp6.leases permission denied

Peter Rathlev peter at rathlev.dk
Tue May 3 06:38:38 UTC 2011

On Tue, 2011-05-03 at 11:41 +0900, 김무성 wrote:
> Can't open lease database /var/lib/dhcp/dhcpd6.leases: Permission
> denied --

Could you have some kind of (misconfigured) SELinux (or equivalent)
blocking the access? I'm not familiar with Ubuntu, but SELinux would log
to something like /var/log/audit/audit.log on Redhat systems at least.

Assuming it's SELinux, what does "ls -Z /var/lib/dhcp" say? Does running
"setenforce 0" as root help you start the daemon? (Enable it again with
"setenforce 1".)

And by the way: Don't make the file world writeable (0666) unless you're
looking for security related trouble. Default 0644 is fine, and you
could even remove world read if you wanted.


More information about the dhcp-users mailing list