GNU bug report logs - #30540
ssh: No user exists for uid 1000

Previous Next

Package: guix;

Reported by: Andreas Enge <andreas <at> enge.fr>

Date: Mon, 19 Feb 2018 23:08:01 UTC

Severity: normal

Merged with 30298

Done: Leo Famulari <leo <at> famulari.name>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Leo Famulari <leo <at> famulari.name>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#30540: closed (ssh: No user exists for uid 1000)
Date: Tue, 20 Feb 2018 00:31:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 19 Feb 2018 19:30:44 -0500
with message-id <20180220003044.GA6440 <at> jasmine.lan>
and subject line Re: bug#30540: ssh: No user exists for uid 1000
has caused the debbugs.gnu.org bug report #30540,
regarding ssh: No user exists for uid 1000
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
30540: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=30540
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Andreas Enge <andreas <at> enge.fr>
To: bug-guix <at> gnu.org
Subject: ssh: No user exists for uid 1000
Date: Tue, 20 Feb 2018 00:06:45 +0100
Hello,

it looks like the glibc change when merging core-updates caused us to be
bitten by a bug that is known on NixOS:
   https://github.com/NixOS/nixpkgs/issues/31762

When I type "ssh whatever" (literally, or replacing "whatever" by a real
server name), then the error message
   No user exists for uid 1000
is printed and the ssh command is not executed.

I am using guix on top of debian.

Andreas



[Message part 3 (message/rfc822, inline)]
From: Leo Famulari <leo <at> famulari.name>
To: Andreas Enge <andreas <at> enge.fr>
Cc: 30540-done <at> debbugs.gnu.org
Subject: Re: bug#30540: ssh: No user exists for uid 1000
Date: Mon, 19 Feb 2018 19:30:44 -0500
[Message part 4 (text/plain, inline)]
On Tue, Feb 20, 2018 at 12:06:45AM +0100, Andreas Enge wrote:
> it looks like the glibc change when merging core-updates caused us to be
> bitten by a bug that is known on NixOS:
>    https://github.com/NixOS/nixpkgs/issues/31762
> 
> When I type "ssh whatever" (literally, or replacing "whatever" by a real
> server name), then the error message
>    No user exists for uid 1000
> is printed and the ssh command is not executed.

The issue is that glibc 2.26 deprecated the "compat" query type of the
Name Service Switch.

We discussed this previously in <https://bugs.gnu.org/30298>.

One can adjust to the change by either using the nscd daemon [0] or
editing /etc/nsswitch.conf and replacing instances of 'compat' with
'files'.

On Debian Stretch, I found that `apt-get install nscd` was sufficient.

I'm going to merge this report with #30298.

[0] We already "strongly recommend" using nscd:
https://www.gnu.org/software/guix/manual/html_node/Application-Setup.html#Name-Service-Switch-1
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 7 years and 86 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.