On 2020-11-14, Axel Beckert wrote: > your recently uploaded guix package fails in the postinst script as > follows on a system without the package systemd being installed: > > Setting up guix (1.2.0~rc1-1) ... > /var/lib/dpkg/info/guix.postinst: 5: systemd-sysusers: not found > dpkg: error processing package guix (--configure): > installed guix package post-installation script subprocess returned error > exit status 127 > > Please try to guard that call (and/or provide an alternative code path) > so that it also works with other init systems or even completely without > an init system (like in a chroot).
Yes, thanks for catching that! There are a few other issues related to the lack of proper support for init.d scripts as well, and it would be nice to fix issues to support other init systems... any help would be appreciated! > If that's not possible, you probably need to add a dependency on > "systemd | opensysusers" and check for "sysusers" or "opensysusers" > instead of systemd-sysusers, too. opensysusers is an alternative > implementation of systemd's sysusers that also works with other init > systems or without init system at all. I did ask zigo about the status of opensysusers on IRC, and got the impression that it might be orphaned or removed from the archive, so did not pursue further, though does not sound like it would be difficult to add support. Alternate to having a working sysusers.d implementation, it could be documented in README.Debian to create the users and groups manually. Thanks! live well, vagrant
signature.asc
Description: PGP signature

