<html><head></head><body><div>On Tue, 2017-09-12 at 13:26 +0200, Lennart Poettering wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><pre>On Mo, 11.09.17 23:33, Sébastien Luttringer (<a href="mailto:seblu@seblu.net">seblu@seblu.net</a>) wrote:
<blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex">
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: <a href="https://bugs.archlinux.org/task/">https://bugs.archlinux.org/task/</a>
55589
A side effect, may segfault sshd. See: <a href="https://bugs.archlinux.org/task/55570">https://bugs.archlinux.org/task/55570</a>
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?
</blockquote>
Ouch! This sounds like a systemd bug indeed. Could you please file a
bug on github about this?
Lennart
</pre></blockquote><div><br></div><div>Sure. Done here: <a href="https://github.com/systemd/systemd/issues/6808">https://github.com/systemd/systemd/issues/6808</a></div><div><br></div><div>Cheers,</div><div><br></div><div><div style="white-space: normal;"><span><div>Sébastien "Seblu" Luttringer</div><div><br></div></span></div></div></body></html>