From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id r314KUmquGD3mAAAgWs5BA (envelope-from ) for ; Thu, 03 Jun 2021 12:09:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id KLgeJEmquGA1cQAA1q6Kng (envelope-from ) for ; Thu, 03 Jun 2021 10:09:13 +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 BD5C423FD1 for ; Thu, 3 Jun 2021 12:09:12 +0200 (CEST) Received: from localhost ([::1]:56044 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lokHm-00019R-Sf for larch@yhetil.org; Thu, 03 Jun 2021 06:09:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60396) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lokHf-00018U-1L for bug-guix@gnu.org; Thu, 03 Jun 2021 06:09:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59287) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lokHe-0002h9-QA; Thu, 03 Jun 2021 06:09:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lokHe-0002f9-LN; Thu, 03 Jun 2021 06:09:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#48808: List of discovered substitute servers not refreshed? Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: othacehe@gnu.org, bug-guix@gnu.org Resent-Date: Thu, 03 Jun 2021 10:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48808 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 48808@debbugs.gnu.org X-Debbugs-Original-To: X-Debbugs-Original-Xcc: Mathieu Othacehe Received: via spool by submit@debbugs.gnu.org id=B.162271490310174 (code B ref -1); Thu, 03 Jun 2021 10:09:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 Jun 2021 10:08:23 +0000 Received: from localhost ([127.0.0.1]:42600 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lokH0-0002e1-SK for submit@debbugs.gnu.org; Thu, 03 Jun 2021 06:08:23 -0400 Received: from lists.gnu.org ([209.51.188.17]:43168) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lokGz-0002dv-W6 for submit@debbugs.gnu.org; Thu, 03 Jun 2021 06:08:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60266) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lokGz-0000pZ-Ro for bug-guix@gnu.org; Thu, 03 Jun 2021 06:08:21 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:61382) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lokGx-0002Ao-Ll for bug-guix@gnu.org; Thu, 03 Jun 2021 06:08:21 -0400 IronPort-HdrOrdr: A9a23:/rvFla1CTiPsS6L3wHKjrQqjBMckLtp133Aq2lEZdPU7SKClfqyV8cjzqyWbtN95YhhJ8uxoU5PufZqzz/RI3bU= X-IronPort-AV: E=Sophos;i="5.83,244,1616454000"; d="scan'208";a="511471485" Received: from 91-160-117-201.subs.proxad.net (HELO ribbon) ([91.160.117.201]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Jun 2021 12:08:04 +0200 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 15 Prairial an 229 de la =?UTF-8?Q?R=C3=A9volution?= 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: Thu, 03 Jun 2021 12:08:04 +0200 Message-ID: <87y2bruupn.fsf@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=192.134.164.83; envelope-from=ludovic.courtes@inria.fr; helo=mail2-relais-roc.national.inria.fr X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: Mathieu Othacehe Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1622714953; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=8UCjfNwNxOWymqr3ObFrauh0WcDQ0bOIdigHxdpOb9o=; b=uPAa0MzLMGlHhLMVFWFAlU9zxeAhKRafGov57k/c3H9oRslDgzH1Vg5XHRL6OWGg9RhtYB b52T3DvVAwR6mAcHHD2l9djyQ/VUO+FQuAqlObbABBIKFyDELc/cPOKH1tQu5+UwWybQC7 Bxgk5yjD2Yc77jHgrKckaoLyshD5IjGiTFxD24P04niRGxPbzbtY2pGmssCGkymUVjWnjB lpFvWJLFReyJ/VgqS8u3RAg2V8qVLSAsD91WAxxA/YQwIPb6/4ZdwkO71r4RK9tx5Z73w5 TFCupGTOsU5gvzrLPxQO4hybQ/O2kJw6lZIBSPo4496WjsTBAuUTn9vt7xWWew== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622714953; a=rsa-sha256; cv=none; b=OQzfCUF2OiOqFfx9H066TiFUfPceKnonQPN50sN+ebCzI/Byf+q2frT53TjMGFomw3xTWe XUMYqeeWJm57DTEn9Ra/bLO8/yDrgxTVz9Z3NxCFHHHplo0pFbVGmFi7YiW6TgSy92fbfi yffrRi2RTiFVr1aeJhkLz/5wqK3wC2OgVqn/fVpEHmm7GJM9uTuhsl2FZCC1/gudngy9Q1 aMfnr3hqiAj/n7XVlOuSuxfC+Ud5hYIhaIYmrxS1PVT/EeTOneGnS9oBCk1b8X11kFNh0P 58kPiYVZUgeSRZOKZBxrZqi2AxnIVuyH+b3XDlljla6vbJAS3NV/S4spig0tCA== ARC-Authentication-Results: i=1; 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-Spam-Score: -1.43 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: BD5C423FD1 X-Spam-Score: -1.43 X-Migadu-Scanner: scn0.migadu.com X-TUID: Dq+9cDaNIELr Hi! I=E2=80=99ve turned on discovery and guix-daemon discovered the laptop next= to me (yay!). However, more than 10mn after said laptop has been turned off, =E2=80=98guix substitute=E2=80=99 is still trying to connect to it. The disconnected laptop is still listed in /var/guix/discover/publish. It also shows up in =E2=80=98avahi-browse _guix_publish._tcp -r=E2=80=99, b= ut it fails to resolve: --8<---------------cut here---------------start------------->8--- Failed to resolve service 'guix-publish-XYZ' of type '_guix_publish._tcp' i= n domain 'local': Timeout reached --8<---------------cut here---------------end--------------->8--- Perhaps (guix scripts discover) should not just wait for =E2=80=98remove-service=E2=80=99 events but should also attempt to resolve = them? Or maybe the problem is that the TTL of the published entry is too long? I cannot find how to change that in the Guile-Avahi API though. Ludo=E2=80=99.