GNU bug report logs - #47865
Missing dependency for sysv-init

Previous Next

Package: guix;

Reported by: Gabriel Hondet <gabrielhondet <at> gmail.com>

Date: Sun, 18 Apr 2021 07:17:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: guido <guido+guix <at> wtmnd.nl>
To: 47865 <at> debbugs.gnu.org
Subject: bug#47865: Missing dependency for sysv-init
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.




This bug report was last modified 1 year and 121 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.