Bug 174826 - dhclient cannot write lease file
dhclient cannot write lease file
Product: Fedora
Classification: Fedora
Component: initscripts (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Brock Organ
Depends On:
  Show dependency treegraph
Reported: 2005-12-02 10:40 EST by Allen Kistler
Modified: 2014-03-16 22:57 EDT (History)
2 users (show)

See Also:
Fixed In Version: 8.18-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-12-02 12:31:58 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Allen Kistler 2005-12-02 10:40:59 EST
Description of problem:
Errors logged in /var/log/messages by dhclient

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Configure machine as dhcp client
2. more /var/log/messages
3. look for messages from dhclient
Actual results:
dhclient: can't create /var/lib/dhcp/dhclient-eth0.leases: No such file or directory

Expected results:
No messages.

Additional info:
/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.
Comment 1 Jason Vas Dias 2005-12-02 11:42:40 EST
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 
manually .

Note You need to log in before you can comment on or make changes to this bug.