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 BAE559BBA; Sat, 13 Dec 2025 16:17:13 +0000 (UTC) Received: by atuin.qyliss.net (Postfix, from userid 993) id 38E1D9C07; Sat, 13 Dec 2025 16:17:10 +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 fout-a4-smtp.messagingengine.com (fout-a4-smtp.messagingengine.com [103.168.172.147]) by atuin.qyliss.net (Postfix) with ESMTPS id 5E1419C05 for ; Sat, 13 Dec 2025 16:17:08 +0000 (UTC) Received: from phl-compute-05.internal (phl-compute-05.internal [10.202.2.45]) by mailfout.phl.internal (Postfix) with ESMTP id D1295EC0566 for ; Sat, 13 Dec 2025 11:17:04 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-05.internal (MEProxy); Sat, 13 Dec 2025 11:17:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alyssa.is; h=cc :content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to; s=fm3; t=1765642624; x=1765729024; bh=VSno/Dg6mlD1tglV93I5J XjJfLMZgbvEkmc+LpOf+ck=; b=HkqGdIrKBGXIdHqpNxnRkIRnHVlAspEwag6GE YV7pPHj2TJ8hrw4ptPIsag62IRkhV0xIj7XCTNVHvd4SKGgcKYH601gQYGra3O3M cwPADAfWr0GTS1uqSDa4wDN6BLjkOMVbzBOg+gEEX1GWvkFTotjH8UKwHjNoNWQe MnCafGv6pFCdBt3kZ5u7NvBrjQ8HLr+nVv/SO0e9suPQfNEisiAAb+RnZ0ayJ2ka q5aEePkCSBNX+rK3EZc2/U62EnECV0S5EX6XHySteNbdhH4BRxr/PVRlcd868FOZ pgiDFssFfTPuI0IEbqtki6cbQPziYfFM5CgmWT2rPntWPF++g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=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=fm1; t= 1765642624; x=1765729024; bh=VSno/Dg6mlD1tglV93I5JXjJfLMZgbvEkmc +LpOf+ck=; b=YydUuP1Dp4bf8lyJtAw8PcddcRFoBFuVySFvmaKc6c3tDIB/ebw 3TGpqEOM0USKVs5hOFOW0H1dxaS0IJvCcjgYSguIxTKcpPhH5IaTVq0r3ETv+HAE fpLKXRMD7GS9mcPSfJC2RNOJaidpq/GpHBRfcwSAERBBK3WtgFWqEq1FNvKBQkMB 0W9nRbSbWagsT8Ok8cZwqcJ/aCtbWYJlubLlyT8xO9Mqjlbi4xVD6Lq6odDLGnfc 2IoQ1Nmqn2LfInhrchsNydDoDCVk9ba1i/WH2Id8JAnbmMXvQZ6qXjuaOQOgwMAM 7fZYo2hP0VyG43j8l7ygSC/7BCxhLd0WOCg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgdefudehvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecunecujfgurhephffvufffkffoggfgsedtkeertdertddtne cuhfhrohhmpeetlhihshhsrgcutfhoshhsuceohhhisegrlhihshhsrgdrihhsqeenucgg tffrrghtthgvrhhnpeehvdffgffhteeijefgteeftdfghfdvheeuhedvjedugfeggfelje fgleefvefgfeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhr ohhmpehhihesrghlhihsshgrrdhishdpnhgspghrtghpthhtohepuddpmhhouggvpehsmh htphhouhhtpdhrtghpthhtohepuggvvhgvlhesshhpvggtthhruhhmqdhoshdrohhrgh X-ME-Proxy: Feedback-ID: i12284293:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Sat, 13 Dec 2025 11:17:04 -0500 (EST) Received: by fw12.qyliss.net (Postfix, from userid 1000) id 1B5E47814CA6; Sat, 13 Dec 2025 17:16:53 +0100 (CET) From: Alyssa Ross To: devel@spectrum-os.org Subject: [PATCH 1/4] host/rootfs: make fs root directories shared Date: Sat, 13 Dec 2025 17:16:34 +0100 Message-ID: <20251213161637.510752-1-hi@alyssa.is> X-Mailer: git-send-email 2.51.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: MEEWBFEE7G5WRPZRTSIAHNJ5FGQ6KJC5 X-Message-ID-Hash: MEEWBFEE7G5WRPZRTSIAHNJ5FGQ6KJC5 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 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: We want every mount under here to show up inside the virtiofsd sandbox. Signed-off-by: Alyssa Ross --- host/rootfs/image/usr/bin/create-vm-dependencies | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/host/rootfs/image/usr/bin/create-vm-dependencies b/host/rootfs/image/usr/bin/create-vm-dependencies index 9e123fcf..6bf12d03 100755 --- a/host/rootfs/image/usr/bin/create-vm-dependencies +++ b/host/rootfs/image/usr/bin/create-vm-dependencies @@ -30,8 +30,8 @@ if { # Needs to be shared so that additional mounts under config/ (e.g. from # mount-flatpak) will be propagated into the virtiofsd sandbox. - if { mount --make-shared --rbind -o nofail /proc/self/fd/3/fs /run/fs/${1}/config } - if { mount --rbind -o ro /run/fs/${1} /run/fs/${1} } + if { mount --make-shared --rbind -o ro /run/fs/${1} /run/fs/${1} } + if { mount --rbind -o nofail /proc/self/fd/3/fs /run/fs/${1}/config } # Needs to be shared so that when xdg-document-portal mounts its fuse # filesystem at /run/doc/${1}/doc, it will propagate to /run/fs/${1}/doc. base-commit: ce1cfde4bf845cb1104e0eddc4128a2c3d517fb0 -- 2.51.0