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 ED2981F57F; Fri, 19 Sep 2025 09:16:33 +0000 (UTC) Received: by atuin.qyliss.net (Postfix, from userid 993) id AE4EE1F571; Fri, 19 Sep 2025 09:16:32 +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-a3-smtp.messagingengine.com (fout-a3-smtp.messagingengine.com [103.168.172.146]) by atuin.qyliss.net (Postfix) with ESMTPS id 186011F5B0 for ; Fri, 19 Sep 2025 09:16:32 +0000 (UTC) Received: from phl-compute-03.internal (phl-compute-03.internal [10.202.2.43]) by mailfout.phl.internal (Postfix) with ESMTP id F1596EC024F; Fri, 19 Sep 2025 05:16:30 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-03.internal (MEProxy); Fri, 19 Sep 2025 05:16:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alyssa.is; h=cc :cc:content-type: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=1758273390; x=1758359790; bh=t7gktiCevY ERxMb07OcQSII9BjIPs0UjodDRZqrERuY=; b=CB06PpVx9UDPJ491upv7A8A7kK +0JAZBQQ/+jJk58xiPaKmT7Ng5OMgAcAC95zKByavWcfxHC+gz4rsNgPbb8EnymW lYHgM/Iv2HAEbWN08oeTz4YQS+32WAz2Yjypaq+m1YGf9Ij7V9rIntaVJhNU81l+ EwcYl5LYfgqwe4j7nY1aDl9uaIsQf8JQVVZOPl/GozApB6Kv01KD+PQfyrnhfxTl LhkeyXxrBOHtS356ZZFqqO+wGh4uslL5JzEWGElIqtVRO/SBdphT/WkF7YGHAiOG nFNRnzm48IUt4COT0KcEpLql19HnZEb8Cc1kaX27Q1ISXUsv1exKwHiOXmZw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type: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= 1758273390; x=1758359790; bh=t7gktiCevYERxMb07OcQSII9BjIPs0UjodD RZqrERuY=; b=Yu9tSD5p1GqPAVay7URZ/N410ec5c+mKn1sloR+5OXg/y2MWSWO pZJcBkFge/ktTYQCrI13Ah5YBIY/8IzUC6088ReuAJSLVIf9623UsG/7Zu1DkZrW NRj3iAq7d3d1qB24XqnvRkvzaMwUX3I6E9QYwh+0vIEMs533AkERzDozYsRqWCsU KyEQY45vUkcRE8nDCnnrdFrq1aBFm5Fp8j5tfD9pgr93jRiwvb5jhn5ayN3PWeqw 6Ri0VsjBKk57VUS5ESL2SI6N6LB7TsqsQlafcEw7/LKe4v74ppPt+1XTnFhsW519 /4Yb7AtUHOx6ZHjBzp8CpGsAqQ1bH1pCfkw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggdegkeekfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpefhvfevufgjfhffkfggtgesghdtreertddtjeenucfhrhhomheptehlhihsshgrucft ohhsshcuoehhihesrghlhihsshgrrdhisheqnecuggftrfgrthhtvghrnhepteehvedugf ejgfehhfeijeduleekleejgedvkeeuuefhhfegvdevfeetveegteeinecuvehluhhsthgv rhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhephhhisegrlhihshhsrgdrih hspdhnsggprhgtphhtthhopedvpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopegu vghmihhosggvnhhouhhrsehgmhgrihhlrdgtohhmpdhrtghpthhtohepuggvvhgvlhessh hpvggtthhruhhmqdhoshdrohhrgh X-ME-Proxy: Feedback-ID: i12284293:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 19 Sep 2025 05:16:30 -0400 (EDT) Received: by mbp.qyliss.net (Postfix, from userid 1000) id F24521F9F47D; Fri, 19 Sep 2025 11:16:28 +0200 (CEST) From: Alyssa Ross To: Demi Marie Obenour Subject: Re: [PATCH 3/3] host/rootfs: Avoid redundant mounts of /proc and /sys In-Reply-To: <56b7c265-3296-4116-b53a-9506f531d915@gmail.com> References: <20250914-util-linux-switch-root-v1-0-9cf9349cbca3@gmail.com> <20250914-util-linux-switch-root-v1-3-9cf9349cbca3@gmail.com> <87v7lhxqmh.fsf@alyssa.is> <56b7c265-3296-4116-b53a-9506f531d915@gmail.com> Date: Fri, 19 Sep 2025 11:16:27 +0200 Message-ID: <87zfaqssyc.fsf@alyssa.is> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Message-ID-Hash: OVW6ZM5GFSMCWJBSAGVN4NPYWOHDFK4Z X-Message-ID-Hash: OVW6ZM5GFSMCWJBSAGVN4NPYWOHDFK4Z 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: Spectrum OS Development 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: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Demi Marie Obenour writes: > On 9/17/25 07:31, Alyssa Ross wrote: >> Demi Marie Obenour writes: >>=20 >>> The initramfs already mounted both of them. >>> >>> Signed-off-by: Demi Marie Obenour >>> --- >>> It's true that this does increase the reliance on an initramfs, but it >>> is also trivial to revert if Spectrum OS ever stops using one. Linux >>> supports creating dm-verity devices via dm-mod.create=3D and (if needed) >>> dm-mod.waitfor=3D, so eliminating an initramfs might be possible but is= a >>> separate project. >>=20 >> I'd still prefer we don't rely on initramfs behaviour any more than we >> need to =E2=80=94 it just makes things more brittle and difficult to und= erstand. > > Does the mount we are using blindly mount a second instance > of procfs and sysfs? If so, I'd rather reuse the initramfs > versions. Otherwise, keeping things as-is is fine. I don't see a second instance on edd53bb after a normal boot, whereas I do if I manually mount -t proc proc /proc. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRV/neXydHjZma5XLJbRZGEIw/wogUCaM0fawAKCRBbRZGEIw/w oowWAQCOJGvfvbnrH1M1OUOw2ESOsIIXalfPleL8+8vClAEPGwD+IUjbuYSWG2dL NHfUqJdIlsgkJm8EgvRH0lrsrzHQdwI= =LBFM -----END PGP SIGNATURE----- --=-=-=--