Control: tags -1 pending
Control: affects -1 systemd

On Sat, 23 Aug 2025 19:13:09 +0100 Luca Boccassi <[email protected]>
wrote:
> Package: runit
> Severity: serious
> Justification: stops other package from migrating to testing
> Tags: patch
> 
> Dear Maintainer(s),
> 
> systemd v258 dropped some deprecated legacy sysv-era interfaces, so
> runit's reboot command is no longer able to start a reboot when
> systemd is running. This breaks its autopkgtest, which stops systemd
> from migrating to testing, hence the severity.
> 
> The autopkgtest needs to call 'systemctl reboot' instead, as that's
> always going to work when systemd is running.

Given this stops my package from migrating and the fix is only touching
the one autopkgtest script, I've NMUed the attached debdiff to
DELAYED/2. Please let me know if you want me to cancel and fix the
issue differently.
diff -Nru runit-2.2.0/debian/changelog runit-2.2.0/debian/changelog
--- runit-2.2.0/debian/changelog	2025-04-26 21:25:25.000000000 +0100
+++ runit-2.2.0/debian/changelog	2025-08-23 19:17:21.000000000 +0100
@@ -1,3 +1,11 @@
+runit (2.2.0-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * autopkgtest: use 'systemctl reboot' to reboot after removing systemd-
+    sysv (Closes: #1111923)
+
+ -- Luca Boccassi <[email protected]>  Sat, 23 Aug 2025 19:17:21 +0100
+
 runit (2.2.0-3) unstable; urgency=medium
 
   * getty-run: fix tests for busy getty device (Closes: #1103152)
diff -Nru runit-2.2.0/debian/tests/init-switch runit-2.2.0/debian/tests/init-switch
--- runit-2.2.0/debian/tests/init-switch	2025-04-17 19:07:01.000000000 +0100
+++ runit-2.2.0/debian/tests/init-switch	2025-08-23 19:09:27.000000000 +0100
@@ -60,7 +60,11 @@
 		fi
 		echo "preparing for reboot"
 		/tmp/autopkgtest-reboot-prepare runit1
-		reboot
+		if [ "$init" = "systemd" ]; then
+			systemctl reboot
+		else
+			reboot
+		fi
 	else
 		echo "testbed does not support reboot"
 		echo "can't perform this test"

Reply via email to