From unknown Wed Aug 20 04:12:08 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#69442 <69442@debbugs.gnu.org> To: bug#69442 <69442@debbugs.gnu.org> Subject: Status: Discovered substitute servers not removed when they go offline Reply-To: bug#69442 <69442@debbugs.gnu.org> Date: Wed, 20 Aug 2025 11:12:08 +0000 retitle 69442 Discovered substitute servers not removed when they go offline reassign 69442 guix submitter 69442 Ludovic Court=C3=A8s severity 69442 important thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 27 18:40:06 2024 Received: (at submit) by debbugs.gnu.org; 27 Feb 2024 23:40:06 +0000 Received: from localhost ([127.0.0.1]:37398 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rf73N-0002s1-QG for submit@debbugs.gnu.org; Tue, 27 Feb 2024 18:40:06 -0500 Received: from lists.gnu.org ([209.51.188.17]:46570) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rf73K-0002r1-Td for submit@debbugs.gnu.org; Tue, 27 Feb 2024 18:40:03 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rf6Vy-0004DZ-3b for bug-guix@gnu.org; Tue, 27 Feb 2024 18:05:34 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rf6Vw-0002xw-3p for bug-guix@gnu.org; Tue, 27 Feb 2024 18:05:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=THWrwI6t0A8lh4xrMxgw/fzzOvkasHlCK8IOsg+GRNo=; b=SegMJ+QXT4h4Q/ kmV25cKiWKZhIoYMaJhz1nONCZjOhAC2hzyRNnNp9AJEu/9BLfzFRfI3bBrC94HYPN0sJ0H4tKiI3 4gsruGgeM636BlZCi+c+GLsczdZIGFwTrT5BmfgnEp1eu57mynbLwhZi5YL6JKacrMoC9BLFjnJae Eh5hJY4HTVWqnJfZ0r/FbI3sztsvrOvUM8C+EAQvYgUI4jjZC7weOoUVuQXK8W1ML8iSDE89o86qB /lzkoOa3lBPRLthlqDSYodC03ShetlfejM+54tDuZyuDlh/V4mIze35clXvIy/td4TxbzOyblpWA+ EGIOYKs+fiWHbupPeFAA==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: bug-guix@gnu.org Subject: Discovered substitute servers not removed when they go offline X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Nonidi 9 =?utf-8?Q?Vent=C3=B4se?= an 232 de la =?utf-8?Q?R=C3=A9volution=2C?= jour du Marsault X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Wed, 28 Feb 2024 00:05:29 +0100 Message-ID: <871q8xh5ja.fsf@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello, Substitute servers discovered over Avahi don=E2=80=99t disappear when they = go off-line: they remain in /var/guix/discover/publish =E2=80=9Cforever=E2=80= =9D (?) and =E2=80=98guix substitute=E2=80=99 keeps trying to connect to them, in vain. The problem AIUI is that the mDNS records are still valid according to their TTL and thus cached by avahi-daemon; we can only notice that things go wrong when trying to resolve: --8<---------------cut here---------------start------------->8--- $ avahi-browse _guix_publish._tcp -r + enp0s31f6 IPv6 guix-publish-xyz _guix_publish.= _tcp local + enp0s31f6 IPv4 guix-publish-xyz _guix_publish.= _tcp local Failed to resolve service 'guix-publish-xyz' of type '_guix_publish._tcp' i= n domain 'local': Timeout reached Failed to resolve service 'guix-publish-xyz' of type '_guix_publish._tcp' i= n domain 'local': Timeout reached --8<---------------cut here---------------end--------------->8--- (One way to reproduce that is to =E2=80=98pkill -9 avahi-daemon=E2=80=99 on= the machine that advertises the service.) Problem is that =E2=80=98avahi-browse-service-thread=E2=80=99 attempts to r= esolve services once for all; thus it never notices that services went away, at least not until some long TTL has expired. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 04 17:36:41 2024 Received: (at control) by debbugs.gnu.org; 4 Apr 2024 21:36:41 +0000 Received: from localhost ([127.0.0.1]:34797 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rsUlE-0001jm-38 for submit@debbugs.gnu.org; Thu, 04 Apr 2024 17:36:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55496) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rsUl1-0001h4-Jq for control@debbugs.gnu.org; Thu, 04 Apr 2024 17:36:37 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rsUkq-0000s1-Ua for control@debbugs.gnu.org; Thu, 04 Apr 2024 17:36:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:Subject:From:To:Date:in-reply-to: references; bh=hYW1hQ7db/nuhBrcgzmeH978J4Zb8OEKuZQ+IkLUFnA=; b=g8GWwkUgGzrftE oSjlGkQlWC9o9WrgfGk/oZRBwlpm8lJD7z9DjvMzS2zhYy0UJLCerxseAxGGu3vZpIMSthFqdy9RZ cdsXgx3lGWwMnt25rfgEIK808PO8ppGeK7z7d5O96UK74iYkZEzV+giag+Y4MjbyHfZrjlHXwpbTw HkpdflLiigoc0VCbe4GrFrEUc4rQDKzKO/BGtqusHfjgc7nFh8ThkkUwAk1z/wvb2vmls8xAmaKay wi01kCn3rwMZ6PR22CQ6g3obNDEshTSmC1jaqQoKnBlPxEnDylhvQPEKIGHeuP0iDzP5JE7UL4geF VsGnQzExfdFnl13ncLSg==; Date: Thu, 04 Apr 2024 23:36:12 +0200 Message-Id: <87bk6ou7xv.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #69442 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) severity 69442 important quit