From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from atuin.qyliss.net (localhost [IPv6:::1]) by atuin.qyliss.net (Postfix) with ESMTP id 122AD93F2; Sun, 03 May 2026 17:32:38 +0000 (UTC) Received: by atuin.qyliss.net (Postfix, from userid 993) id 3970293CB; Sun, 03 May 2026 17:32:36 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on atuin.qyliss.net X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DMARC_MISSING,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=4.0.1 Received: from fhigh-a7-smtp.messagingengine.com (fhigh-a7-smtp.messagingengine.com [103.168.172.158]) by atuin.qyliss.net (Postfix) with ESMTPS id B4F3593C6 for ; Sun, 03 May 2026 17:32:34 +0000 (UTC) Received: from phl-compute-05.internal (phl-compute-05.internal [10.202.2.45]) by mailfhigh.phl.internal (Postfix) with ESMTP id E04391400060; Sun, 3 May 2026 13:32:33 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-05.internal (MEProxy); Sun, 03 May 2026 13:32:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alyssa.is; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to; s=fm2; t=1777829553; x=1777915953; bh=t6e1Uz2MLsB4xWBXu9pLw wJarqnZH41tG1LDKLNgcoA=; b=Wmkj5fHKXojSQtxUiCY94nFbqRaPGx3CuPjSJ klluN6UW9LGk/SrKR/RCQHCqpsWZLZiuKrOFrEImxe20KCBwWtK3AwrX4nBdfG+Q krLfBT19OsPCB7EweN+XEYw0Mb9fKYHvGEdWsI/vbsNWSV9u/Mab5thHHUBA8ocu JrAy/czZ6A2QRkHsZNaxvbzoNFxZr6Au64A5sQadtsPkJBHjGwuOXtP3o979z8lP Yjch2aI6qvWRsegT4i7UN3TiVRIz9rV94Me1rnbmyjFIOfmba50Z1Yx7Rlpkq7XD mHb16nLs0vwWYwUN9ew1Pv6RTv3pO8eZZED1+P+L6J+IeY/QA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1777829553; x=1777915953; bh=t6e1Uz2MLsB4xWBXu9pLwwJarqnZH41tG1L DKLNgcoA=; b=pH4sYTV/DHBZrNO/taxXrUIPt+UGJkeHXWuO0uOaBn5tYJ9L4Jq 26OJRZD11WdVjuMv5wGP7j+bP1Objj13jBNz/C7z67vXEo/2MxYltZROxPuI8NLi KPCXbEMoB8SKKiYhZAzg/LwrQZDS3ijzfqjhdM7b9jUQ30iPT2oGVJAkM3MDfGxJ 7uMBmsgg1YuclVUxnW0TSOQYd9sJFVpvB5jQPz34FvVbSy6+jconCvhNVyo9twQT GIRA06dddrMB+HAaOqppA+suxpxqkDO2syIg6N6JNZoTPlYDdjc1Kyx87GvNNZ8/ Ve1o36kyOwgW82DR9kfVx+0b1ZlUCFiSKNw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefhedrtddtgdelieehjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecunecujfgurhephffvvefufffkofgggfestdekredtredttd enucfhrhhomheptehlhihsshgrucftohhsshcuoehhihesrghlhihsshgrrdhisheqnecu ggftrfgrthhtvghrnhepueefiedvheffveegieejjeevgfejjeduveekffeiveeuvedvte dvhfelieeutdfgnecuffhomhgrihhnpehkvghrnhgvlhdrohhrghenucevlhhushhtvghr ufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehhihesrghlhihsshgrrdhish dpnhgspghrtghpthhtohepvddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepuggv vhgvlhesshhpvggtthhruhhmqdhoshdrohhrghdprhgtphhtthhopeihuhhkrgeshihukh grrdguvghv X-ME-Proxy: Feedback-ID: i12284293:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 3 May 2026 13:32:33 -0400 (EDT) Received: by mbp.qyliss.net (Postfix, from userid 1000) id 6A9067E62F2F; Sun, 03 May 2026 19:32:32 +0200 (CEST) From: Alyssa Ross To: devel@spectrum-os.org Subject: [PATCH] img/app: only set known interfaces to up Date: Sun, 3 May 2026 19:31:17 +0200 Message-ID: <20260503173116.1489891-2-hi@alyssa.is> X-Mailer: git-send-email 2.53.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: 7HIHLI7OLJPY27IKWMBDPW4RBT6TFT6C X-Message-ID-Hash: 7HIHLI7OLJPY27IKWMBDPW4RBT6TFT6C X-MailFrom: hi@alyssa.is X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-devel.spectrum-os.org-0; header-match-devel.spectrum-os.org-1; header-match-devel.spectrum-os.org-2; header-match-devel.spectrum-os.org-3; header-match-devel.spectrum-os.org-4; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Yureka X-Mailman-Version: 3.3.9 Precedence: list List-Id: Patches and low-level development discussion Archived-At: <> List-Archive: <> List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Linux 7.1-rc1 defaults IPV6_SIT to built-in, which means a sit0 device always exists. (I think this is unintentional and have sent a patch to change it back to a module by default[1].) Depending on which interface, sit0 or the eth0 connected to the router, comes up first, networking may end up not working. Make our interface handling more robust by only bringing the interfaces from the router up, rather than all interfaces unconditionally. Link: https://lore.kernel.org/netdev/20260503165714.1477819-1-hi@alyssa.is/ [1] Fixes: 88f2695c ("Initial commit") Signed-off-by: Alyssa Ross --- Not sure whether maybe it would be a good idea to check type = 1 (ARPHRD_ETHER) as well? img/app/image/etc/mdev/iface | 1 + 1 file changed, 1 insertion(+) diff --git a/img/app/image/etc/mdev/iface b/img/app/image/etc/mdev/iface index 67eee84f..55ec160c 100755 --- a/img/app/image/etc/mdev/iface +++ b/img/app/image/etc/mdev/iface @@ -4,5 +4,6 @@ background { importas -Si INTERFACE + if { grep -q ^02:00: /sys/class/net/${INTERFACE}/address } ip link set $INTERFACE up } base-commit: ea05e3e48816037e442e6ee8205f924191c9634c -- 2.53.0