* bug#30540: ssh: No user exists for uid 1000
@ 2018-02-19 23:06 Andreas Enge
2018-02-20 0:30 ` Leo Famulari
0 siblings, 1 reply; 6+ messages in thread
From: Andreas Enge @ 2018-02-19 23:06 UTC (permalink / raw)
To: 30540
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#30540: ssh: No user exists for uid 1000
2018-02-19 23:06 bug#30540: ssh: No user exists for uid 1000 Andreas Enge
@ 2018-02-20 0:30 ` Leo Famulari
2018-02-20 10:08 ` Andreas Enge
0 siblings, 1 reply; 6+ messages in thread
From: Leo Famulari @ 2018-02-20 0:30 UTC (permalink / raw)
To: Andreas Enge; +Cc: 30540-done
[-- Attachment #1: Type: text/plain, Size: 1019 bytes --]
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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#30540: ssh: No user exists for uid 1000
2018-02-20 0:30 ` Leo Famulari
@ 2018-02-20 10:08 ` Andreas Enge
2018-02-20 11:54 ` Leo Famulari
0 siblings, 1 reply; 6+ messages in thread
From: Andreas Enge @ 2018-02-20 10:08 UTC (permalink / raw)
To: Leo Famulari; +Cc: 30540-done
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#30540: ssh: No user exists for uid 1000
2018-02-20 10:08 ` Andreas Enge
@ 2018-02-20 11:54 ` Leo Famulari
2018-02-20 12:08 ` Andreas Enge
0 siblings, 1 reply; 6+ messages in thread
From: Leo Famulari @ 2018-02-20 11:54 UTC (permalink / raw)
To: Andreas Enge; +Cc: 30540-done
[-- Attachment #1: Type: text/plain, Size: 783 bytes --]
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.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#30540: ssh: No user exists for uid 1000
2018-02-20 11:54 ` Leo Famulari
@ 2018-02-20 12:08 ` Andreas Enge
2018-02-20 12:52 ` Leo Famulari
0 siblings, 1 reply; 6+ messages in thread
From: Andreas Enge @ 2018-02-20 12:08 UTC (permalink / raw)
To: Leo Famulari; +Cc: 30540-done
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#30540: ssh: No user exists for uid 1000
2018-02-20 12:08 ` Andreas Enge
@ 2018-02-20 12:52 ` Leo Famulari
0 siblings, 0 replies; 6+ messages in thread
From: Leo Famulari @ 2018-02-20 12:52 UTC (permalink / raw)
To: Andreas Enge; +Cc: 30540-done
[-- Attachment #1: Type: text/plain, Size: 575 bytes --]
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.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2018-02-20 12:53 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-19 23:06 bug#30540: ssh: No user exists for uid 1000 Andreas Enge
2018-02-20 0:30 ` Leo Famulari
2018-02-20 10:08 ` Andreas Enge
2018-02-20 11:54 ` Leo Famulari
2018-02-20 12:08 ` Andreas Enge
2018-02-20 12:52 ` Leo Famulari
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).