[Pkg-xmpp-devel] Bug#1104578: jabber-muc: preinst fails, calls adduser without Pre-Depend-ing on it
Pirate Praveen
praveen at debian.org
Wed May 7 11:59:16 BST 2025
On Tue, 06 May 2025 21:54:57 +0000 Martin <debacle at debian.org> wrote:
> 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
Thanks for catching this.
> 2. The sysusers should be:
>
> #Type Name ID GECOS Home directory Shell
> g jabber -
> u jabber -:jabber "Jabber User" /var/lib/jabberd2
I missed GECOS should be empty or - in the man page
> 3. But even then the chown in postinst happens *before* the group and
> user are created. No idea how to fix that.
>
>
May be we can explicitly call systemctl restart systemd-sysusers.service
before we run chmod ?
I hope that should ensure the user are created before we run chmod.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x8F53E0193B294B75.asc
Type: application/pgp-keys
Size: 4938 bytes
Desc: OpenPGP public key
URL: <http://alioth-lists.debian.net/pipermail/pkg-xmpp-devel/attachments/20250507/162f0888/attachment.asc>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-xmpp-devel/attachments/20250507/162f0888/attachment.sig>
More information about the Pkg-xmpp-devel
mailing list