Bug 174826 - dhclient cannot write lease file
Summary: dhclient cannot write lease file
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: initscripts
Version: 5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-12-02 15:40 UTC by Allen Kistler
Modified: 2014-03-17 02:57 UTC (History)
2 users (show)

Fixed In Version: 8.18-1
Clone Of:
Environment:
Last Closed: 2005-12-02 17:31:58 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Allen Kistler 2005-12-02 15:40:59 UTC
Description of problem:
Errors logged in /var/log/messages by dhclient

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

How reproducible:
Always

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 16:42:40 UTC
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.