From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 4LC+Nw0GYmTrYgEASxT56A (envelope-from ) for ; Mon, 15 May 2023 12:14:38 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id AGTJNg0GYmSzbgEAG6o9tA (envelope-from ) for ; Mon, 15 May 2023 12:14:37 +0200 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 93C77532E for ; Mon, 15 May 2023 12:14:37 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pyUYr-00031U-N1; Mon, 15 May 2023 05:32:09 -0400 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 1pyUYo-00031I-Re for bug-guix@gnu.org; Mon, 15 May 2023 05:32:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pyUYn-0003iM-JE for bug-guix@gnu.org; Mon, 15 May 2023 05:32:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pyUYk-0006Xi-LV; Mon, 15 May 2023 05:32:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#63516: Static networking should wait for interfaces to be up Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: julien@lepiller.eu, bug-guix@gnu.org Resent-Date: Mon, 15 May 2023 09:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 63516 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 63516@debbugs.gnu.org Cc: Julien Lepiller X-Debbugs-Original-To: bug-guix@gnu.org X-Debbugs-Original-Xcc: Julien Lepiller Received: via spool by submit@debbugs.gnu.org id=B.168414307325086 (code B ref -1); Mon, 15 May 2023 09:32:02 +0000 Received: (at submit) by debbugs.gnu.org; 15 May 2023 09:31:13 +0000 Received: from localhost ([127.0.0.1]:42760 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pyUXw-0006WY-Ly for submit@debbugs.gnu.org; Mon, 15 May 2023 05:31:13 -0400 Received: from lists.gnu.org ([209.51.188.17]:49316) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pyUXu-0006WQ-U1 for submit@debbugs.gnu.org; Mon, 15 May 2023 05:31:11 -0400 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 1pyUXs-0002wb-C6 for bug-guix@gnu.org; Mon, 15 May 2023 05:31:10 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pyUXn-0003ap-ID for bug-guix@gnu.org; Mon, 15 May 2023 05:31:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=sf0PmdCOqc0k4xHwwI1tObNVbynUJJIvhG22U+poB8s=; b=rc5DxcE1YCdwhVyc7yidc0a726ZicTHWPswP3anGQDB2epuw3S+arsOU KHMjjSanJ7vF+Vb3ABunl7frNL4YzQ7xMl3pIWHSEZTdGNwYTEbmQy9Qr EIioii4HzEcAyOGn4HGO4e0rL14OWELx/ZLX72++nZr2/EbkkXIExLPgT 8=; X-IronPort-AV: E=Sophos;i="5.99,276,1677538800"; d="scan'208";a="56075926" Received: from unknown (HELO ribbon) ([193.50.110.247]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 May 2023 11:30:58 +0200 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Sextidi 26 =?UTF-8?Q?Flor=C3=A9al?= an 231 de la =?UTF-8?Q?R=C3=A9volution,?= jour du Fusain 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: Mon, 15 May 2023 11:30:58 +0200 Message-ID: <87pm726iwd.fsf@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.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.104; envelope-from=ludovic.courtes@inria.fr; helo=mail3-relais-sop.national.inria.fr X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1684145677; a=rsa-sha256; cv=none; b=IGNHKZ9gEjbvfp44CikKEJeyLnnfwqoRd7uJhzKFYqcLT2GwGF52kiEb5AB78pesxd8dZr ZT8H+tl1uK+VWMbjYO+534LJolY3bJq3QpF3LCCy1xHrCZJFcY0Awhk8ZSpnptf4GLj7Lr SvCgA18t97206wOAegzc4uKmiqcvTqJIbUp8L5Ng9BqnDE9t8MMoWXtIleW0XYw4G7G/sd UDpIwzyoMWix4SW8Qb3exyzz+Op6iHvrRqEuteZxS91FoZOMgyRVl5XgMCmkAMSG14JHiZ R+AGRlBF1CeB3Ry5gEfKq0jBRhGD4RkISLeBEBMv/Nhy1BsQ1Qcvpmu2zYQOSA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=rc5DxcE1; dmarc=fail reason="SPF not aligned (relaxed)" header.from=inria.fr (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1684145677; 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:dkim-signature; bh=sf0PmdCOqc0k4xHwwI1tObNVbynUJJIvhG22U+poB8s=; b=UwyV7+4IG8fm7kXq584hdbLRFoAuX9gBl5hOSTm8GlotqHp0wayBQCq9UxkeIduBRnPJYZ /M4QxJBsQBaVmLxf/N9V3IcXeiQV/bj+MrtvVWGcRt8Okuv+dXE63usVOnLD1xZZkyOwaA SG35JVrhwONhEYQGoTVIIfGjEE2fbdOSs2l5Kmcvmdyw9qe++9qxWfPXXZxLpgN0FRmzs4 nZ7MFwcxpJVwztcLA2tGCVqQeD4uQtUCFnSz69jR64HCamEmwxiHgzTjpxEoxAKW4ESD98 QabdCBkVE3eB0iNl40/WEC82DrwEEIVtcUGsqs1UwsZjIESeffJNTWjmmDWmxw== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=rc5DxcE1; dmarc=fail reason="SPF not aligned (relaxed)" header.from=inria.fr (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 7.11 X-Spam-Score: 7.11 X-Migadu-Queue-Id: 93C77532E X-TUID: XElpxwDwcjEw Hi! With shepherd 0.10.0 starting services in parallel, I observed =E2=80=98networking=E2=80=99 (from =E2=80=98static-networking-service-type= =E2=80=99) starting too early, before the corresponding interfaces were available: --8<---------------cut here---------------start------------->8--- [ 21.863249] shepherd[1]: Service udev started. [ 21.863414] shepherd[1]: Service udev running with value 196. [ 21.865686] shepherd[1]: Starting service networking... [ 21.865822] shepherd[1]: Starting service file-system-/boot/efi... [ 21.986025] shepherd[1]: Exception caught while starting #< 7f9= bf08434e0>: (no-such-device "eno1" [ 22.738237] udevd[196]: starting eudev-3.2.11 [ 22.767830] udevd[196]: no sender credentials received, message ignored [...] [ 23.562275] tg3 0000:05:00.0 eth0: Tigon3 [partno(BCM95720) rev 5720000]= (PCI Express) MAC address b8:cb:2 [ 23.562290] tg3 0000:05:00.0 eth0: attached PHY is 5720C (10/100/1000Bas= e-T Ethernet) (WireSpeed[1], EEE[1 [ 23.562298] tg3 0000:05:00.0 eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF= [1] TSOcap[1] [ 23.562305] tg3 0000:05:00.0 eth0: dma_rwctrl[00000001] dma_mask[64-bit] [ 23.596221] tg3 0000:05:00.1 eth1: Tigon3 [partno(BCM95720) rev 5720000]= (PCI Express) MAC address b8:cb:2 [ 23.596234] tg3 0000:05:00.1 eth1: attached PHY is 5720C (10/100/1000Bas= e-T Ethernet) (WireSpeed[1], EEE[1 [ 23.596242] tg3 0000:05:00.1 eth1: RXcsums[1] LinkChgREG[0] MIirq[0] ASF= [1] TSOcap[1] [ 23.596249] tg3 0000:05:00.1 eth1: dma_rwctrl[00000001] dma_mask[64-bit] [ 23.599725] tg3 0000:05:00.0 eno1: renamed from eth0 [ 23.613468] iTCO_vendor_support: vendor-support=3D0 [ 23.619114] iTCO_wdt iTCO_wdt: Found a Intel PCH TCO device (Version=3D6= , TCOBASE=3D0x0400) [ 23.619327] iTCO_wdt iTCO_wdt: initialized. heartbeat=3D30 sec (nowayout= =3D0) [ 23.645196] tg3 0000:05:00.1 eno2: renamed from eth1 [ 23.727153] Error: Driver 'pcspkr' is already registered, aborting... [ 23.738237] ipmi_si dmi-ipmi-si.0: Removing SMBIOS-specified kcs state m= achine in favor of ACPI [ 23.738239] ipmi_si: Adding ACPI-specified kcs state machine [ 23.738273] ipmi_si: Trying ACPI-specified kcs state machine at i/o addr= ess 0xca8, slave address 0x20, irq [ 23.926348] shepherd[1]: Service file-system-/boot/efi has been started. [ 23.927164] shepherd[1]: Service networking failed to start. --8<---------------cut here---------------end--------------->8--- Before doing =E2=80=98addr-add=E2=80=99 in =E2=80=98network-set-up/linux=E2= =80=99, should we wait for the interface to show up, by calling =E2=80=98get-links=E2=80=99 from Guile= -Netlink or something like that? Ludo=E2=80=99.