From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040312
Description of problem:
When ifup is ran multiple times, multiple copies of dhclient are
started. This is exacerbated by a DHCP server that takes a long time
to reply -- this means that the race condition window between ifup
doing a kill on the old dhclient, and the new dhclient writing out the
/var/run/pid file upon getting a lease, is quite large.
The attached patch uses /usr/bin/lockfile to do strict locking to
avoid the possibility of concurrently running dhclient processes
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Run /sbin/ifup eth0 &
2.Run /sbin/ifup eth0
3.Notice two dhclient's running that don't exit
Actual Results: As a result of having two dhclient processes running,
each process obtains a different DHCP lease and reconfigures the
interface according to _its_ lease periodically.
Created attachment 99287 [details]
Patch for /sbin/ifup
*** Bug 120533 has been marked as a duplicate of this bug. ***
Closing bugs on older, no longer supported, releases. Apologies for any lack of
This should be fixed as of Fedora Core 4.