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

Martin debacle at debian.org
Wed May 7 21:30:00 BST 2025


On 2025-05-07 16:29, Pirate Praveen wrote:
> On Tue, 06 May 2025 21:54:57 +0000 Martin <debacle at debian.org> wrote:
>> 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 ?

That, or just move the calls to chown below the #DEBHELPER# line?
(Of course, guarded with an if [ "$1" == "configure" ]; ...)



More information about the Pkg-xmpp-devel mailing list