On Sat, 03 May 2025 17:06:50 +0300 =?utf-8?q?Martin-=C3=89ric_Racine?= <martin-eric.rac...@iki.fi> wrote: > Package: ifupdown > Version: 0.8.44 > Severity: important > X-Debbugs-Cc: martin-eric.rac...@iki.fi > > Since 'dhcpcd' is started by 'ifupdown' on a per-interface basis, it will > exit on timeout if no IP has been acquired, rendering the host unreachable. > > As per upstream advice, avoiding this requires using the -b flag. This makes > 'dhcpcd' fork to the background and keep on requesting an IP until one has > been acquired. > > RM open on Salsa. The debdiff:
This problem has been solved in dhcpcd 1:10.1.0-11 instead by merging an upstream Git cherry-pick that makes dhcpcd fork to the background, after the initial timeout has been reached, instead of exiting. This also makes dhcpcd resilient to carrier losses, etc. since it will revert to IPv4LL until DHCP has acquired a lease, then delete the IPV4LL route, which mimics what dhclient does with the avahi-autoipd exit hook. Martin-Éric