Bug 139606

Summary: dhclient cannot create leases file
Product: [openSUSE] SUSE Linux 10.1 Reporter: Martin Vidner <mvidner>
Component: NetworkAssignee: Robert Love <rml>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Alpha 4   
Target Milestone: ---   
Hardware: i586   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Martin Vidner 2005-12-16 16:05:16 UTC
Dec 16 17:05:50 linux dhclient: can't create /var/lib/dhclient/dhclient-eth0.leases: No such file or directory

It seems a directory needs to be changed in the spec file.
linux:~ # rpm -ql dhcp-client
/etc/dhclient.conf
/sbin/dhclient
/sbin/dhclient-script
/usr/share/man/man5/dhclient.conf.5.gz
/usr/share/man/man5/dhclient.leases.5.gz
/usr/share/man/man8/dhclient-script.8.gz
/usr/share/man/man8/dhclient.8.gz
/var/lib/dhcp/dhclient.leases
Comment 1 Peter Poeml 2005-12-21 11:40:24 UTC
Hm, interesting -- this should have worked since quite some time, and I
can't find that directory defined anywhere in the source... I don't
think that it is configurable either, but can you check the command line
arguments and /etc/dhclient.conf nevertheless please?
Comment 2 Martin Vidner 2005-12-21 15:43:38 UTC
Ah, indeed the file is specified using -lf. The parent process is dhcdbd of the NM suite.
Comment 3 Peter Poeml 2005-12-22 10:30:58 UTC
dhcpbd -> Robert
Comment 4 Robert Love 2006-01-06 22:16:05 UTC
What does this have to do with dhcdbd?

I don't have that directory or see that error on my pure-NM machines.
Comment 5 Robert Love 2006-01-06 22:19:05 UTC
Oh, I see!  Fixed!

Submitting to autobuild ..
Comment 6 Robert Love 2006-01-06 22:26:26 UTC
updated dhcdbd in autobuild.