dhcpcd 5.5.4 killed just after forking to background
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
wicd |
Confirmed
|
High
|
Unassigned |
Bug Description
I am running ArchLinux up to date with dhcpcd 5.5.4, linux 3.2.5, and wicd 1.7.1
Wicd for a wired connection starts dhcpcd to obtain an IP. But since dhcpcd 5.5.4 there is a full support of IPv6 and dhcpcd obtain the IPv6 faster than the IPv4 => The consequence it that dhcpcd is forking to background before setting the IPv4.
Unfortunately wicd only check that the IPv4 is set and valid with ifconfig. => Since dhcpcd 5.5.4, the IPv4 is not set and wicd just kill dhcpcd before dhcpcd obtains the chance to set the IPv4 which is done 3 or 4 seconds after dhcpcd is forking to background.
I did open this ticket http://
For a temporally fix I did that (Wait 5 seconds after dhcpcd is forking to background) : sed -i "s|self.
cp /usr/lib/
Hello,
Using same distrib, and same versions of tools.
Wicd log says:
2012/02/26 13:23:53 :: Running DHCP with hostname XXXX 2eff:fe2b: XXXX
2012/02/26 13:23:53 :: dhcpcd[3439]: version 5.5.4 starting
2012/02/26 13:23:53 ::
2012/02/26 13:23:53 :: dhcpcd[3439]: eth0: sending IPv6 Router Solicitation
2012/02/26 13:23:53 ::
2012/02/26 13:23:53 :: dhcpcd[3439]: eth0: broadcasting for a lease
2012/02/26 13:23:53 ::
2012/02/26 13:23:55 :: dhcpcd[3439]: eth0: Router Advertisement from fe80::201:
2012/02/26 13:23:55 ::
2012/02/26 13:23:55 :: dhcpcd[3439]: forked to background, child pid 3457
2012/02/26 13:23:55 ::
2012/02/26 13:23:55 ::
2012/02/26 13:23:55 :: DHCP connection successful
2012/02/26 13:23:55 :: Connecting thread exiting.
2012/02/26 13:23:55 :: Sending connection attempt result success