all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Pierre Neidhardt <mail@ambrevar.xyz>
To: Mathieu Othacehe <othacehe@gnu.org>
Cc: 45302@debbugs.gnu.org
Subject: bug#45302: Avahi substitute discovery keeps trying to ping unaccessible servers
Date: Tue, 26 Jan 2021 11:53:27 +0100	[thread overview]
Message-ID: <875z3k6kbc.fsf@ambrevar.xyz> (raw)
In-Reply-To: <87mtxf61z9.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 3298 bytes --]

Hi Mathieu,

> Glad you like it, and sorry for the late answer.

No worries! :)

>> substitute: guix substitute: warning: 10.0.0.5: connection failed: No route to host
>
> Once your laptop goes to sleep, Avahi should detect that the publish
> service is gone and remove it from the cache at
> /var/guix/discovery/publish.
>
> I'm having troubles reproducing it at home. Could you please run
> "avahi-browse -a" on your desktop, put your laptop to sleep, and check
> if the publish server disappears this way:
>
> --8<---------------cut here---------------start------------->8---
> - enp7s0f0 IPv6 guix-publish-cervin                           _guix_publish._tcp   local
> - enp7s0f0 IPv4 guix-publish-cervin                           _guix_publish._tcp   local
> --8<---------------cut here---------------end--------------->8---

To be sure we are on the same page, my desktop is the publisher, my
laptop is the client.

From my desktop:

--8<---------------cut here---------------start------------->8---
$ avahi-browse -a
+ enp7s0 IPv6 guix-publish-DESKTOP                                         _guix_publish._tcp   local
+ enp7s0 IPv4 guix-publish-DESKTOP                                         _guix_publish._tcp   local
+     lo IPv4 guix-publish-DESKTOP                                         _guix_publish._tcp   local
+ enp7s0 IPv6 LAPTOP                                                       _ssh._tcp            local
+ enp7s0 IPv6 DESKTOP                                                      _ssh._tcp            local
+ enp7s0 IPv4 LAPTOP                                                       _ssh._tcp            local
+ enp7s0 IPv4 DESKTOP                                                      _ssh._tcp            local
+     lo IPv4 DESKTOP                                                      _ssh._tcp            local
+ enp7s0 IPv6 LAPTOP [2a:81:b6:9b:6b:88]                                   _workstation._tcp    local
+ enp7s0 IPv6 DESKTOP [40:b0:76:0c:8d:47]                                  _workstation._tcp    local
+ enp7s0 IPv4 LAPTOP [2a:81:b6:9b:6b:88]                                   _workstation._tcp    local
+ enp7s0 IPv4 DESKTOP [40:b0:76:0c:8d:47]                                  _workstation._tcp    local
+     lo IPv4 DESKTOP [00:00:00:00:00:00]                                  _workstation._tcp    local
+ enp7s0 IPv6 LAPTOP                                                       _sftp-ssh._tcp       local
+ enp7s0 IPv6 DESKTOP                                                      _sftp-ssh._tcp       local
+ enp7s0 IPv4 LAPTOP                                                       _sftp-ssh._tcp       local
+ enp7s0 IPv4 DESKTOP                                                      _sftp-ssh._tcp       local
+     lo IPv4 DESKTOP                                                      _sftp-ssh._tcp       local
--8<---------------cut here---------------end--------------->8---

The output never changes, regardless of my laptop going to sleep or not.

You said "check if the publish server disappears" but why would it since it's
running on my desktop, which is not put to sleep?

Misunderstanding?  Forgive my ignorance about Avahi! :)

Cheers!

-- 
Pierre Neidhardt
https://ambrevar.xyz/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 511 bytes --]

      parent reply	other threads:[~2021-01-26 10:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-17 17:40 bug#45302: Avahi substitute discovery keeps trying to ping unaccessible servers Pierre Neidhardt
     [not found] ` <handler.45302.B.16082268462565.ack@debbugs.gnu.org>
2020-12-17 18:33   ` bug#45302: Acknowledgement (Avahi substitute discovery keeps trying to ping unaccessible servers) Pierre Neidhardt
2020-12-22  3:25 ` bug#45302: Avahi substitute discovery keeps trying to ping unaccessible servers Maxim Cournoyer
2020-12-22  9:45   ` Pierre Neidhardt
2021-01-11 13:24 ` Mathieu Othacehe
2021-01-18 11:14   ` Pierre Neidhardt
2021-01-26 10:53   ` Pierre Neidhardt [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=875z3k6kbc.fsf@ambrevar.xyz \
    --to=mail@ambrevar.xyz \
    --cc=45302@debbugs.gnu.org \
    --cc=othacehe@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.