dhcp-manager: don't remove leases: they can actually be useful...

Bug #378008 reported by Thomas NOEL
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: network-manager

Ubuntu release: Jaunty
NetworkManager : 0.7.1~rc4.1.cf199a964-0ubuntu2

When I unplug/plug my PC on my DHCP network, sometimes I don't get the same IP, even if the IP is free.

The problem is that when deactive an interface, NM delete the /var/lib/dhcp3/dhclient-<interface>.leases file ! Doing this, it's impossible for dhclient to ask for the _same_ IP address when the interface is re-activated.

It's a really annoying bug when you have to manage a network of Jaunty machines : all IP addresses can change if you just reboot a switch (deactive/reactive signal on all interfaces)... If /home is NFS-mounted, all PC just stop to work.

The patch included fix this issue. It's from the NM git, see the commit here :
http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=756bc704029050af94ef678bb4c0bdc02da14034

Thanks

Revision history for this message
Thomas NOEL (thomas-noel) wrote :
Adam Guthrie (therigu)
tags: added: patch-accepted-upstream
Changed in network-manager (Ubuntu):
status: New → Fix Released
Revision history for this message
Adam Guthrie (therigu) wrote :

Thanks for the report and patch. This is fixed upstream, and in karmic and later releases.

If you would like to request this to be considered for release for jaunty, please use the nominate feature.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.