GNU bug report logs - #30613
'avahi-resolve <host>.local' works but 'ssh <host>.local' fails w/ "Name or service not known"

Previous Next

Package: guix;

Reported by: George myglc2 Clemmer <myglc2 <at> gmail.com>

Date: Mon, 26 Feb 2018 14:10:01 UTC

Severity: important

Done: ludo <at> gnu.org (Ludovic Courtès)

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 30613 in the body.
You can then email your comments to 30613 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#30613; Package guix. (Mon, 26 Feb 2018 14:10:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to George myglc2 Clemmer <myglc2 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 26 Feb 2018 14:10:01 GMT) Full text and rfc822 format available.

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

From: George myglc2 Clemmer <myglc2 <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: 'avahi-resolve <host>.local' works but 'ssh <host>.local' fails w/
 "Name or service not known"
Date: Mon, 26 Feb 2018 09:09:18 -0500
[Message part 1 (text/plain, inline)]
Running the attached config in a QEMU image, 'avahi-resolve
<host>.local' works but 'ssh <host>.local' fails w/ "Name or service not
known".

E.g, ...

g1 <at> server02 ~$ avahi-resolve --name nemo.local
nemo.local      fe80::1ccf:c589:7e5f:a21f

g1 <at> server02 ~$ ssh -vvv nemo.local
OpenSSH_7.6p1, OpenSSL 1.0.2n  7 Dec 2017
debug2: resolving "nemo.local" port 22
ssh: Could not resolve hostname nemo.local: Name or service not known

g1 <at> server02 ~$ guix --version
guix (GNU Guix) 0.14.0-9.bdf0c64

TIA - George

[server (application/octet-stream, attachment)]

Information forwarded to bug-guix <at> gnu.org:
bug#30613; Package guix. (Tue, 27 Feb 2018 19:24:02 GMT) Full text and rfc822 format available.

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

From: myglc2 <at> gmail.com
To: 30613 <at> debbugs.gnu.org
Subject: Re: bug#30613: 'avahi-resolve <host>.local' works but 'ssh
 <host>.local' fails w/ "Name or service not known"
Date: Tue, 27 Feb 2018 14:23:01 -0500
On 02/26/2018 at 09:09 George myglc2 Clemmer writes:

> Running the attached config in a QEMU image, 'avahi-resolve
> <host>.local' works but 'ssh <host>.local' fails w/ "Name or service not
> known".
>
> E.g, ...
>
> g1 <at> server02 ~$ avahi-resolve --name nemo.local
> nemo.local      fe80::1ccf:c589:7e5f:a21f
>
> g1 <at> server02 ~$ ssh -vvv nemo.local
> OpenSSH_7.6p1, OpenSSL 1.0.2n  7 Dec 2017
> debug2: resolving "nemo.local" port 22
> ssh: Could not resolve hostname nemo.local: Name or service not known
>
> g1 <at> server02 ~$ guix --version
> guix (GNU Guix) 0.14.0-9.bdf0c64
>
> TIA - George

FWIW, I notice irratic reports about starting avahi-daemon in
shepherd.log ...

g1 <at> g1 ~/bug/30613-avahi-resolve.works.ssh.doesnt/log$ grep avahi shepherd.log 
2018-02-25 22:08:26 Service avahi-daemon has been started.
2018-02-25 22:09:42 Service avahi-daemon has been started.
2018-02-27 08:27:15 Service avahi-daemon has been stopped.
2018-02-27 08:30:53 Service avahi-daemon has been started.
2018-02-27 08:55:23 Service avahi-daemon could not be started.
2018-02-27 11:26:12 Service avahi-daemon has been started.

... and when it does start, a warning about no NSS support in
/var/log/messages:

g1 <at> g1 ~/bug/30613-avahi-resolve.works.ssh.doesnt/log$ grep avahi debug
Feb 25 22:08:24 localhost avahi-daemon[346]: Found user 'avahi' (UID 998) and group 'avahi' (GID 983).
Feb 25 22:08:25 localhost avahi-daemon[346]: Successfully dropped root privileges.
Feb 25 22:08:25 localhost avahi-daemon[346]: avahi-daemon 0.7 starting up.
Feb 25 22:08:26 localhost avahi-daemon[346]: WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
Feb 25 22:08:27 localhost avahi-daemon[346]: Successfully called chroot().
Binary file debug matches
g1 <at> g1 ~/bug/30613-avahi-resolve.works.ssh.doesnt/log$ 

HTH - George




Severity set to 'important' from 'normal' Request was from ludo <at> gnu.org (Ludovic Courtès) to control <at> debbugs.gnu.org. (Thu, 15 Mar 2018 09:32:02 GMT) Full text and rfc822 format available.

Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Sat, 17 Mar 2018 23:25:01 GMT) Full text and rfc822 format available.

Notification sent to George myglc2 Clemmer <myglc2 <at> gmail.com>:
bug acknowledged by developer. (Sat, 17 Mar 2018 23:25:02 GMT) Full text and rfc822 format available.

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

From: ludo <at> gnu.org (Ludovic Courtès)
To: George myglc2 Clemmer <myglc2 <at> gmail.com>
Cc: 30613-done <at> debbugs.gnu.org
Subject: Re: bug#30613: 'avahi-resolve <host>.local' works but 'ssh
 <host>.local' fails w/ "Name or service not known"
Date: Sun, 18 Mar 2018 00:23:55 +0100
Hi,

George myglc2 Clemmer <myglc2 <at> gmail.com> skribis:

> Running the attached config in a QEMU image, 'avahi-resolve
> <host>.local' works but 'ssh <host>.local' fails w/ "Name or service not
> known".
>
> E.g, ...
>
> g1 <at> server02 ~$ avahi-resolve --name nemo.local
> nemo.local      fe80::1ccf:c589:7e5f:a21f
>
> g1 <at> server02 ~$ ssh -vvv nemo.local
> OpenSSH_7.6p1, OpenSSL 1.0.2n  7 Dec 2017
> debug2: resolving "nemo.local" port 22
> ssh: Could not resolve hostname nemo.local: Name or service not known

I believe this is fixed by commit
b34ac8248205d64b4023412e61512dfefe44cb9e.

Thanks,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#30613; Package guix. (Sun, 18 Mar 2018 01:51:01 GMT) Full text and rfc822 format available.

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

From: myglc2 <at> gmail.com
To: 30613 <at> debbugs.gnu.org
Cc: ludo <at> gnu.org
Subject: Re: bug#30613: 'avahi-resolve <host>.local' works but 'ssh
 <host>.local' fails w/ "Name or service not known"
Date: Sat, 17 Mar 2018 21:49:57 -0400
Hi  Ludo’,

On 03/18/2018 at 00:23 Ludovic Courtès writes:

> I believe this is fixed by commit
> b34ac8248205d64b4023412e61512dfefe44cb9e.

Yes thank you. That fixed it here too. - George




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

This bug report was last modified 6 years and 14 days ago.

Previous Next


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