[systemd-devel] systemd-sysusers does not create nobody user
Lennart Poettering
lennart at poettering.net
Tue Sep 12 11:26:40 UTC 2017
On Mo, 11.09.17 23:33, Sébastien Luttringer (seblu at seblu.net) wrote:
> Hello,
>
> It appears that the nobody user/group are not created by systemd-sysusers,
> despite its definition in sysusers.d/basic.conf.
> I guess nss_systemd is always providing answers for nobody user/group which
> mislead systemd-sysusers.
>
> # grep nobody /etc/passwd; echo $?
> 1
> # getent passwd nobody
> nobody:*:65534:65534:User Nobody:/:/sbin/nologin
> # SYSTEMD_LOG_LEVEL=debug systemd-sysusers /usr/lib/sysusers.d/basic.conf
> Group nobody already exists.
> User nobody already exists.
>
> I guess the issue is the same for root user.
> For reference, this come from this bug report: https://bugs.archlinux.org/task/
> 55589
>
> A side effect, may segfault sshd. See: https://bugs.archlinux.org/task/55570
>
> I tend to think that systemd-users should be able to start working with and
> empty passwd/group.
> What do you think is the correct way to fix these two?
Ouch! This sounds like a systemd bug indeed. Could you please file a
bug on github about this?
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list