Comment 22 for bug 39249

Revision history for this message
Edward Fjellskål (ebf0) wrote : Re: (Dapper) can't create /var/lib/dhcp3/dhclient.eth0.leases: Permission denied

Just to say that I see the same problem on two newly installed Hardy Heron x86_64 servers.

May 8 09:39:43 server1 dhclient: DHCPACK of 10.10.10.10 from 10.10.10.1
May 8 09:39:43 server1 dhclient: can't create /var/lib/dhcp3/dhclient.eth0.leases: Permission denied
May 8 09:39:43 server1 dhclient: bound to 10.10.10.10 -- renewal in 140 seconds.

May 8 09:39:00 cia dhclient: DHCPACK of 10.10.10.11 from 10.10.10.1
May 8 09:39:00 cia dhclient: can't create /var/lib/dhcp3/dhclient.eth0.leases: Permission denied
May 8 09:39:00 cia dhclient: bound to 10.10.10.11 -- renewal in 118 seconds.

The process runs with uid dhcp and the /var/lib/dhcp3/ has :
# ls -alh /var/lib/dhcp3/
total 8.0K
drwxr-xr-x 2 root root 4.0K 2008-05-06 14:27 .
drwxr-xr-x 23 root root 4.0K 2008-05-07 19:46 ..
-rw-r--r-- 1 root root 0 2008-05-06 14:27 dhclient.leases

I just cant see that the process ever would be able to write to that dir :)

I chown to dhcp and the "error" messages in my logs goes away (Im happy).

Edward