4.4.0-beta003 missing dhcp lease directory

You can report problems, make suggestions, about the new BETA versions in this forum. For stuff related to final releases, please post a message in other forums
vanepp
Posts: 85
Joined: 22 Jun 2012, 02:24

4.4.0-beta003 missing dhcp lease directory

Postby vanepp » 10 Oct 2014, 04:47

This is a minor but easily fixable nit!

recreate: wait for a dhcp lease renewal

from /var/log/messages:

Oct 9 19:28:37 sysresccd dhclient: DHCPREQUEST on enp1s6 to 192.168.10.1 port 67
Oct 9 19:28:37 sysresccd dhclient: DHCPACK from 192.168.10.1
Oct 9 19:28:37 sysresccd dhclient: can't create /var/lib/dhclient/dhclient-a1a5b3d2-2e82-bbd6-f878-d26feacc2c7d-enp1s6.lease: No such file or directory
Oct 9 19:28:37 sysresccd dhclient: bound to 192.168.10.103 -- renewal in 14181 seconds.
Oct 9 19:28:37 sysresccd NetworkManager[1957]: <info> (enp1s6): DHCPv4 state changed bound -> renew
Oct 9 19:28:37 sysresccd NetworkManager[1957]: <info> address 192.168.10.103
Oct 9 19:28:37 sysresccd NetworkManager[1957]: <info> prefix 24 (255.255.255.0)

Note it is complaining that the lease directory doesn't exist (which is correct, it doesn't)

Fix

mkdir /mnt/custom/customcd/files/var/lib/dhclient

and it happily creates a lease file there (it doesn't seem to care that it can't in the first place though which
is why this is minor :-)).

Peter Van Epp

Return to “Beta versions (report a bug found in a beta)”

Who is online

Users browsing this forum: No registered users and 2 guests