[systemd-devel] systemd-sysusers does not create nobody user

Sébastien Luttringer seblu at seblu.net
Tue Sep 12 22:15:58 UTC 2017


On Tue, 2017-09-12 at 13:26 +0200, Lennart Poettering wrote:
> 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/t
> > ask/
> > 55589
> > 
> > A side effect, may segfault sshd. See: https://bugs.archlinux.org/task/5557
> > 0
> > 
> > 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
> 

Sure. Done here: https://github.com/systemd/systemd/issues/6808
Cheers,

Sébastien "Seblu" Luttringer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20170913/1a2fcbad/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 821 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20170913/1a2fcbad/attachment.sig>


More information about the systemd-devel mailing list