On Tue, 06 May 2025 21:54:57 +0000 Martin <deba...@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.

Attachment: OpenPGP_0x8F53E0193B294B75.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to