Bug 139606 - dhclient cannot create leases file
Summary: dhclient cannot create leases file
Status: RESOLVED FIXED
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Network (show other bugs)
Version: Alpha 4
Hardware: i586 Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Robert Love
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-16 16:05 UTC by Martin Vidner
Modified: 2006-01-06 22:26 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.