[Pkg-xmpp-devel] Bug#1104578: jabber-muc: preinst fails, calls adduser without Pre-Depend-ing on it
Adrian Bunk
bunk at debian.org
Mon Jun 16 21:55:06 BST 2025
On Wed, May 07, 2025 at 08:30:00PM +0000, Martin wrote:
> 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" ]; ...)
Is there a reason why the existing code could not just be moved from the
preinst to "configure" in postinst, without any actual change?
This would be the simple fix.
cu
Adrian
More information about the Pkg-xmpp-devel
mailing list