1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-28 07:21:32 +03:00
systemd-stable/sysusers.d
Rasmus Villemoes 4ced52595f sysusers: avoid creating spurious "nobody" group
On distros using Debian's base-passwd, the name of the group with gid 65534 is
nogroup. Currently, systemd-sysusers creates a spurious "nobody" group

  systemd-sysusers[243]: Creating group nobody with gid 996

That's both confusing and redundant, as the nobody user still has primary group
65534 aka nogroup, and the nobody group simply goes completely unused.

So explicitly specify the primary group of the nobody user, and add a line
ensuring that that group exists.

This is not a problem for Debian (or Ubuntu) itself, as they add their own
version of basic.conf in their systemd build logic. But it appears on for
example Yocto/OpenEmbedded.
2021-11-30 16:16:25 +01:00
..
basic.conf.in sysusers: avoid creating spurious "nobody" group 2021-11-30 16:16:25 +01:00
meson.build build: preserve correct mode when generating files via jinja2 2021-11-08 12:06:48 +00:00
README Add READMEs in all .d directories 2021-03-26 09:35:07 +01:00
systemd-coredump.conf sysusers: split up systemd.conf 2021-07-11 18:00:25 +02:00
systemd-journal.conf.in sysusers: split up systemd.conf 2021-07-11 18:00:25 +02:00
systemd-network.conf.in sysusers: split up systemd.conf 2021-07-11 18:00:25 +02:00
systemd-oom.conf sysusers: split up systemd.conf 2021-07-11 18:00:25 +02:00
systemd-remote.conf meson: minor cleanup 2021-07-11 18:00:28 +02:00
systemd-resolve.conf.in sysusers: split up systemd.conf 2021-07-11 18:00:25 +02:00
systemd-timesync.conf.in sysusers: split up systemd.conf 2021-07-11 18:00:25 +02:00

Files in this directory contain configuration for systemd-sysusers, a program
to allocate system users and groups.

See man:sysusers.d(5) for explanation of the configuration file format, and
man:systemd-sysusers(8) for a description of when and how this configuration is
applied.

Use 'systemd-analyze cat-config sysusers.d' to display the effective config.