On Sun, 6 Sep 2026 09:52:36 +0200 Thomas Glanzmann <[email protected]> wrote:
> Package: dhcpcd-base
> Version: 1:10.5.2-1
> Severity: important
>
> Dear Maintainer,
>
> After upgrading dhcpcd-base/dhcpcd from 1:10.3.2-6 to 1:10.5.2-1, the next
> shutdown/reboot takes about three minutes longer than before.
> networking.service's ExecStop (ifdown -a) hangs and is eventually SIGKILLed
> after two consecutive 90 s systemd timeouts:
>
> CAUSE
>
> Upgrading the package does not restart dhcpcd.service.
bin:dhcpcd-base doesn't ship any systemd unit or or init.d script;
bin:dhcpcd does. Reassigning accordingly.
This being said, we indeed don't currently restart after an upgrade.
Would the following change do what you need?
diff --git a/debian/rules b/debian/rules
index 196aab72..7810aff9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,11 +18,11 @@ override_dh_install:
dh_install
override_dh_installinit:
- dh_installinit --name=dhcpcd --no-start --no-stop-on-upgrade
--no-restart-after-upgrade
+ dh_installinit --name=dhcpcd --no-stop-on-upgrade
--restart-after-upgrade
override_dh_installsystemd:
- dh_installsystemd --name=dhcpcd --no-start
--no-stop-on-upgrade --no-restart-after-upgrade
- dh_installsystemd --name=dhcpcd@ --no-start
--no-stop-on-upgrade --no-restart-after-upgrade
+ dh_installsystemd --name=dhcpcd --no-stop-on-upgrade
--restart-after-upgrade
+ dh_installsystemd --name=dhcpcd@ --no-stop-on-upgrade
--restart-after-upgrade
-----
Martin-Éric