On 2025-05-07 16:29, Pirate Praveen wrote: > On Tue, 06 May 2025 21:54:57 +0000 Martin <deba...@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" ]; ...)