Re: [systemd-devel] systemd-timesyncd: Cannot resolve user name systemd-timesync: No such process

2016-11-11 Thread Tom H
On Fri, Nov 11, 2016 at 4:13 PM, Michael Hirmke  wrote:
>
> Does anyone know, what "+::" in /etc/passwd means?

Users in the nis (by default) or nisplus db will be valid on that
system if you have "compat" on the "passwd" line of
"/etc/nsswitch.conf".
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] systemd-timesyncd: Cannot resolve user name systemd-timesync: No such process

2016-11-11 Thread Michael Hirmke
Hi Markus,

>On Friday 11 November 2016 15:13:00 Michael Hirmke wrote:

>> Does anyone know, what "+::" in /etc/passwd means?

>This line is for the NIS client.

thx for the explanation.

>regards
>Markur Köberl

Bye.

Bye.
Michael.
-- 
Michael Hirmke
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] systemd-timesyncd: Cannot resolve user name systemd-timesync: No such process

2016-11-11 Thread Michael Hirmke
Hi Simon,

>On Fri, 11 Nov 2016 at 15:13:00 +0100, Michael Hirmke wrote:
>> Does anyone know, what "+::" in /etc/passwd means?

>It's to do with the NSS "compat" plugin, which glues together
>NIS and a traditional password file.
>Look for "Compatibility mode (compat)" in
>http://man7.org/linux/man-pages/man5/nsswitch.conf.5.html

thx.
There seems to be a bug somewhere, I suppose.
Either entries behind that line shouldn't be ignored or all entries
have to be written before that line.

Ok, but that has nothing to do with systemd ;)

>S

Bye.
Michael.
-- 
Michael Hirmke
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] systemd-timesyncd: Cannot resolve user name systemd-timesync: No such process

2016-11-11 Thread Markus Koeberl
On Friday 11 November 2016 15:13:00 Michael Hirmke wrote:

> Does anyone know, what "+::" in /etc/passwd means?

This line is for the NIS client.


regards
Markur Köberl
-- 
Markus Koeberl
Graz University of Technology
Signal Processing and Speech Communication Laboratory
E-mail: markus.koeb...@tugraz.at
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] systemd-timesyncd: Cannot resolve user name systemd-timesync: No such process

2016-11-11 Thread Simon McVittie
On Fri, 11 Nov 2016 at 15:13:00 +0100, Michael Hirmke wrote:
> Does anyone know, what "+::" in /etc/passwd means?

It's to do with the NSS "compat" plugin, which glues together
NIS and a traditional password file.
Look for "Compatibility mode (compat)" in
http://man7.org/linux/man-pages/man5/nsswitch.conf.5.html

S
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] systemd-timesyncd: Cannot resolve user name systemd-timesync: No such process

2016-11-11 Thread Michael Hirmke
Hi Lennart,

>On Fri, 11.11.16 14:41, Michael Hirmke (m...@mike.franken.de) wrote:

>> Hi *,
>>
>> can anyone help me with this error message:
>>
>> systemd-timesyncd[857]: Cannot resolve user name systemd-timesync: No
>> such process
>>
>> This happens with systemd-228-13.1.x86_64 on openSuSE Leap 42.2 RC2.
>>
>> The user account systemd-timesync exists in /etc/passwd.

>What does "getent passwd systemd-timesync" and "getent group
>systemd-timesync" report?

getent passwd systemd-timesync
-> returns nothing

getent group systemd-timesync
-> returns:
systemd-timesync:x:463:


I found an entry "+::" in my passwd - no idea, what that means. I've
never seen that. All entries after that one are reported as non existent
by getent. I moved this line to the end of the file, and getent reports
the entries missing before.

Thx for that hint.

Does anyone know, what "+::" in /etc/passwd means?

>Lennart

Bye.
Michael.
-- 
Michael Hirmke
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] systemd-timesyncd: Cannot resolve user name systemd-timesync: No such process

2016-11-11 Thread Lennart Poettering
On Fri, 11.11.16 14:41, Michael Hirmke (m...@mike.franken.de) wrote:

> Hi *,
> 
> can anyone help me with this error message:
> 
> systemd-timesyncd[857]: Cannot resolve user name systemd-timesync: No
> such process
> 
> This happens with systemd-228-13.1.x86_64 on openSuSE Leap 42.2 RC2.
>
> The user account systemd-timesync exists in /etc/passwd.

What does "getent passwd systemd-timesync" and "getent group
systemd-timesync" report?

Lennart

-- 
Lennart Poettering, Red Hat
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel