[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#924504: release.debian.org: unblock runit



Package: release.debian.org
Severity: wishlist

Please, unblock src:runit=2.1.2-26 to fix following bugs:

 * 924038: failure to invoke emergency shell
 * 923957: cascading failure of init scripts, can be critical to
           remote-only systems.

Version in unstable is 2.1.2-25, which did not made to testing; version
in testing is 2.1.2-22. I ask for permission to upload 2.1.2-26 with
following changes:

diff --git a/debian/changelog b/debian/changelog
index 22639a4..e357e55 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+runit (2.1.2-26) unstable; urgency=medium
+
+  * Use full path when executing emergency shell. (Closes: #924038)
+    + Thanks: Lorenzo Puliti <lorenzo.ru.g@gmail.com>
+  * Remove `set -e' from `run_sysv_scripts' to ensure behaviour
+    similar to `/etc/init.d/rc' -- failure of one script in `/etc/rcS.d'
+    does not prevent other from running. (Closes: #923957)
+
+ -- Dmitry Bogatov <KAction@debian.org>  Fri, 08 Mar 2019 15:29:32 +0000
+
 runit (2.1.2-22) unstable; urgency=medium
 
   * Do not create symlinks between bin:runit and bin:runit-init
diff --git a/debian/contrib/2 b/debian/contrib/2
index 8569963..31da5e9 100755
--- a/debian/contrib/2
+++ b/debian/contrib/2
@@ -9,7 +9,7 @@ SVDIR=/etc/service
 if [ -f /run/runit.stopit ] ; then
 	# single mode
 	if grep -q -w -i 'single' /proc/cmdline ; then
-		chpst -P sulogin -p /dev/tty1
+		chpst -P /sbin/sulogin -p /dev/tty1
 	fi
 
 
diff --git a/debian/contrib/lib/run_sysv_scripts b/debian/contrib/lib/run_sysv_scripts
index 7ab2486..12b72f8 100755
--- a/debian/contrib/lib/run_sysv_scripts
+++ b/debian/contrib/lib/run_sysv_scripts
@@ -1,4 +1,5 @@
-#!/bin/sh -eu
+#!/bin/sh -u
+# Deliberately NO `set -e'. See #923957.
 initdir="${1}"
 for script in "$initdir/S"* ; do
 	path=$(realpath "$script")

Attachment: pgphe968IVBFk.pgp
Description: PGP signature


Reply to: