Bug#1145015: lemonade-server fails to install: groupadd not found

Helmut Grohne <[email protected]>
Newsgroups gmane.linux.debian.devel.bugs.rc
Message-ID <[email protected]>
Package: lemonade-server
Version: 11.5.2-1
Severity: serious
Justification: missing dependency

lemonade-server fails to install due to a missing dependency on
base-passwd. You can reproduce it as follows:

| $ mmdebstrap unstable /dev/null --variant=apt --include lemonade-server
| ...
| Setting up lemonade-server (11.5.2-1) ...
| /var/lib/dpkg/info/lemonade-server.postinst: 10: groupadd: not found
| dpkg: error processing package lemonade-server (--configure):
|  old lemonade-server package postinst maintainer script subprocess failed with exit status 127
| Processing triggers for libc-bin (2.43-3) ...
| Errors were encountered while processing:
|  lemonade-server
| E: Sub-process env returned an error code (1)
| ...
| $

Please consider using sysusers.d instead of manual invocations of
groupadd. You could install /usr/lib/sysusers.d/lemonade-server.conf:

    u! lemonade - - /var/lib/lemonade
    m lemonade systemd-journal
    m lemonade render

Note that you need to add dh-sequence-installsysusers to Build-Depends
and systemd-sysusers to Depends for this to work.

Helmut
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.