#1134957 mumble: switch to sysusers.d

Package:
src:mumble
Source:
src:mumble
Submitter:
Luca Boccassi
Date:
2026-04-26 11:33:03 UTC
Severity:
normal
Tags:
#1134957#5
Date:
2026-04-26 11:31:12 UTC
From:
To:
Dear Maintainer(s),

sysusers.d/tmpfiles.d config files allow a package to use declarative
configuration instead of manually written maintainer scripts. This
also allows image-based systems to be created with /usr/ only, and
also allows for factory resetting a system and recreating /etc/ on
boot.

https://www.freedesktop.org/software/systemd/man/latest/sysusers.d.html
https://www.freedesktop.org/software/systemd/man/latest/tmpfiles.d.html

The package already ships both, but still makes use of manual
scripting in postinst. Please find patches attached to stop deleting
the system user on removal, which is widely considered bad practice,
as the kernel recycles UIDs/GIDs, and to rely on the upstream
(patched) sysusers.d and tmpfiles.d for the postinst setup.

Also CI run and branch to pull if you prefer on Salsa:
https://salsa.debian.org/bluca/mumble/-/pipelines/1073980

Thanks!