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 24DDA426F; Mon, 01 Dec 2025 17:05:34 +0000 (UTC) Received: by atuin.qyliss.net (Postfix, from userid 993) id F0585425C; Mon, 01 Dec 2025 17:05:30 +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-a5-smtp.messagingengine.com (fhigh-a5-smtp.messagingengine.com [103.168.172.156]) by atuin.qyliss.net (Postfix) with ESMTPS id 4B2F14255 for ; Mon, 01 Dec 2025 17:05:29 +0000 (UTC) Received: from phl-compute-10.internal (phl-compute-10.internal [10.202.2.50]) by mailfhigh.phl.internal (Postfix) with ESMTP id 593A514000BE; Mon, 1 Dec 2025 12:05:27 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-10.internal (MEProxy); Mon, 01 Dec 2025 12:05:27 -0500 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:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm3; t=1764608727; x= 1764695127; bh=xVOTgXDpAeGu3R1PU3X0K07rKb8ylglnFI2a3Bu7kcA=; b=d SI/0DEMZ1aof4wJDqiHL1t3YAiPBdlUWNAe0siRdtU3uA0C2LjQhzLlCaHxf2gHl VSWxHCjFIAehuQMH2d/2b++Oi9aeoLiqq9C2KdlgFQb/ZiouP/PXt37yzDH8Twch 2ucrBui2Zt8HiCvpfyPD+zTQmiNQ5di9PbSkLANjz/X0DyMRatW7oOt+CTFjPtJy vLFsvo/yPM9ZBhiUZvWYFycX8xTdWYJ4InzZx9MpKAX/UytgIDuUE342qKWzBYRq xiqC7urj0O1fAW1joXUVJ1gWkx+xPGs+xI7iPGMkPKryrOJq5y1XiZEBPXps7/58 AASAiTflxpmXZM+0dTuyg== 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:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; t=1764608727; x=1764695127; bh=x VOTgXDpAeGu3R1PU3X0K07rKb8ylglnFI2a3Bu7kcA=; b=IlqAbzQ92drnwrAFO MUOT1Oe3Q7u5pIMBF736CnwwzJdY9JTaGq+oIEJQuyRHliUYYGKW5pjNszIaXjAL zR3aKonj3wCqXqAAWTkrDx7XuDW33sfKaFGpUECOky/TziW/UbdmgWudLUNn+8vi YGrd7FFazU90+wll4ZWD7ybg5m7ttqTRqFkDuDIHQWKK9hxugx2UMELqPryCaGZJ 1MwAyi9KgsBVMhx1umcRh6H9l4dvZPAVHnvBhlBmJl8Y7EGCG3n7Q/XC0Vrh2ug+ ysApLDjLh7S2I/aURqsnu1InSwHwGdO3PN0JsH2mXxvLMx4P9JwG92UFnYZCowTp FI8EQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddvheekvdeiucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheptehlhihsshgr ucftohhsshcuoehhihesrghlhihsshgrrdhisheqnecuggftrfgrthhtvghrnhepgeeuie duueekkeeivdetffegkeduhfduvedvledvkefhfeeiteekuddujefffeegnecuvehluhhs thgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhephhhisegrlhihshhsrg drihhspdhnsggprhgtphhtthhopedvpdhmohguvgepshhmthhpohhuthdprhgtphhtthho peguvghmihhosggvnhhouhhrsehgmhgrihhlrdgtohhmpdhrtghpthhtohepuggvvhgvlh esshhpvggtthhruhhmqdhoshdrohhrgh X-ME-Proxy: Feedback-ID: i12284293:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 1 Dec 2025 12:05:26 -0500 (EST) Received: by fw12.qyliss.net (Postfix, from userid 1000) id AAF833FB50D1; Mon, 01 Dec 2025 18:05:20 +0100 (CET) From: Alyssa Ross To: devel@spectrum-os.org Subject: [PATCH 2/6] host/rootfs: set propagation of / to shared Date: Mon, 1 Dec 2025 18:04:01 +0100 Message-ID: <20251201170458.4186683-3-hi@alyssa.is> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251201170458.4186683-1-hi@alyssa.is> References: <20251201170458.4186683-1-hi@alyssa.is> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: END4V7TXROLLMXXZM26W6SNXCNAZ6QQV X-Message-ID-Hash: END4V7TXROLLMXXZM26W6SNXCNAZ6QQV 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: Demi Marie Obenour 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: This is necessary for other namespaces to find out when new top-level mounts are added (e.g. /boot). It also matches the systemd default. Signed-off-by: Alyssa Ross --- host/rootfs/image/etc/s6-linux-init/scripts/rc.init | 1 + 1 file changed, 1 insertion(+) diff --git a/host/rootfs/image/etc/s6-linux-init/scripts/rc.init b/host/rootfs/image/etc/s6-linux-init/scripts/rc.init index 46e5cd6..37b293d 100755 --- a/host/rootfs/image/etc/s6-linux-init/scripts/rc.init +++ b/host/rootfs/image/etc/s6-linux-init/scripts/rc.init @@ -9,6 +9,7 @@ if { ln -s /proc/self/fd/0 /dev/stdin } if { ln -s /proc/self/fd/1 /dev/stdout } if { ln -s /proc/self/fd/2 /dev/stderr } +if { mount --make-shared / } if { mount --make-shared /run } if { mount -a --mkdir } -- 2.51.0