On Tue, 2025 Sep 23 04:41-04:00, Martin-Éric Racine wrote:
>
> Upstream suggests trying the commit at
> https://github.com/NetworkConfiguration/dhcpcd/commit/eac7152ec04f5a330f01ab9504514a03f873b35c
>
> Can you apply it to 10.1.0-11, compile and see whether that fixes it?
I am happy to report that a 10.1.0-11 build with that patch does not
segfault, after confirming that an unpatched build does.
On a related note, I figured out what was the matter with the connection
going down then up after boot. The behavior can be reproduced on a fresh
Debian install as follows:
1. In /etc/NetworkManager/NetworkManager.conf, under [main], set
dhcp=dhcpcd;
2. In /etc/network/interfaces.d/, drop a config like the following:
auto /en*/1=main /eth*/1=main
iface main inet dhcp
3. Reboot, and watch for a hiccup in the network connection
approximately a minute later.
(This scenario also reproduces the segfault)
In the system log, you'll see NetworkManager error out with "ip-config-
unavailable", seemingly because dhcpcd is not responding as expected
since it is already running due to ifupdown.
NetworkManager normally does not muck with interfaces managed by
ifupdown, but in this case it appears to be confused by the alias syntax
in the latter's config. If you replace the config with one that names
the interface explicitly, the tug-of-war never begins.
--Daniel