unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: guido via Bug reports for GNU Guix <bug-guix@gnu.org>
To: 47865@debbugs.gnu.org
Subject: bug#47865: Missing dependency for sysv-init
Date: Tue, 13 Feb 2024 23:31:59 +0100	[thread overview]
Message-ID: <4d4d92ce-9850-2013-2312-d95ec6e6e6ab@wtmnd.nl> (raw)
In-Reply-To: <20210418071508.GA16865@motacilla.home>

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.




      parent reply	other threads:[~2024-02-14 22:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-18  7:15 bug#47865: Missing dependency for sysv-init Gabriel Hondet
2021-04-18 17:13 ` Leo Famulari
2021-04-18 18:00   ` Julien Lepiller
2021-04-19 12:33   ` Gabriel Hondet
2021-04-19 17:21     ` Leo Famulari
2021-04-19 17:24       ` Leo Famulari
2024-02-13 22:31 ` guido via Bug reports for GNU Guix [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4d4d92ce-9850-2013-2312-d95ec6e6e6ab@wtmnd.nl \
    --to=bug-guix@gnu.org \
    --cc=47865@debbugs.gnu.org \
    --cc=guido+guix@wtmnd.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).