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

Sébastien Luttringer seblu at seblu.net
Mon Sep 11 21:33:16 UTC 2017


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? 

Cheers,


Sébastien "Seblu" Luttringer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20170911/e90e62c1/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/20170911/e90e62c1/attachment.sig>


More information about the systemd-devel mailing list