Bug#888126: [patch] Please enable systemd-sysusers unit

Michael Vogt mvo at ubuntu.com
Tue Jan 23 15:15:07 GMT 2018


package: systemd
version: 236-3

Dear systemd team,


please enable the systemd-sysuser.service unit. The rational is that
users who want to use this inside their containers/deployments can do
so. Attached is a (trivial) patch to enable the unit. It is also
documented widely and the fact that it does not work on Debian (and
Ubuntu) is slightly surprising.

There is no downside (AFAICS), the unit is conditiional on
ConditionNeedsUpdate=/etc so it will never run on default Debian
systems. 

I also looked into providing debian specific basic.conf that would
re-generate the base-passwd passwd.master (and group) file. However it
looks like the systemd-sysusers file format is not expressive enough
for this (which is slightly unfortunate). I.e. we have entries like

    sync:*:4:65534:sync:/bin:/bin/sync

which cannot be represented because you cannot specify a different
primary gid in the sysusers file (or a login shell). So extra work is
required for this but (personally) I would love to this is. 


Thanks for your consideration!
 Michael
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Enable-sysusers-service-units.patch
Type: text/x-diff
Size: 1041 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20180123/23f641ee/attachment.patch>


More information about the Pkg-systemd-maintainers mailing list