wicd disconnects on ipv6 enabled networks due to early dhcpcd fork

Bug #986830 reported by Nils Cant
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
wicd
New
Undecided
Unassigned

Bug Description

I have discovered that when using dhcpcd as the dhcp client, the dhcpcd daemon will fork as soon as it has received an ip address, which causes problems if the first ip it receives is ipv6.

As wicd checks for a valid ipv4 ip immediately after dhcpcd has forked, it detects the dhcp request as being failed, and kills the dhcpcd daemon.

It looks like the -w (--waitip) option to dhcpcd helps to have it only fork after receiving valid ip(s).

I have not been able to find where exactly in the source code I could add this option when dhcpcd is being called, so I haven't been able to try it out.

Perhaps an alternative would be to have wicd check for a valid ipv4 address again a couple of seconds later.

I don't have this problem after switching to dhclient.

Running wicd-1.7.2.1-1 on Arch.

Revision history for this message
Wim Lewis (wiml) wrote :

From AopicieR's comment in bug #861860, I think this may be the same bug or situation as that one.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.