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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 30540 in the body.
You can then email your comments to 30540 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#30540; Package guix. (Mon, 19 Feb 2018 23:08:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andreas Enge <andreas <at> enge.fr>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 19 Feb 2018 23:08:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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





Reply sent to Leo Famulari <leo <at> famulari.name>:
You have taken responsibility. (Tue, 20 Feb 2018 00:31:01 GMT) Full text and rfc822 format available.

Notification sent to Andreas Enge <andreas <at> enge.fr>:
bug acknowledged by developer. (Tue, 20 Feb 2018 00:31:01 GMT) Full text and rfc822 format available.

Message #10 received at 30540-done <at> debbugs.gnu.org (full text, mbox):

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 1 (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)]

Merged 30298 30540. Request was from Leo Famulari <leo <at> famulari.name> to control <at> debbugs.gnu.org. (Tue, 20 Feb 2018 00:32:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#30540; Package guix. (Tue, 20 Feb 2018 10:09:02 GMT) Full text and rfc822 format available.

Message #15 received at 30540-done <at> debbugs.gnu.org (full text, mbox):

From: Andreas Enge <andreas <at> enge.fr>
To: Leo Famulari <leo <at> famulari.name>
Cc: 30540-done <at> debbugs.gnu.org
Subject: Re: bug#30540: ssh: No user exists for uid 1000
Date: Tue, 20 Feb 2018 11:08:17 +0100
Hello Leo,

On Mon, Feb 19, 2018 at 07:30:44PM -0500, Leo Famulari wrote:
> We discussed this previously in <https://bugs.gnu.org/30298>.
> On Debian Stretch, I found that `apt-get install nscd` was sufficient.
> I'm going to merge this report with #30298.

thank you for your helpful reply and for merging the bugs. Indeed your
suggested solution works and, for the record, also fixed fetchmail, which
was affected as well.

Andreas





Information forwarded to bug-guix <at> gnu.org:
bug#30540; Package guix. (Tue, 20 Feb 2018 11:55:02 GMT) Full text and rfc822 format available.

Message #18 received at 30540-done <at> debbugs.gnu.org (full text, mbox):

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: Tue, 20 Feb 2018 06:54:30 -0500
[Message part 1 (text/plain, inline)]
On Tue, Feb 20, 2018 at 11:08:17AM +0100, Andreas Enge wrote:
> Hello Leo,
> 
> On Mon, Feb 19, 2018 at 07:30:44PM -0500, Leo Famulari wrote:
> > We discussed this previously in <https://bugs.gnu.org/30298>.
> > On Debian Stretch, I found that `apt-get install nscd` was sufficient.
> > I'm going to merge this report with #30298.
> 
> thank you for your helpful reply and for merging the bugs. Indeed your
> suggested solution works and, for the record, also fixed fetchmail, which
> was affected as well.

Great!

I do wonder if we should configure glibc with --enable-obsolete-nsl,
which apparentely restores the old behavior, at least until deprecation
turns into removal. I guess it depends on how many complaints there are,
and how soon we can rebuild glibc.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#30540; Package guix. (Tue, 20 Feb 2018 12:09:02 GMT) Full text and rfc822 format available.

Message #21 received at 30540-done <at> debbugs.gnu.org (full text, mbox):

From: Andreas Enge <andreas <at> enge.fr>
To: Leo Famulari <leo <at> famulari.name>
Cc: 30540-done <at> debbugs.gnu.org
Subject: Re: bug#30540: ssh: No user exists for uid 1000
Date: Tue, 20 Feb 2018 13:08:10 +0100
On Tue, Feb 20, 2018 at 06:54:30AM -0500, Leo Famulari wrote:
> I do wonder if we should configure glibc with --enable-obsolete-nsl,
> which apparentely restores the old behavior, at least until deprecation
> turns into removal. I guess it depends on how many complaints there are,
> and how soon we can rebuild glibc.

Maybe an item in the release notes would be enough? In general I am in
favour of going forward and not enabling obsolete features.

Andreas





Information forwarded to bug-guix <at> gnu.org:
bug#30540; Package guix. (Tue, 20 Feb 2018 12:53:01 GMT) Full text and rfc822 format available.

Message #24 received at 30540-done <at> debbugs.gnu.org (full text, mbox):

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: Tue, 20 Feb 2018 07:52:19 -0500
[Message part 1 (text/plain, inline)]
On Tue, Feb 20, 2018 at 01:08:10PM +0100, Andreas Enge wrote:
> On Tue, Feb 20, 2018 at 06:54:30AM -0500, Leo Famulari wrote:
> > I do wonder if we should configure glibc with --enable-obsolete-nsl,
> > which apparentely restores the old behavior, at least until deprecation
> > turns into removal. I guess it depends on how many complaints there are,
> > and how soon we can rebuild glibc.
> 
> Maybe an item in the release notes would be enough? In general I am in
> favour of going forward and not enabling obsolete features.

I'm in favor of this choice, too.
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 21 Mar 2018 11:24:04 GMT) Full text and rfc822 format available.

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

Previous Next


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