I've got tons of errors in my messages log that look like this: May 15 01:59:53 viktor dhclient: can't create /var/lib/dhclient/dhclient-wlan0.leases: No such file or directory The solution seems simple: have the ebuild create that directory (/var/lib/dhclient/). The init script specifies that file as the lease file (the -lf argument), so the containing directory should probably be created before we start the process.
I confirm this bug and workaround
I can confirm it too.
(In reply to comment #2) > I can confirm it too. > On my 32bit machine this directory was missing, and I got the error messages. But on my 64bit machine the directory is still missing, and I haven't got any error message nor dhclient-eth0.leases file. Both machine has net-misc/dhcp-3.1.1 installed, network is controlled by NM-0.7.
I confirm this bug and a workaround. I wasn't able to obtain an IP address via DHCP(wi-fi connection) because of this bug. But I was able to get an IP address before, so I can't understand, why it has been broken. Something strange also happened(in example, /etc/cond.d/local.start was not loaded correctly), so, maybe this bug is more complicated than I think.
+*dhcp-4.1.0 (09 Jul 2009) +*dhcp-3.1.2 (09 Jul 2009) + + 09 Jul 2009; <chainsaw@gentoo.org> +dhcp-3.1.2.ebuild, +dhcp-4.1.0.ebuild, + +files/dhcp-4.1-dhclient-metric.patch, +files/dhcp-4.1-no_isc_blurb.patch, + +files/dhcpd.init2: + Version bump to 3.1.2 & 4.1.0 upstream releases, as requested in bug + #264809. Create /var/lib/dhclient as per bug #222261. Recursive chown to + dhcp:dhcp closes bug #236671. Test config in init-script, apache-style by + Arturas from Lithuania in bug #259364. Paranoia/chroot support now + upstream in 4.1, dropped patch. Your bug report to Gentoo Linux is highly appreciated. I'm sorry it sat in the tracker unactioned for quite so long, it was not assigned to the maintainer.