From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id yP8KCn5CBWYrCwEAqHPOHw:P1 (envelope-from ) for ; Thu, 28 Mar 2024 11:12:14 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id yP8KCn5CBWYrCwEAqHPOHw (envelope-from ) for ; Thu, 28 Mar 2024 11:12:14 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=scolby.com header.s=fm2 header.b=Mt8WMv8W; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=g67RvcoC; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1711620734; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=mszqGRrFTQjfHAFx3N2CA6doJbtpgo2o6q3EyFZbKl0=; b=SFEZK1cZBByaxLz2kGtABgImgihLovxCU+S93Vx3K0TY8hJC3bafbAqE+sw4/UA8f7L6un lU27/stl/26Cyjx9TmfKC2TcQWu/eDTJihUQjXV0Fq3bIjWQRPK+MSr8iV/JO2ocOnvpu8 1k7+ZzDodaRauzRm+bj3Pbn5knrLPXY7e6hkWRgH4KnB238SQf2/qNP76M8bO8fVWxk+Vo NySht8Zi3AqV9s87X8kT6RXGvvQ/fje9o4Sc8ql1PxfDpnghoIBB8Marn8UDrr1aj4A3pB IUQtch2Y2LOzmMmk6O0nhHM66bYZuGbnMv5ElRtU2js7QixIhi/UnJLXlMAjjg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=scolby.com header.s=fm2 header.b=Mt8WMv8W; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=g67RvcoC; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1711620734; a=rsa-sha256; cv=none; b=CPV+CPWDV/oOjOKnR/y24yHRu8ZQroL/dqqDKQAfq33xpCep+X9eqh+cS30e4wJwgfvMZL L9tNH78KBsC3anvUBpWNkrUKa9bLwf22gkTcwhdyiXzeMSKXH2EJmxooubw1wGCNzfRP+x Ft3z8YBtqhiiK91KX3PTZyztIl+iarq6E0w1mgnUpvjmmcOiC4HLt8NY17oTuptvYNTN+s p5yO7z2b7CHiWk9zkOV1v6RAlsaIwC8eFMNkbGQFG1ggyJ8cI0Iaxacv+S68FNLOLqwjjw UOmwROOEhvk2qKt42DW2dWkI3xX6NAnB+lQPsyMNj7Tl4JxTiZ4xr8SMydZSOA== 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 26D114792E for ; Thu, 28 Mar 2024 11:12:13 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rpmjv-0006OX-9I; Thu, 28 Mar 2024 06:12:08 -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 1rpjor-0004N6-QQ for guix-patches@gnu.org; Thu, 28 Mar 2024 03:05:02 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rpjor-0000PR-H9 for guix-patches@gnu.org; Thu, 28 Mar 2024 03:05:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rpjos-0008Lu-1A for guix-patches@gnu.org; Thu, 28 Mar 2024 03:05:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65335] [PATCH 0/4] Allow mounting root on tmpfs for impersistence References: In-Reply-To: Resent-From: "Scott Colby" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 28 Mar 2024 07:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65335 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65335@debbugs.gnu.org Received: via spool by 65335-submit@debbugs.gnu.org id=B65335.171160948432024 (code B ref 65335); Thu, 28 Mar 2024 07:05:01 +0000 Received: (at 65335) by debbugs.gnu.org; 28 Mar 2024 07:04:44 +0000 Received: from localhost ([127.0.0.1]:38899 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rpjoY-0008KP-V8 for submit@debbugs.gnu.org; Thu, 28 Mar 2024 03:04:44 -0400 Received: from wfout2-smtp.messagingengine.com ([64.147.123.145]:50427) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rphKv-0003X8-HF for 65335@debbugs.gnu.org; Thu, 28 Mar 2024 00:26:01 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfout.west.internal (Postfix) with ESMTP id 0BDEF1C000CD for <65335@debbugs.gnu.org>; Thu, 28 Mar 2024 00:25:50 -0400 (EDT) Received: from imap44 ([10.202.2.94]) by compute2.internal (MEProxy); Thu, 28 Mar 2024 00:25:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=scolby.com; h=cc :content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to; s=fm2; t=1711599950; x=1711686350; bh=mszqGRrFTQjfHAFx3N2CA6doJbtpgo2o 6q3EyFZbKl0=; b=Mt8WMv8WWR+ik39cAkoXd1EKJrHFsMTLBk1QZ0n5tRkVZda8 lzyGK2c1E+8VInsh6P0zWdbeVOnQnSmZdPVzJvRRhNIjYKfY02Jh8IeF1hqptPD/ 5GzB50RBa8qZolFgPWIFy02d2aWid5Dzpxgd1J6oEa8W2oXVnLesP7raO5yyY8Yh WrI23C81xqlUCmxTCHUySewO7woMJILNK6x1dN7Z/c9YL5Th/j7oUKJa1QdXKCjf X3fFvHdQlfpvQ23+B/ho22Ry06YKoPKL7pwpShg1XjOY55vSbelOF1QtozbRAt9c 42xj1WkZAX46VELyk/6wszf+bhkTGaDrMIvkQA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type: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-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1711599950; x=1711686350; bh=mszqGRrFTQjfHAFx3N2CA6doJbtpgo2o6q3 EyFZbKl0=; b=g67RvcoCv5CDGqDepA8YliA1lpx4QZ3lmLA2LQKF2nmcgJ/tnmU KfB6PNqmaZLjo4BtsigrCtH8IJ9hO4ctaqnfw+z3PuUeRA0ndMr18Qbb20ym5in/ 8wqzS+yUpfvwSDtgF97q+47AXHmtyYTCPfA5Mbrc05UCminx4mwdFm/v/qhcPHqM Bt9Uf6awll4mx7T+stDzuSXT7ALNFqdL8ioizIzqmf1tGz0CZlDOhpZOv3bHUa4W N3Rkd1AMliw78o4fOuzb3iOKQD+TX44vuwroEoTdm8AryGtZS1ZsWqJwOKOfwPUf us3k/KSk+FNi32E+CAvlYrQth19x9fHcEpg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledruddukedgjedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfffhffvufgtsegrtderre erredtnecuhfhrohhmpedfufgtohhtthcuveholhgshidfuceoshgtohhtthesshgtohhl sgihrdgtohhmqeenucggtffrrghtthgvrhhnpeevieejtdevffejkeetieffudeitedtje ffgfelheefgfekleetfeekledvtdefueenucevlhhushhtvghrufhiiigvpedtnecurfgr rhgrmhepmhgrihhlfhhrohhmpehstghothhtsehstgholhgshidrtghomh X-ME-Proxy: Feedback-ID: i61c14762:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 2343A36A0077; Thu, 28 Mar 2024 00:25:50 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.11.0-alpha0-333-gbfea15422e-fm-20240327.001-gbfea1542 MIME-Version: 1.0 x-forwarded-message-id: <8dbd857b-5c51-41c7-87c0-f6b5e842ca56@app.fastmail.com> Message-Id: <8be93352-2e1e-4685-a794-1d17d7b31b90@app.fastmail.com> Date: Thu, 28 Mar 2024 00:25:12 -0400 From: "Scott Colby" Content-Type: multipart/alternative; boundary=bf94a58e0893413083941b66c5ff42f1 X-Mailman-Approved-At: Thu, 28 Mar 2024 03:04:41 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Thu, 28 Mar 2024 06:12:02 -0400 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 26D114792E X-Spam-Score: -4.02 X-Migadu-Spam-Score: -4.02 X-Migadu-Scanner: mx11.migadu.com X-TUID: BZ5iefvCPjLn --bf94a58e0893413083941b66c5ff42f1 Content-Type: text/plain Hello, I am interested in setting up my installation of Guix with root-on-tmpfs-style "impermanence," so I was happy to see that these patches were merged. Unfortunately, I cannot seem to make it work. My approach was to use a main partition mounted at `/persistent` with directories underneath like `/persistent/var/{log,lib,guix}` that were bind-mounted on top of the tmpfs at `/`. Not mentioned as far as I can see in this thread is what about `/gnu/store`. Should that also be stored persistently or does it originate from inside `/var/guix`? Originally I tried having `/gnu` be the persistent filesystem with subdirectories `/gnu/persistent/var/...` and `/gnu/store`, but this interfered with the `%immutable-store bind mount`. Would you be so kind as to share a working configuration snippet using root-on-tmpfs? (I understand if you're using btrfs subvolumes; it would still be useful to me I think to see the configuration.) Thanks, Scott --bf94a58e0893413083941b66c5ff42f1 Content-Type: text/html Content-Transfer-Encoding: quoted-printable
Hello,
=

I am interested in setting up my in= stallation of Guix with root-on-tmpfs-style
"impermanence,= " so I was happy to see that these patches were merged.
Un= fortunately, I cannot seem to make it work. My approach was to use a mai= n
partition mounted at `/persistent` with directories unde= rneath like
`/persistent/var/{log,lib,guix}` that were bin= d-mounted on top of the tmpfs at
`/`.

Not mentioned as far as I can see in this thread is what about = `/gnu/store`.
Should that also be stored persistently or d= oes it originate from inside
`/var/guix`? Originally I tri= ed having `/gnu` be the persistent filesystem with
subdire= ctories `/gnu/persistent/var/...` and `/gnu/store`, but this interfered<= br>
with the `%immutable-store bind mount`.

=
Would you be so kind as to share a working configuration snip= pet using
root-on-tmpfs? (I understand if you're using btr= fs subvolumes; it would still be
useful to me I think to s= ee the configuration.)

Thanks,
Scott



--bf94a58e0893413083941b66c5ff42f1--