#1029174 dhcpcd-base: Brakes networking completely

Package:
dhcpcd-base
Source:
dhcpcd-base
Description:
DHCPv4 and DHCPv6 dual-stack client (binaries and exit hooks)
Submitter:
Helge Kreutzmann
Date:
2023-01-22 05:45:04 UTC
Severity:
normal
#1029174#5
Date:
2023-01-18 20:59:09 UTC
From:
To:
When this version is installed, all networking is broken, e.g.
root@twentytwo:~# LC_ALL=C ping lwn.net
ping: lwn.net: Temporary failure in name resolution

I cannot access *any* outside resource. No IP, no ssh, no ping, ..

Additionally, comands involving network state take several minutes,
i.e. running into timeouts. E.g.
systemctl restart networking

Or shutdown takes several minutes (for each interface) before
completion.

If I strace such a command, I see:
access("/run/network/ifstate.enp3s0", R_OK) = 0
openat(AT_FDCWD, "/run/network/ifstate.enp3s0", O_RDWR|O_CREAT|O_APPEND|O_CLOEXEC, 0666) = 3
fcntl(3, F_SETLK, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = -1 EAGAIN (Die Ressource ist zur Zeit nicht verfügbar)
write(2, "ifdown: ", 8ifdown: )                 = 8
write(2, "waiting for lock on /run/network"..., 47waiting for lock on /run/network/ifstate.enp3s0) = 47
write(2, "\n", 1
)                       = 1
fcntl(3, F_SETLKW, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=0, l_len=0}

And there it hangs. (I did not search if this is the only place for
hangs, but it was the first).

Downgrading to 9.4.1-11 fixes the problem, i.e. the machine behaves
normally after reboot.

This is reproducible, i.e. upgrading to -13 and rebooting and the
broken network is back; downgrading and rebooting and the network is
fine again.

Please tell me which data you need to further boil this down and I can
provide it.

#1029174#8
Date:
2023-01-19 15:35:07 UTC
From:
To:
Greetings,

Something tells me that both of you have encountered the same bug.

We've just pushed dhcpcd 9.4.1-14 into unstable. Can you please check
whether that fixes it?

Martin-Éric

#1029174#13
Date:
2023-01-19 19:58:54 UTC
From:
To:
Dear Maintainer,
I've ran onto the same issue on a riscv64 board yesteday. Upgrading to
9.4.1-14 solved the problem.

#1029174#16
Date:
2023-01-19 20:22:45 UTC
From:
To:
Yes, I assumed so, too.

Indeed, this new version works.

Thanks!

Beat

#1029174#21
Date:
2023-01-20 15:11:35 UTC
From:
To:
Marking FIXED as of 9.4.1-14 . I'll wait until it has trickled down to
Testing before closing.

Martin-Éric

#1029174#26
Date:
2023-01-20 19:59:38 UTC
From:
To:
Hello all,

The same for me - it works and thanks!

Greetings

        Helge

#1029174#29
Date:
2023-01-20 19:59:38 UTC
From:
To:
Hello all,

The same for me - it works and thanks!

Greetings

        Helge

#1029174#34
Date:
2023-01-22 05:40:49 UTC
From:
To:
On Fri, Jan 20, 2023 at 5:11 PM Martin-Éric Racine <martin-eric.racine@iki.fi> wrote:

Closing.

Martin-Éric