Red Hat Bugzilla – Bug 174826
dhclient cannot write lease file
Last modified: 2014-03-16 22:57:06 EDT
Description of problem:
Errors logged in /var/log/messages by dhclient
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Configure machine as dhcp client
2. more /var/log/messages
3. look for messages from dhclient
dhclient: can't create /var/lib/dhcp/dhclient-eth0.leases: No such file or directory
/var/lib/dhcp does not exist, but /var/lib/dhclient is created by dhclient rpm.
Creating a directory /var/lib/dhcp allows dhclient to write
dhclient-eth0.leases there. Previous versions (FC3 and before, anyway) of
dhclient also used /var/lib/dhcp, not /var/lib/dhclient.
Yes, dhclient does not use /var/lib/dhcp - it uses /var/lib/dhclient.
This change was made for bug 169164 .
initscripts needs to be updated to use /var/lib/dhclient instead of
/var/lib/dhcp - this initscripts change is forthcoming.
Meanwhile, please bear with us and create the /var/lib/dhcp directory