[Pkg-xmpp-devel] Bug#1104578: jabber-muc: preinst fails, calls adduser without Pre-Depend-ing on it

Martin debacle at debian.org
Tue May 6 22:54:57 BST 2025


On 2025-05-04 21:56, Pirate Praveen wrote:
> The following debdiff should fix this bug, but I have not tested it.

There are three issues with the patch:

1. It seems, that debian/rules must be appended with:

# Can be dropped in compat level 14
execute_after_dh_installinit:
	dh_installsysusers

2. The sysusers should be:

#Type Name    ID            GECOS          Home directory    Shell
g     jabber  -
u     jabber  -:jabber      "Jabber User"  /var/lib/jabberd2

3. But even then the chown in postinst happens *before* the group and
   user are created. No idea how to fix that.



More information about the Pkg-xmpp-devel mailing list