Having 6.4.4 installed, dhcpcd segfaults when called by NetworkManager Reproducible: Always Steps to Reproduce: 1. install 6.4.4 2. cycle network connection (unplug/plug) Actual Results: NetworkManager is not able to get ip by dhcp as dhcpcd segfaults Expected Results: network config issued by dhcp server # journalctl --unit NetworkManager --since '-10min' Sep 18 13:18:27 colibri NetworkManager[22695]: <info> Auto-activating connection 'eth0'. Sep 18 13:18:27 colibri NetworkManager[22695]: <info> Activation (eth0) starting connection 'eth0' Sep 18 13:18:27 colibri NetworkManager[22695]: <info> (eth0): device state change: disconnected -> prepare (reason 'none') [30 40 0] Sep 18 13:18:27 colibri NetworkManager[22695]: <info> NetworkManager state is now CONNECTING Sep 18 13:18:27 colibri NetworkManager[22695]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) scheduled... Sep 18 13:18:27 colibri NetworkManager[22695]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) started... Sep 18 13:18:27 colibri NetworkManager[22695]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) scheduled... Sep 18 13:18:27 colibri NetworkManager[22695]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) complete. Sep 18 13:18:27 colibri NetworkManager[22695]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) starting... Sep 18 13:18:27 colibri NetworkManager[22695]: <info> (eth0): device state change: prepare -> config (reason 'none') [40 50 0] Sep 18 13:18:27 colibri NetworkManager[22695]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) successful. Sep 18 13:18:27 colibri NetworkManager[22695]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) scheduled. Sep 18 13:18:27 colibri NetworkManager[22695]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) complete. Sep 18 13:18:27 colibri NetworkManager[22695]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) started... Sep 18 13:18:27 colibri NetworkManager[22695]: <info> (eth0): device state change: config -> ip-config (reason 'none') [50 70 0] Sep 18 13:18:27 colibri NetworkManager[22695]: <info> Activation (eth0) Beginning DHCPv4 transaction (timeout in 45 seconds) Sep 18 13:18:27 colibri NetworkManager[22695]: <info> dhcpcd started with pid 22813 Sep 18 13:18:27 colibri NetworkManager[22695]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) complete. Sep 18 13:18:27 colibri NetworkManager[22695]: <info> (eth0): DHCPv4 client pid 22813 exited with status -1 Sep 18 13:18:27 colibri NetworkManager[22695]: <warn> DHCP client died abnormally Sep 18 13:18:27 colibri NetworkManager[22695]: <info> Activation (eth0) Stage 4 of 5 (IPv4 Configure Timeout) scheduled... Sep 18 13:18:27 colibri NetworkManager[22695]: <info> Activation (eth0) Stage 4 of 5 (IPv4 Configure Timeout) started... Sep 18 13:18:27 colibri NetworkManager[22695]: <info> (eth0): device state change: ip-config -> failed (reason 'ip-config-unavailable') [70 120 5] Sep 18 13:18:27 colibri NetworkManager[22695]: <info> NetworkManager state is now DISCONNECTED Sep 18 13:18:27 colibri NetworkManager[22695]: <warn> Activation (eth0) failed for connection 'eth0' Sep 18 13:18:27 colibri NetworkManager[22695]: <info> Activation (eth0) Stage 4 of 5 (IPv4 Configure Timeout) complete. Sep 18 13:18:27 colibri NetworkManager[22695]: <info> (eth0): device state change: failed -> disconnected (reason 'none') [120 30 0] Sep 18 13:18:27 colibri NetworkManager[22695]: <info> (eth0): deactivating device (reason 'none') [0] # dmesg | tail dhcpcd[23360]: segfault at 758 ip 000000000041d2d7 sp 00007fffe7da0d68 error 4 in dhcpcd[400000+38000]
Created attachment 385020 [details] emerge --info
=net-misc/dhcpcd-6.4.3 works fine see also bug 523070 where others mentioned the same issue
fixed upstream: http://roy.marples.name/projects/dhcpcd/info/b46ab4d125
Disabling the 'ipv6' flag and recompiling makes it work again. At least this way one can downgrade or get a patch in.
This is included in 6.4.4-r1.