On May 13, Guillem Jover <guil...@debian.org> wrote:
systemd's sysuser support is only apparently slightly better than adduser (in that it is declarative), otherwise it feels rather underwhelming in the package management context. It does not solve being able to use such users in .deb files w/o maintainer scripts, it currently
This is much less of an issue that it used to be, because nowadays the/{etc,run,var/*}/$NAME directories can be created most of the times on demand by systemd with the right permissions, by using the ConfigurationDirectory, StateDirectory, etc... directives.
See systemd.exec(5) for details.
I suppose that you could implement support for calling systemd-sysusers directly in dpkg, if you think it is needed.also uses maintainer scripts for its normal operation (you just do not write them explicitly),
it does not solve bootstrapping issues, does
What do you mean here?
I think that this could be implemented in systemd-sysusers, if somebody cares enough to do it.not support setting a system-wide policy on whether to remove the users/groups on package purge, etc.
-- ciao, Marco
signature.asc
Description: PGP signature