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: diff -Nru ifupdown-0.8.44/debian/changelog ifupdown-0.8.44+nmu1/debian/changelog --- ifupdown-0.8.44/debian/changelog 2024-09-17 15:08:12.000000000 +0300 +++ ifupdown-0.8.44+nmu1/debian/changelog 2025-05-03 12:12:47.000000000 +0300 @@ -1,3 +1,10 @@ +ifupdown (0.8.44+nmu1) unstable; urgency=medium + + * Non-maintainer upload. + * inet.defn: Prepend -b option to all 3 dhcpcd occurences. + + -- Martin-Éric Racine <martin-eric.rac...@iki.fi> Sat, 03 May 2025 12:12:47 +0300 + ifupdown (0.8.44) unstable; urgency=low [ Debian Janitor ] diff -Nru ifupdown-0.8.44/inet.defn ifupdown-0.8.44+nmu1/inet.defn --- ifupdown-0.8.44/inet.defn 2024-08-20 05:02:23.000000000 +0300 +++ ifupdown-0.8.44+nmu1/inet.defn 2025-05-03 12:12:16.000000000 +0300 @@ -102,7 +102,7 @@ if (execable("dhclient")) udhcpc -n -p /run/udhcpc.%iface%.pid -i %iface% [[-x hostname:%hostname%]] \ elsif (execable("udhcpc")) - dhcpcd [[-h %hostname%]] [[-i %vendor%]] [[-I %client%]] \ + dhcpcd -b [[-h %hostname%]] [[-i %vendor%]] [[-I %client%]] \ [[-l %leasetime%]] [[-m %metric%]] %iface% \ elsif (execable("dhcpcd")) echo 'No DHCP client software found!' >&2; false \ @@ -285,7 +285,7 @@ udhcpc -n -p /run/udhcpc.%iface%.pid -i %iface% [[-H %hostname%]] \ [[-c %client%]] \ elsif (execable("udhcpc")) - dhcpcd [[-h %hostname%]] [[-i %vendor%]] [[-I %client%]] \ + dhcpcd -b [[-h %hostname%]] [[-i %vendor%]] [[-I %client%]] \ [[-l %leasetime%]] %iface% \ elsif (execable("dhcpcd")) echo 'No DHCP client software found!' >&2; false \ @@ -436,7 +436,7 @@ udhcpc -n -p /run/udhcpc.%iface///.%.pid -i %iface% [[-H %hostname%]] \ [[-c %client%]] \ elsif (execable("udhcpc")) - dhcpcd [[-h %hostname%]] [[-i %vendor%]] [[-I %client%]] \ + dhcpcd -b [[-h %hostname%]] [[-i %vendor%]] [[-I %client%]] \ [[-l %leasetime%]] %iface% \ elsif (execable("dhcpcd")) echo 'No DHCP client software found!' >&2; false \