#1134986 clevis: switch to sysusers.d

Package:
src:clevis
Source:
src:clevis
Submitter:
Luca Boccassi
Date:
2026-04-26 17:21:02 UTC
Severity:
normal
Tags:
#1134986#5
Date:
2026-04-26 17:17:54 UTC
From:
To:
Dear Maintainer(s),

sysusers.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

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 for the postinst setup.