I'm also still getting this with Gutsy Server log file:- Jan 4 18:51:54 brown dhclient: DHCPREQUEST on eth0 to 192.168.0.1 port 67 Jan 4 18:51:54 brown dhclient: DHCPACK from 192.168.0.1 Jan 4 18:51:54 brown dhclient: can't create /var/lib/dhcp3/dhclient.eth0.leases: Permission denied Jan 4 18:51:54 brown dhclient: bound to 192.168.0.2 -- renewal in 293 seconds.
[EMAIL PROTECTED]:/etc# ls -lsa /var/lib/dhcp3/ total 8 4 drwxr-xr-x 2 root root 4096 2007-11-30 22:11 . 4 drwxr-xr-x 30 root root 4096 2008-01-04 17:25 .. 0 -rw-r--r-- 1 root root 0 2007-11-30 22:11 dhclient.leases Both dhcp server and dhcp client need to write to their leases files and to be able to create new files in the leases directory. My log file references file dhclient.eth0.leases, not the dhclient.leases file that already exists in the folder. The difference in name may be due to the system having 2 network cards. I'm not running a dhcp server, but could that also require multiple leases files. Would it be sensible to add user dhcp to group dhcpd and vice-versa. Then setting the directory group to either dhcp or dhcpd and enabling group-write would allow both daemons to create files in it. No, but I will leave above paragraph in. 2 different daemons running under 2 different users doing 2 different (if related jobs) should really be using 2 different /var/lib directories, each owned by the associated user and group. Files created when root also need their ownership tweaking. -- (Dapper) can't create /var/lib/dhcp3/dhclient.eth0.leases: Permission denied https://bugs.launchpad.net/bugs/39249 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
