Subject: bug#816: guix: missing dependency 'daemonize'

From: Gabriel Hondet <[email-masked]>
Date: Thu, 21 Dec 2023 20:06:10 +0100

Package: guix
Version: 1.4.0-3
Severity: grave
Justification: renders package unusable
X-Debbugs-Cc: [email-masked]

Dear Maintainer,

The init script for guix-daemon calls the program 'daemonize', but it
isn't a dependency of guix. It's enough to 'apt install daemonize' to
fix this. I'd expect 'apt install guix' to also install 'daemonize'.

Best regards,
Gabriel

-- System Information:
Distributor ID:	Devuan
Description:	Devuan GNU/Linux 5 (daedalus)
Release:	5
Codename:	daedalus
Architecture: x86_64

Kernel: Linux 6.1.0-16-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages guix depends on:
ii  guile-3.0       3.0.8-2
ii  guile-3.0-libs  3.0.8-2
ii  guile-gcrypt    0.4.0-2
ii  guile-git       0.5.2-5
ii  guile-gnutls    3.7.9-2+deb12u1
ii  guile-json      4.7.3-2
ii  guile-lzlib     0.0.2-3
ii  guile-sqlite3   0.1.3-3
ii  guile-ssh       0.16.2-1
ii  guile-zlib      0.1.0-4
ii  libbz2-1.0      1.0.8-5+b1
ii  libc6           2.36-9+deb12u3
ii  libgcc-s1       12.2.0-14
ii  libgcrypt20     1.10.1-3
ii  libsqlite3-0    3.40.1-2
ii  libssh-dev      0.10.5-2
ii  libstdc++6      12.2.0-14
ii  zlib1g          1:1.2.13.dfsg-1

Versions of packages guix recommends:
ii  ca-certificates  20230311
ii  less             590-2
ii  nscd             2.36-9+deb12u3
pn  systemd          <none>

guix suggests no packages.

-- no debconf information

---

From: Mark Hindley <[email-masked]>
Date: Sun, 24 Dec 2023 11:07:22 +0000

Control: tags -1 debian

Gabriel,

Thanks

> Justification: renders package unusable

Source guix is not forked in Devuan and we use Debian's packages directly
without recompilation. PLease report this missing dependency to Debian's BTS to
be addressed.

Thanks

Mark

---

From: Gabriel Hondet <[email-masked]>
Date: Sun, 24 Dec 2023 13:04:27 +0100

> without recompilation. PLease report this missing dependency to Debian's BTS to

The 'daemonize' command is used in the 'init' script for SysVinit.
On the other hand, since Debian uses the systemd init, no dependency on
'daemonize' is required on Debian, so there's nothing to report on
Debian's BTS.

Furthermore, it may be the case that daemonize isn't necessary if
'runit' is used.

Cheers,
Gabriel

---

From: Mark Hindley <[email-masked]>
Date: Sun, 24 Dec 2023 12:41:53 +0000

Gabriel,

On Sun, Dec 24, 2023 at 01:04:27PM +0100, Gabriel Hondet wrote:
> On the other hand, since Debian uses the systemd init,

In Debian, systemd is only the default. Sysvinit, openrc and runit are still
available and installable as options.

> no dependency on 'daemonize' is required on Debian, so there's nothing to
> report on Debian's BTS.

So this *is* reproducible in some Debian installations and requires fixing
there.

Thanks

Mark

---

From: Lorenzo <[email-masked]>
Date: Sun, 24 Dec 2023 14:05:20 +0100

On Sun, 24 Dec 2023 12:41:53 +0000
Mark Hindley <[email-masked]> wrote:

> So this *is* reproducible in some Debian installations and requires
> fixing there.

A bug is already reported in Debian BTS, from
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1041359

> I am of mixed mind on doing more than that... with the debian
> defaults, it is not needed, so it seems a bit much to add it to
> Depends or even Recommends. Suggests is hardly used much, but might
> make it a little more visible than the README.Debian?
> 
> I guess I could add:
> 
>   Recommends: systemd-somethingorother | daemonize
> 
> But I think recommends with | sometimes behave a little oddly...
> 
>

---

From: Mark Hindley <[email-masked]>
Date: Sun, 24 Dec 2023 16:20:06 +0000

Control: forwarded -1 https://bugs.debian.org/1041359

Lorenzo,

On Sun, Dec 24, 2023 at 02:05:20PM +0100, Lorenzo wrote:
> A bug is already reported in Debian BTS

Thanks for pointing that out.

> >   Recommends: systemd-somethingorother | daemonize

Depends: systemd | daemonize

makes semantic sense to me.

Mark