Bug 431896

Summary: cant run dhclient more than once even after ifdown
Product: Red Hat Enterprise Linux 5 Reporter: clive darra <cdrh>
Component: dhcpAssignee: David Cantrell <dcantrell>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 5.1   
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-02-09 03:36:33 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 clive darra 2008-02-07 18:14:09 UTC
Description of problem:
cant run dhclient more than once (even after ifdown)

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

How reproducible:
everytime

Steps to Reproduce:
1. boot
2. dhclient
3. (optional) ifdown eth0
4. dhclient
  
Actual results:
dhclient(2919) is already running - exiting

Expected results:
refresh dhcp settings

Additional info:

Comment 1 David Cantrell 2008-02-09 03:36:33 UTC
If you run dhclient by hand, you have to stop it by hand.  ifdown will only stop
dhclient instances started by ifup because the PIDs are recorded.  You cannot
run more than one dhclient per interface at a time.  If you have a multihomed
host, you need to specify the interface name to run multiple instances per
interface:

dhclient eth0
dhclient eth1
... and so on

Comment 2 clive darra 2008-02-14 11:24:36 UTC
many thanks 

my fault entirely for distro hopping too much (ubuntu seem to work slightly
differently)