network-manager uses wrong path for dhclient lease
Bug #329105 reported by
Jamie Strandboge
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager (Ubuntu) |
Fix Released
|
High
|
Alexander Sack | ||
Jaunty |
Fix Released
|
High
|
Alexander Sack |
Bug Description
Binary package hint: network-manager
On up to date Jaunty, network-manager calls dhclient with:
/sbin/dhclient -d -sf /usr/lib/
Which causes this error in daemon.log:
dhclient: can't create /var/lib/
On Jaunty (at least), the leases are stored in /var/lib/dhcp3/. Eg "/var/lib/
To post a comment you must log in.
I can confirm this issue. I see two ways of solving this.
1. Change the -lf option to the correct path.
2. make /var/lib/dhclient directory during installation.
I think option 1 is the correct way to solve this because running dhclient manually without -lf option puts the lease file in /var/dhcp3 directory.
When I get a bit more time one of the next couple of days I will create a patch for this.