Bug 236966 - Releasing DHCP lease and suspend/resume
Summary: Releasing DHCP lease and suspend/resume
Status: CLOSED DUPLICATE of bug 236965
Alias: None
Product: Fedora
Classification: Fedora
Component: dhcdbd
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: David Cantrell
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2007-04-18 17:45 UTC by Paulus Esterhazy
Modified: 2007-11-30 22:12 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2007-04-19 18:58:20 UTC
Type: ---

Attachments (Terms of Use)
syslog excerpt showing network-manager failure (2.69 KB, text/plain)
2007-04-18 17:45 UTC, Paulus Esterhazy
no flags Details

Description Paulus Esterhazy 2007-04-18 17:45:49 UTC
Description of problem:
After hibernating, while using NetworkManager to manage a wired ethernet 
connection, NetworkManager fails to retrieve a DHCP IP address from dhcdbd, 
citing the error message "interface eth0 is being released. Please try again 
later." This isn't temporary, however, but persits until dhcdbp is restarted 
(sudo /etc/dbus-1/event.d/22dhcdbd restart). Alternatively, I can deactivate 
networking in NetworkManager and manually run "sudo dhclient eth0", which works 

The problem is most likely dhcdbp going to a bad state. Dan Williams explains, 
"Apparently a dhcdbd bug, or some interaction between dhcdbd and
hibernate/suspend, possibly a race condition.  I'd bet that NM has told
dhcdbd to down the interface, and dhcdbd tried to release its acquired
address.  The machine goes to sleep during that operation, and when it
wakes up dhcdbd still thinks it's releasing the address, and doesn't let
any other operation happen."

Version-Release number of selected component (if applicable):
I'm using ubuntu feisty (just before its release).
dhcdbd 2.0-2ubuntu3
network-manager 0.6.4-6ubuntu7

How reproducible:
It happens every other suspend/resume cycle or so. After that, however, dhcdb 
stays indefinetly in its bad state.

Steps to Reproduce:
1.initiate suspend
Actual results:
nm-applet shows that it's waiting for an IP address, and after a while stops

Expected results:
normal operation (IP address received)

Additional info:
I'm attaching a syslog excerpt which includes the output of manually running 

Comment 1 Paulus Esterhazy 2007-04-18 17:45:49 UTC
Created attachment 152934 [details]
syslog excerpt showing network-manager failure

Comment 2 David Cantrell 2007-04-19 18:58:20 UTC

*** This bug has been marked as a duplicate of 236965 ***

Note You need to log in before you can comment on or make changes to this bug.