dhcpcd-discuss

Re: dhcp6_listen: Address already in use

Moritz Warning

Thu May 17 00:54:50 2018

On 05/16/2018 09:37 PM, Roy Marples wrote:
> On 16/05/2018 17:01, Moritz Warning wrote:
>> On 05/16/2018 10:28 AM, Roy Marples wrote:
>>> Hi Moritz
>>>
>>> On 15/05/2018 23:37, Moritz Warning wrote:
>>>> from dhcpcd 7.0.4-1 on Arch Linux gives me "dhcp6_listen: Address already in use" and exits.
>>>> The problem appears when connecting to my WLAN using wicd 1.7.4-1:
>>>>
> 
> 
>>>> May 15 23:26:22 brick dhcpcd[18975]: forked to background, child pid 19022
>>>> May 15 23:26:22 brick dhcpcd[18975]: dhcp6_listen: Address already in use
> 
> Attached patch should solve this error.
> 
>>>> May 15 23:26:22 brick dhcpcd[19025]: sending signal ALRM to pid 19022
>>>> May 15 23:26:22 brick dhcpcd[19025]: waiting for pid 19022 to exit
>>>> May 15 23:26:22 brick dhcpcd[19022]: received SIGALRM, releasing
> 
> Something called `dhcpcd -k` here which releases the lease as you see.
> I think that is the real error - does wicd do that?
Yes, wicd calls "dhcpcd -k" when it detects no ip address on the specified interface.

> 
> Can you let me know if the patch addresses the listen error please?
> 
> Thanks
> 
> Roy

The error still appears. But the connection also fails sometimes when the error is not showing up.
It is that way even without the patch. So it might not be the cause.

Is this "sending signal ALRM to pid 19022" part of the shutdown sequence of dhcpcd?

I will keep an eye open..

Follow-Ups:
Re: dhcp6_listen: Address already in useRoy Marples
References:
dhcp6_listen: Address already in useMoritz Warning
Re: dhcp6_listen: Address already in useRoy Marples
Re: dhcp6_listen: Address already in useMoritz Warning
Re: dhcp6_listen: Address already in useRoy Marples
Archive administrator: postmaster@marples.name