[Pkg-xmpp-devel] Bug#1100030: why adduser in preinst?

Marc Haber mh+debian-packages at zugschlus.de
Mon Mar 10 13:29:39 GMT 2025


Package: jabberd2
Version: 2.7.0-7
Severity: minor

Hi,

I am the main maintainer of adduser and am always interested in usage
patterns of my software. jabberd2 is one of the _very_ few (<5) packages
in Debian that use adduser in their preinst.

Since this might interfere with adduser's development (preinst might and
probably will run with an un-updated adduser during upgrades), I would
like to know why it was decided in jabberd2 to create the user in
preinst.

If there is no real reason, I'd love the usage of adduser being moved
too postinst like hundreds of other packages do it.

In addition, in trixie, the scaffolding you're using around your adduser
calls is no longer necessary.

A single call of
adduser --system --group --home=/var/lib/jabberd2 --no-create-home jabber
will already do it.

Greetings
Marc



More information about the Pkg-xmpp-devel mailing list