[systemd-devel] Using sysusers to setup a new system

Lennart Poettering lennart at poettering.net
Tue Dec 26 11:43:59 UTC 2017


On Di, 26.12.17 11:45, Jérémy Rosen (jeremy.rosen at smile.fr) wrote:

> > The second issue[2] is about the lp group defined in
> > /sysusers.d///basic.conf/. Because the /cups/ Arch package set rights on
> > files based on the lp group it needs a static gid (pacman requirement).
> > lp defined in /sysusers.d///basic.conf/ is without gid[5], so what's the
> > best way to override it?
> > 
> 
> hmm, tricky... I see a couple of answers
> 
> 1) open a RFE on github asking that the lp group be defined in a
> base-lp.conf file, so it can be separately overriden (ideally with a patch)
> 2) just override the systemd-provided basic.conf with arch's version. You
> are the distro maintainer, so it's ok to do that.
> 3) if you don't want to just replace basic.conf, you can create an
> archbasic.conf file that would override just the lp group (in case of double
> definition the lexicographycally first entry wins, and arch starts with an a
> )
>     That will cause warnings, but that might be ok, depending on what your
> exact constraints are..

As mentioned, if #3 is the way you want to go, please file a bug if
necessary, so that we can remove any warnings from systemd-sysusers
when two entries are seen for the same user than can be "merged"
without contradictions.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list