Install and use sysusers.d config files #24

Closed
bluca wants to merge 1 commit from bluca/sysusers into master
bluca commented 2026-07-28 23:14:02 +02:00 (Migrated from github.com)

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

Note that this does not require a hard dependency on systemd,
debhelper generates depetencies correctly so that they work out
of the box on non-systemd and non-linux Debian builds seamlessly.

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 Note that this does not require a hard dependency on systemd, debhelper generates depetencies correctly so that they work out of the box on non-systemd and non-linux Debian builds seamlessly.
Owner

rebased, merged, and committed

rebased, merged, and committed
mark closed this pull request 2026-09-08 21:52:39 +02:00

Pull request closed

Sign in to join this conversation.
No description provided.