Subject: bug#47865: Missing dependency for sysv-init

From: guido <[email-masked]>
Date: Tue, 13 Feb 2024 23:31:59 +0100

Hi all,

I run a Devuan system with SysV init and made a fix.

Please find it here: (sorry, git-send-email does not work yet..)

index 982fb0a266..a09fd8fef1 100755
--- a/etc/guix-install.sh
+++ b/etc/guix-install.sh
@@ -210,6 +210,9 @@ chk_init_sys()
      elif [[ -f /etc/init.d/cron && ! -h /etc/init.d/cron ]]; then
          _msg "${INF}init system is: sysv-init"
          INIT_SYS="sysv-init"
+        # SysV init on Devuan (and probably others)  use
start-stop-daemon
+        # and need daemonize as extra dependency.
+        REQUIRE+=(daemonize)
          return 0
      elif [[ $(openrc --version 2>/dev/null) =~ \(OpenRC\) ]]; then
          _msg "${INF}init system is: OpenRC"
@@ -673,9 +676,9 @@ main()
      _msg "Starting installation ($(date))"
       chk_term
-    chk_require "${REQUIRE[@]}"
      chk_gpg_keyring
      chk_init_sys
+    chk_require "${REQUIRE[@]}"
      chk_sys_arch
      chk_sys_nscd

Kind regards,

Guido Witmond.