Bug 527641

Summary: network does not come back after suspend/hibernate
Product: [Fedora] Fedora Reporter: Joachim Deguara <joachim.deguara>
Component: dhcpAssignee: Jiri Popelka <jpopelka>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 11CC: dcantrell, jimmyp2, jpopelka, wwoods
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 4.1.0p1-5.fc11 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-11-20 05:35:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Joachim Deguara 2009-10-07 05:49:24 UTC
Description of problem:

networking stays down for DHCP non-NetworkManaged devices

Version-Release number of selected component (if applicable):

dhclient-4.1.0p1-2.fc11.i586

How reproducible:

100%

Steps to Reproduce:
1. suspend
2. resume
3. oops where is networking
  
Actual results:


Expected results:


Additional info:

The problem is in the file /usr/lib/pm-utils/sleep.d/56dhclient where line 46 uses ${DEVICE} to incorrectly read the variable from line 45 $device

Comment 1 Dave Cantrell 2009-10-13 02:22:28 UTC
Patch:

Index: 56dhclient
===================================================================
RCS file: /cvs/pkgs/rpms/dhcp/devel/56dhclient,v
retrieving revision 1.1
diff -u -p -r1.1 56dhclient
--- 56dhclient	6 Aug 2009 21:45:18 -0000	1.1
+++ 56dhclient	13 Oct 2009 02:21:56 -0000
@@ -43,7 +43,7 @@ resume_dhclient() {
 
     cd /etc/sysconfig/network-scripts
     while read device ; do
-        /sbin/ifup ${DEVICE}
+        /sbin/ifup ${device}
     done < ${PM_DHCLIENT_SUSPEND}
 
     /bin/rm -f ${PM_DHCLIENT_SUSPEND}

Comment 2 Fedora Update System 2009-10-13 10:44:28 UTC
dhcp-4.1.0p1-5.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/dhcp-4.1.0p1-5.fc11

Comment 3 Fedora Update System 2009-10-14 01:54:27 UTC
dhcp-4.1.0p1-5.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update dhcp'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-10478

Comment 4 iarly selbir 2009-11-07 16:06:23 UTC
*** Bug 520143 has been marked as a duplicate of this bug. ***

Comment 5 Fedora Update System 2009-11-10 17:48:33 UTC
dhcp-4.1.0p1-5.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update dhcp'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-10478

Comment 6 Fedora Update System 2009-11-20 05:34:59 UTC
dhcp-4.1.0p1-5.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.