From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id MDnYMdT0D2AEDQAA0tVLHw (envelope-from ) for ; Tue, 26 Jan 2021 10:54:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id wD2YLdT0D2BFMQAAbx9fmQ (envelope-from ) for ; Tue, 26 Jan 2021 10:54:12 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 0FA349401C0 for ; Tue, 26 Jan 2021 10:54:11 +0000 (UTC) Received: from localhost ([::1]:49142 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l4Lz7-00019q-8v for larch@yhetil.org; Tue, 26 Jan 2021 05:54:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57536) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l4Lz0-00019j-6O for bug-guix@gnu.org; Tue, 26 Jan 2021 05:54:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:57529) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l4Lyz-0000E6-V3 for bug-guix@gnu.org; Tue, 26 Jan 2021 05:54:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l4Lyz-0004Sx-Qj for bug-guix@gnu.org; Tue, 26 Jan 2021 05:54:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#45302: Avahi substitute discovery keeps trying to ping unaccessible servers Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 26 Jan 2021 10:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45302 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mathieu Othacehe Received: via spool by 45302-submit@debbugs.gnu.org id=B45302.161165841717133 (code B ref 45302); Tue, 26 Jan 2021 10:54:01 +0000 Received: (at 45302) by debbugs.gnu.org; 26 Jan 2021 10:53:37 +0000 Received: from localhost ([127.0.0.1]:40842 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l4Lyb-0004SG-0a for submit@debbugs.gnu.org; Tue, 26 Jan 2021 05:53:37 -0500 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:49059) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l4LyZ-0004Rx-1Y for 45302@debbugs.gnu.org; Tue, 26 Jan 2021 05:53:35 -0500 X-Originating-IP: 86.247.16.87 Received: from bababa (lfbn-idf2-1-709-87.w86-247.abo.wanadoo.fr [86.247.16.87]) (Authenticated sender: mail@ambrevar.xyz) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id D2972240005; Tue, 26 Jan 2021 10:53:27 +0000 (UTC) From: Pierre Neidhardt In-Reply-To: <87mtxf61z9.fsf@gnu.org> References: <87lfdw72lq.fsf@ambrevar.xyz> <87mtxf61z9.fsf@gnu.org> Date: Tue, 26 Jan 2021 11:53:27 +0100 Message-ID: <875z3k6kbc.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 45302@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.95 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 0FA349401C0 X-Spam-Score: -1.95 X-Migadu-Scanner: scn1.migadu.com X-TUID: WSQeR7iEB1hZ --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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 ro= ute 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_publi= sh._tcp local > - enp7s0f0 IPv4 guix-publish-cervin _guix_publi= sh._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=20my desktop: =2D-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 =2D-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! =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFGBAEBCAAwFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAmAP9KcSHG1haWxAYW1i cmV2YXIueHl6AAoJEJvc9Jeku8x/0wsIAKjxPT59yi8gO2xQrLGElUTbx2DTkt4S HHRzs8LwWPlflQdqS2BpLU+hPfcUbmSTCBbfrr0wzFIxoGqrWOAkgnScBYZFUDwP UVlWrBniA5hZhk8N6+ZnPeXja75VxfNG7ZTu8VtJhvXF/vU4J/OFwYTxSgrO8Vf9 WK/1ifGVGrCuYlChFlWoxi9JSEQlPgyJm4XaVModJRBlMZY7ryp/WFbDXZSLj+ds Ta20y60TMQlFFi8PQoFGGmXQ7ZrFXLJ2e5CLzmHLhCTaRO7AC+K+CO5Xz03qm5ZB +nC6/bynfGWoi4cH/qroLvD2rhCF2TcCRlX3pjrKgIWoB4ciAswo9t4= =WjMN -----END PGP SIGNATURE----- --=-=-=--