From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 16 05:24:59 2023 Received: (at submit) by debbugs.gnu.org; 16 Aug 2023 09:24:59 +0000 Received: from localhost ([127.0.0.1]:38836 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWClv-00069X-CW for submit@debbugs.gnu.org; Wed, 16 Aug 2023 05:24:59 -0400 Received: from lists.gnu.org ([2001:470:142::17]:57258) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWClq-00069A-Tb for submit@debbugs.gnu.org; Wed, 16 Aug 2023 05:24:58 -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 1qWCli-0007p0-79 for guix-patches@gnu.org; Wed, 16 Aug 2023 05:24:46 -0400 Received: from 5.mo575.mail-out.ovh.net ([46.105.62.179]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qWCle-0007XX-Dv for guix-patches@gnu.org; Wed, 16 Aug 2023 05:24:45 -0400 Received: from director6.ghost.mail-out.ovh.net (unknown [10.109.143.216]) by mo575.mail-out.ovh.net (Postfix) with ESMTP id 1A49F27646 for ; Wed, 16 Aug 2023 09:24:38 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-kgwfh (unknown [10.109.156.198]) by director6.ghost.mail-out.ovh.net (Postfix) with ESMTPS id C5B481FE9F for ; Wed, 16 Aug 2023 09:24:37 +0000 (UTC) Received: from ngraves.fr ([37.59.142.108]) by ghost-submission-6684bf9d7b-kgwfh with ESMTPSA id hbSKK9WV3GTtGgAAy/cpPw (envelope-from ) for ; Wed, 16 Aug 2023 09:24:37 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-108S002eec07830-9482-4053-960e-487ca362bb58, EFC9AD881B11E31D841027839B6E0A93490164A7) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.140.142 From: Nicolas Graves To: guix-patches@gnu.org Subject: [PATCH 0/4] Allow mounting root on tmpfs for impersistence Message-Id: Date: Wed, 16 Aug 2023 11:24:34 +0200 MIME-Version: 1.0 Content-Type: text/plain X-Ovh-Tracer-Id: 10796817157697692410 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedviedruddtledgudehucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvffukfffgggtsehttdertddttddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepteevhfevleduveeggfdttdeuudeghfdvveejkeffgeefveekgfelffeivefgtdelnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugedtrddugedvpdefjedrheelrddugedvrddutdeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqedpnhgspghrtghpthhtohepuddprhgtphhtthhopehguhhigidqphgrthgthhgvshesghhnuhdrohhrghdpoffvtefjohhsthepmhhoheejhedpmhhouggvpehsmhhtphhouhht Received-SPF: pass client-ip=46.105.62.179; envelope-from=ngraves@ngraves.fr; helo=5.mo575.mail-out.ovh.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) This patch series allows the root to be mounted on tmpfs, and ensures directories that are needed are present. Once the persisting directories needed are configured (with btrfs for instance), one can mount root on tmpfs. These persisting directories should be at least /var/log (not needed, but safety requirement), /var/lib, /var/guix, but they are application-dependent (if using NetworkManager, /etc/NetworkManager; if guix offloading daemon is present, /etc/guix; the same goes for Docker...). Nicolas Graves (4): file-systems: canonicalize-device-name: Ignore the "none" case. gnu: services: activation-script: Ensure /var/run existence. gnu: build: activate-current-system: Ensure directory existence. gnu: system: bootable-kernel-arguments: Ignore the "none" root case. gnu/build/activation.scm | 1 + gnu/build/file-systems.scm | 8 ++++---- gnu/services.scm | 1 + gnu/system.scm | 21 ++++++++++++--------- 4 files changed, 18 insertions(+), 13 deletions(-) base-commit: 880ada0bdb9e694573ec42200d48658b27744b9b prerequisite-patch-id: cccdad83975cbf04d7bd618c2c1a4b4de6fa7fd2 prerequisite-patch-id: 6f28833d2efa054d55126980f87ba4d2fdd13c6d prerequisite-patch-id: afc6cadece838372370f7093f863ce8eaae7bc55 prerequisite-patch-id: b9330c12700355319c104aa3b493eafe03cbb619 prerequisite-patch-id: 46fa9c5a48fcc5b13409049b14b6e7314a6d6956 prerequisite-patch-id: 846f8b50b8de749caaa459b874087d06e15e0a80 prerequisite-patch-id: 023101e5a315951ce9786fb8230955c97001dac9 prerequisite-patch-id: d4b0193f128d8236026e079e746ea0cf6c4c0af0 prerequisite-patch-id: d73442d6d7c88e7375e9de0a9cd655cacb7766f9 prerequisite-patch-id: d8a56dd7bc6c1c3ba3ac0f77b2402b9c6469cfb2 prerequisite-patch-id: 3bc2b2eecd799be8d8b0f96b850ef83a6306dab7 prerequisite-patch-id: 798d4a277eff03a59339af4ebe19406682f361ab prerequisite-patch-id: 3f65e9cdab64edeacfeb5748cd4fb130839b2b30 prerequisite-patch-id: 6f8225b63a1dd1866b05bb91544e49d7c096601c prerequisite-patch-id: ff71ec9bdf6337390a720db4535268af271e32df prerequisite-patch-id: c6b40cc38f5bdfab229ac3d7ed4346c5d9f1b2f7 prerequisite-patch-id: 9ab6dade9e641d5e667ba6a61dbfbb3d32c943a6 prerequisite-patch-id: 4fcae29a8f6dd95716669680141da315acaf6e59 prerequisite-patch-id: 0a5a6da0061188dc9be59bc9829db53288307c58 prerequisite-patch-id: 83c4b7d9d831990e4d37ba89c584d773c872ba6b prerequisite-patch-id: 1c8dddf99041cf399b8836e3ad6721d7bbcebb7c prerequisite-patch-id: 773df13cc85606b205d1d914e59525b7a6820a1d prerequisite-patch-id: 6f8974ce8c0a3a25721a41781f9b0dfd61e96cf4 prerequisite-patch-id: d219948d28923c5ccd34b63f988032df33f2f336 prerequisite-patch-id: 0bd75bb28df9ccf3405caf8217d708afc978047d prerequisite-patch-id: 26476dd782cf8f5e427d4bd36ac85957538a0aa3 prerequisite-patch-id: b5f87c460fd984c41fbb52e7e0dc305c20c46f22 prerequisite-patch-id: 5502b9c6a64abaca6a9921f25cd324869d26aa1e prerequisite-patch-id: a7e84bb368349566e9a6fdbe49a371fdb464bb1e prerequisite-patch-id: a84a766ceef6bedd5da3f9512c87a2c2a11ff33f prerequisite-patch-id: 0175b2b1cbbc15c1c775147821715bca9e3303a3 prerequisite-patch-id: 9c20b408ac8aa275ecba58383d83be5cef7647df prerequisite-patch-id: 836749cd3bd3b86f64de637c3c2df48a3608f09f prerequisite-patch-id: 28ea1ddbef32a1bc9e908f3f9c7466953c60f13d prerequisite-patch-id: 52a78e387e36e6408d7147950195d552e4e41528 prerequisite-patch-id: 87fee01a70d4b8cbfca44cc0a9c9f54471a92d18 prerequisite-patch-id: 8c8cdb345e815fc3332805ca224103f185d4a568 prerequisite-patch-id: 3434c5caf1eba9e9a64c673681e5911d2c1d9232 prerequisite-patch-id: c45bf303726fb3dacee01a66c0ff75105a81164d prerequisite-patch-id: d44a1adb0404f23522aac21fa8a7f26be7ddabdc prerequisite-patch-id: e422fe29bbcef80260b190637faa1a4953c3f1cb prerequisite-patch-id: 285479a1a1e46e6f0f8aba5429edfa400c81b32b prerequisite-patch-id: 30fcff6f8c9328c71d3fca609cddde0b56973bb7 prerequisite-patch-id: 70bb47ccac3375de893e4e640ce7c59369a05a39 prerequisite-patch-id: cc3d79386ca4a93146dc195cd5732764f1ac447f prerequisite-patch-id: 2686866ec4bf08c7faa05b17cb84d9e0c13ec12c prerequisite-patch-id: 369b61e07e3c90151a5414b784513b9ae3d3e978 prerequisite-patch-id: 065651c3a8cee63b725d7f86c080c274b494627e prerequisite-patch-id: 1ee71844f0c9a0112a456e5b76079239906a7fb8 prerequisite-patch-id: c7b3d9c5bff04c16576781eff50ce37f7c49131c prerequisite-patch-id: c8b8fe8dc51fea0b8a2626cf7031f01b6000e023 prerequisite-patch-id: 182e25335d4c357001f4f8bed2b3f89b91d9cae5 prerequisite-patch-id: c0ea00d5f4c6a83642a92c9341f0288fbfe3095a prerequisite-patch-id: 795d31cc33a24a6a57e67af31b65acd8faa8187c prerequisite-patch-id: 358af8aa7fa71b5cb8fbe6dde29d141bb7c57f1e prerequisite-patch-id: b9ab3ee98a9d4ca518a4d99042982d64fbce5d05 prerequisite-patch-id: 12b76e9c2751da73ed64c9489b15f74ff17568cf prerequisite-patch-id: eb618ab7b10483d917c308a38792af98baa517e2 prerequisite-patch-id: aca7b0d7b302853e522f47700d0780a96b4a72e6 prerequisite-patch-id: c6bbe6026bfcd2c9ff6e06efc5b8424a6943d1bf prerequisite-patch-id: 1dc9b52f102fa787539119b849a14224ef7b4fa5 prerequisite-patch-id: 5f664cb2fd995a53765c5ffc19a708ac795cc0c4 prerequisite-patch-id: 8e234d0f4d93d2aad499eec8842be3d28da98707 prerequisite-patch-id: 40b6c9f09f27833367a71ec25d77afae4d2a835e prerequisite-patch-id: 45e65ea00ece53f3496251401acd464081f8ca7a -- 2.41.0 -- Best regards, Nicolas Graves From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 16 05:29:56 2023 Received: (at 65335) by debbugs.gnu.org; 16 Aug 2023 09:29:57 +0000 Received: from localhost ([127.0.0.1]:38845 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWCqi-0006J2-KN for submit@debbugs.gnu.org; Wed, 16 Aug 2023 05:29:56 -0400 Received: from 4.mo581.mail-out.ovh.net ([178.32.122.254]:43701) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWCqg-0006Is-FV for 65335@debbugs.gnu.org; Wed, 16 Aug 2023 05:29:55 -0400 Received: from director6.ghost.mail-out.ovh.net (unknown [10.109.138.83]) by mo581.mail-out.ovh.net (Postfix) with ESMTP id 43F2E26ECB for <65335@debbugs.gnu.org>; Wed, 16 Aug 2023 09:29:53 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-fwpb5 (unknown [10.111.208.172]) by director6.ghost.mail-out.ovh.net (Postfix) with ESMTPS id EB2C51FDDB; Wed, 16 Aug 2023 09:29:52 +0000 (UTC) Received: from ngraves.fr ([37.59.142.97]) by ghost-submission-6684bf9d7b-fwpb5 with ESMTPSA id 7GxGMhCX3GSZWQMAFOcv1w (envelope-from ); Wed, 16 Aug 2023 09:29:52 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-97G0022bc3d26e-6c6f-4f20-85a7-fd8561f8a645, EFC9AD881B11E31D841027839B6E0A93490164A7) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.140.142 From: Nicolas Graves To: 65335@debbugs.gnu.org Subject: [PATCH 1/4] file-systems: canonicalize-device-name: Ignore the "none" case. Date: Wed, 16 Aug 2023 11:29:26 +0200 Message-ID: <344951a96d504fb86db43c79262739f5a7c086bb.1692178169.git.ngraves@ngraves.fr> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 10885481777719075554 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedviedruddtledgudeiucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepkeffgeetfffgffejgeejvdffgfdtvdeuueetgfefuedvjeegvdegjeejveeuueevnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugedtrddugedvpdefjedrheelrddugedvrdeljeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepieehfeefheesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekuddpmhhouggvpehsmhhtphhouhht X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 65335 Cc: ngraves@ngraves.fr X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --- gnu/build/file-systems.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gnu/build/file-systems.scm b/gnu/build/file-systems.scm index 36a59f5f5c..e39bd31c3b 100644 --- a/gnu/build/file-systems.scm +++ b/gnu/build/file-systems.scm @@ -1021,8 +1021,8 @@ (define find-partition-by-luks-uuid (define (canonicalize-device-spec spec) "Return the device name corresponding to SPEC, which can be a , a -, or a string (typically a /dev file name or an nfs-root -containing ':/')." +, the string 'none' or another string (typically a /dev +file name or an nfs-root containing ':/')." (define max-trials ;; Number of times we retry partition label resolution, 1 second per ;; trial. Note: somebody reported a delay of 16 seconds (!) before their @@ -1046,8 +1046,8 @@ (define (canonicalize-device-spec spec) (match spec ((? string?) - (if (string-contains spec ":/") - spec ; do not resolve NFS devices + (if (or (string-contains spec ":/") (string=? spec "none")) + spec ; do not resolve NFS / tmpfs devices ;; Nothing to do, but wait until SPEC shows up. (resolve identity spec identity))) ((? file-system-label?) base-commit: 1a92b3f43c280f143b00f8bb95a173fb85e52664 -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 16 05:30:05 2023 Received: (at 65335) by debbugs.gnu.org; 16 Aug 2023 09:30:05 +0000 Received: from localhost ([127.0.0.1]:38851 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWCqq-0006KW-Ur for submit@debbugs.gnu.org; Wed, 16 Aug 2023 05:30:05 -0400 Received: from 5.mo583.mail-out.ovh.net ([87.98.173.103]:59745) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWCql-0006JD-BQ for 65335@debbugs.gnu.org; Wed, 16 Aug 2023 05:30:03 -0400 Received: from director3.ghost.mail-out.ovh.net (unknown [10.108.16.160]) by mo583.mail-out.ovh.net (Postfix) with ESMTP id 149FC2606F for <65335@debbugs.gnu.org>; Wed, 16 Aug 2023 09:29:58 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-tskzz (unknown [10.108.16.92]) by director3.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 53B0D1FDBA; Wed, 16 Aug 2023 09:29:57 +0000 (UTC) Received: from ngraves.fr ([37.59.142.110]) by ghost-submission-6684bf9d7b-tskzz with ESMTPSA id n1IBEBWX3GTYHR0A3bk/bA (envelope-from ); Wed, 16 Aug 2023 09:29:57 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-110S004e55bdc77-c0bc-4503-88b2-d82bcf9db364, EFC9AD881B11E31D841027839B6E0A93490164A7) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.140.142 From: Nicolas Graves To: 65335@debbugs.gnu.org Subject: [PATCH 2/4] gnu: services: activation-script: Ensure /var/run existence. Date: Wed, 16 Aug 2023 11:29:27 +0200 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: <344951a96d504fb86db43c79262739f5a7c086bb.1692178169.git.ngraves@ngraves.fr> References: <344951a96d504fb86db43c79262739f5a7c086bb.1692178169.git.ngraves@ngraves.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 10886607677632340706 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedviedruddtledgudejucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepleffjeetueethfefkeffffefvddukeejkefgleduiedthfekvefhiedvhfffgeegnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugedtrddugedvpdefjedrheelrddugedvrdduuddtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqedpnhgspghrtghpthhtohepuddprhgtphhtthhopeeiheeffeehseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehkeefpdhmohguvgepshhmthhpohhuth X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 65335 Cc: ngraves@ngraves.fr X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --- gnu/services.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/gnu/services.scm b/gnu/services.scm index 109e050a23..a992800796 100644 --- a/gnu/services.scm +++ b/gnu/services.scm @@ -670,6 +670,7 @@ (define (activation-script gexps) ;; Make sure the user accounting database exists. If it ;; does not exist, 'setutxent' does not create it and ;; thus there is no accounting at all. + (mkdir-p "/var/run") (close-port (open-file "/var/run/utmpx" "a0")) ;; Same for 'wtmp', which is populated by mingetty et -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 16 05:30:05 2023 Received: (at 65335) by debbugs.gnu.org; 16 Aug 2023 09:30:05 +0000 Received: from localhost ([127.0.0.1]:38853 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWCqr-0006Ka-BP for submit@debbugs.gnu.org; Wed, 16 Aug 2023 05:30:05 -0400 Received: from 5.mo560.mail-out.ovh.net ([87.98.181.248]:43401) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWCqn-0006JH-6n for 65335@debbugs.gnu.org; Wed, 16 Aug 2023 05:30:04 -0400 Received: from director1.ghost.mail-out.ovh.net (unknown [10.109.138.245]) by mo560.mail-out.ovh.net (Postfix) with ESMTP id 11C762653C for <65335@debbugs.gnu.org>; Wed, 16 Aug 2023 09:30:00 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-c6p2s (unknown [10.110.208.213]) by director1.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 997141FE07; Wed, 16 Aug 2023 09:29:59 +0000 (UTC) Received: from ngraves.fr ([37.59.142.97]) by ghost-submission-6684bf9d7b-c6p2s with ESMTPSA id N4B+IBeX3GRBjQEAkda6lA (envelope-from ); Wed, 16 Aug 2023 09:29:59 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-97G002b60ea96c-644b-48f3-8541-1e22398e8b13, EFC9AD881B11E31D841027839B6E0A93490164A7) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.140.142 From: Nicolas Graves To: 65335@debbugs.gnu.org Subject: [PATCH 4/4] gnu: system: bootable-kernel-arguments: Ignore the "none" root case. Date: Wed, 16 Aug 2023 11:29:29 +0200 Message-ID: <8a425542b975f8c38457c4c12ed7c86d0df56325.1692178169.git.ngraves@ngraves.fr> X-Mailer: git-send-email 2.41.0 In-Reply-To: <344951a96d504fb86db43c79262739f5a7c086bb.1692178169.git.ngraves@ngraves.fr> References: <344951a96d504fb86db43c79262739f5a7c086bb.1692178169.git.ngraves@ngraves.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 10887170625114333922 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedviedruddtledgudeiucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepleffjeetueethfefkeffffefvddukeejkefgleduiedthfekvefhiedvhfffgeegnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugedtrddugedvpdefjedrheelrddugedvrdeljeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepieehfeefheesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheeitddpmhhouggvpehsmhhtphhouhht X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 65335 Cc: ngraves@ngraves.fr X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --- gnu/system.scm | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/gnu/system.scm b/gnu/system.scm index 279b9df5c0..0d9e9ee5cf 100644 --- a/gnu/system.scm +++ b/gnu/system.scm @@ -198,15 +198,18 @@ (define* (bootable-kernel-arguments system root-device version) ;; compatibility when producing bootloader configurations for older ;; generations. (define version>0? (> version 0)) - (list (string-append (if version>0? "root=" "--root=") - ;; Note: Always use the DCE format because that's what - ;; (gnu build linux-boot) expects for the 'root' - ;; kernel command-line option. - (file-system-device->string root-device - #:uuid-type 'dce)) - #~(string-append (if #$version>0? "gnu.system=" "--system=") #$system) - #~(string-append (if #$version>0? "gnu.load=" "--load=") - #$system "/boot"))) + (let ((root (file-system-device->string root-device + #:uuid-type 'dce))) + (append + (if (string=? root "none") + '() ;; Ignore the case where the root is "none" (typically tmpfs). + ;; Note: Always use the DCE format because that's what + ;; (gnu build linux-boot) expects for the 'root' + ;; kernel command-line option. + (list (string-append (if version>0? "root=" "--root=") root))) + (list #~(string-append (if #$version>0? "gnu.system=" "--system=") #$system) + #~(string-append (if #$version>0? "gnu.load=" "--load=") + #$system "/boot"))))) ;; System-wide configuration. -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 16 05:30:06 2023 Received: (at 65335) by debbugs.gnu.org; 16 Aug 2023 09:30:06 +0000 Received: from localhost ([127.0.0.1]:38855 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWCqr-0006Kh-PY for submit@debbugs.gnu.org; Wed, 16 Aug 2023 05:30:06 -0400 Received: from 12.mo584.mail-out.ovh.net ([178.33.104.253]:46663) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWCqm-0006JF-5v for 65335@debbugs.gnu.org; Wed, 16 Aug 2023 05:30:04 -0400 Received: from director6.ghost.mail-out.ovh.net (unknown [10.109.146.20]) by mo584.mail-out.ovh.net (Postfix) with ESMTP id D32FA2725B for <65335@debbugs.gnu.org>; Wed, 16 Aug 2023 09:29:58 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-zmhk6 (unknown [10.110.171.1]) by director6.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 73C7F1FEB1; Wed, 16 Aug 2023 09:29:58 +0000 (UTC) Received: from ngraves.fr ([37.59.142.101]) by ghost-submission-6684bf9d7b-zmhk6 with ESMTPSA id 6Om1GRaX3GTNlB8AU2QudA (envelope-from ); Wed, 16 Aug 2023 09:29:58 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-101G004af822114-97ee-4c82-b6d6-43c2db073bfc, EFC9AD881B11E31D841027839B6E0A93490164A7) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.140.142 From: Nicolas Graves To: 65335@debbugs.gnu.org Subject: [PATCH 3/4] gnu: build: activate-current-system: Ensure directory existence. Date: Wed, 16 Aug 2023 11:29:28 +0200 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: <344951a96d504fb86db43c79262739f5a7c086bb.1692178169.git.ngraves@ngraves.fr> References: <344951a96d504fb86db43c79262739f5a7c086bb.1692178169.git.ngraves@ngraves.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 10886889151285682914 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedviedruddtledgudeiucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepleffjeetueethfefkeffffefvddukeejkefgleduiedthfekvefhiedvhfffgeegnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugedtrddugedvpdefjedrheelrddugedvrddutddunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqedpnhgspghrtghpthhtohepuddprhgtphhtthhopeeiheeffeehseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehkeegpdhmohguvgepshhmthhpohhuth X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 65335 Cc: ngraves@ngraves.fr X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --- gnu/build/activation.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/gnu/build/activation.scm b/gnu/build/activation.scm index eea2233563..759704ae03 100644 --- a/gnu/build/activation.scm +++ b/gnu/build/activation.scm @@ -408,6 +408,7 @@ (define* (activate-current-system (format #t "making '~a' the current system...~%" system) + (mkdir-p "/run") ;; Atomically make SYSTEM current. (let ((new (string-append %current-system ".new"))) (symlink system new) -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 20 18:15:30 2023 Received: (at 65335) by debbugs.gnu.org; 20 Aug 2023 22:15:30 +0000 Received: from localhost ([127.0.0.1]:55016 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXqhm-0003T1-ED for submit@debbugs.gnu.org; Sun, 20 Aug 2023 18:15:30 -0400 Received: from 5.mo584.mail-out.ovh.net ([188.165.44.50]:34405) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXqhj-0003Sp-QH for 65335@debbugs.gnu.org; Sun, 20 Aug 2023 18:15:29 -0400 Received: from director11.ghost.mail-out.ovh.net (unknown [10.109.138.54]) by mo584.mail-out.ovh.net (Postfix) with ESMTP id E2E7724487 for <65335@debbugs.gnu.org>; Sun, 20 Aug 2023 22:15:23 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-zgg77 (unknown [10.110.171.117]) by director11.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 9A17D1FDFC for <65335@debbugs.gnu.org>; Sun, 20 Aug 2023 22:15:23 +0000 (UTC) Received: from ngraves.fr ([37.59.142.102]) by ghost-submission-6684bf9d7b-zgg77 with ESMTPSA id PL1DInuQ4mSlGjkA/woYXQ (envelope-from ) for <65335@debbugs.gnu.org>; Sun, 20 Aug 2023 22:15:23 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-102R004261e0eb0-c1cb-436d-a569-c67366bcf72e, 307FC59480FBA19D26D27A253AF11085980BDF63) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.140.142 From: Nicolas Graves To: 65335@debbugs.gnu.org Subject: Re: [bug#65335] [PATCH 0/4] Allow mounting root on tmpfs for impersistence In-Reply-To: References: Date: Mon, 21 Aug 2023 00:15:22 +0200 Message-ID: <877cppl5s5.fsf@ngraves.fr> MIME-Version: 1.0 Content-Type: text/plain X-Ovh-Tracer-Id: 10410914965449990891 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedviedruddukedgtdekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvffujghffffkgggtsehttdertddttddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnheptdejueeffeevfeelteelgfeikeellefglefhveffveeftddvhefgvdfgleevueegnecuffhomhgrihhnpehthhgvrdhlohgtrghlnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugedtrddugedvpdefjedrheelrddugedvrddutddvnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqedpnhgspghrtghpthhtohepuddprhgtphhtthhopeeiheeffeehseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehkeegpdhmohguvgepshhmthhpohhuth X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 65335 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 2023-08-16 11:24, Nicolas Graves via Guix-patches via wrote: > This patch series allows the root to be mounted on tmpfs, and ensures directories that are needed are present. Once the persisting directories needed are configured (with btrfs for instance), one can mount root on tmpfs. These persisting directories should be at least /var/log (not needed, but safety requirement), /var/lib, /var/guix, but they are application-dependent (if using NetworkManager, /etc/NetworkManager; if guix offloading daemon is present, /etc/guix; the same goes for Docker...). > > Nicolas Graves (4): > file-systems: canonicalize-device-name: Ignore the "none" case. > gnu: services: activation-script: Ensure /var/run existence. > gnu: build: activate-current-system: Ensure directory existence. > gnu: system: bootable-kernel-arguments: Ignore the "none" root case. > > gnu/build/activation.scm | 1 + > gnu/build/file-systems.scm | 8 ++++---- > gnu/services.scm | 1 + > gnu/system.scm | 21 ++++++++++++--------- > 4 files changed, 18 insertions(+), 13 deletions(-) > A new update with a little addition for the home symlink-manager, in the same idea of enabling impermanence configurations on guix. I've experienced a few issues with the home symlink-manager, in the case where To explain the use case for this last commit : in the hypothesis in which we use a dedicated btrfs to save for instance the ~/.ssh or the ~/.local/share directory, when running guix home reconfigure, the activation script will error before ending with an EBUSY error. This will make the home reconfiguration fail, while the most sensible action in this case is to ignore the deletion call and continue, just like when a configuration directory is not empty. This is not enough for enabling impermanence home configurations, but it enables to reconfigure the home with btrfs subvolumes under ~. -- Best regards, Nicolas Graves From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 20 18:17:06 2023 Received: (at 65335) by debbugs.gnu.org; 20 Aug 2023 22:17:06 +0000 Received: from localhost ([127.0.0.1]:55021 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXqjJ-0003Vn-UB for submit@debbugs.gnu.org; Sun, 20 Aug 2023 18:17:06 -0400 Received: from 20.mo561.mail-out.ovh.net ([178.33.47.94]:39553) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXqjH-0003Va-6x for 65335@debbugs.gnu.org; Sun, 20 Aug 2023 18:17:04 -0400 Received: from director11.ghost.mail-out.ovh.net (unknown [10.109.156.6]) by mo561.mail-out.ovh.net (Postfix) with ESMTP id 1AE1E21A87 for <65335@debbugs.gnu.org>; Sun, 20 Aug 2023 22:17:00 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-kv22r (unknown [10.110.171.249]) by director11.ghost.mail-out.ovh.net (Postfix) with ESMTPS id D53841FE48; Sun, 20 Aug 2023 22:16:59 +0000 (UTC) Received: from ngraves.fr ([37.59.142.96]) by ghost-submission-6684bf9d7b-kv22r with ESMTPSA id BnnGMtuQ4mTN7wYArZbfwg (envelope-from ); Sun, 20 Aug 2023 22:16:59 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-96R0010c6dae0b-76b7-468b-bbd0-747668edd039, 307FC59480FBA19D26D27A253AF11085980BDF63) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.140.142 From: Nicolas Graves To: 65335@debbugs.gnu.org Subject: [PATCH v2 1/5] file-systems: canonicalize-device-name: Ignore the "none" case. Date: Mon, 21 Aug 2023 00:16:43 +0200 Message-ID: X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 10438218038388908770 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedviedruddukedgtdekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepkeffgeetfffgffejgeejvdffgfdtvdeuueetgfefuedvjeegvdegjeejveeuueevnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugedtrddugedvpdefjedrheelrddugedvrdelieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepieehfeefheesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheeiuddpmhhouggvpehsmhhtphhouhht X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 65335 Cc: ngraves@ngraves.fr X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --- gnu/build/file-systems.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gnu/build/file-systems.scm b/gnu/build/file-systems.scm index 36a59f5f5c..e39bd31c3b 100644 --- a/gnu/build/file-systems.scm +++ b/gnu/build/file-systems.scm @@ -1021,8 +1021,8 @@ (define find-partition-by-luks-uuid (define (canonicalize-device-spec spec) "Return the device name corresponding to SPEC, which can be a , a -, or a string (typically a /dev file name or an nfs-root -containing ':/')." +, the string 'none' or another string (typically a /dev +file name or an nfs-root containing ':/')." (define max-trials ;; Number of times we retry partition label resolution, 1 second per ;; trial. Note: somebody reported a delay of 16 seconds (!) before their @@ -1046,8 +1046,8 @@ (define (canonicalize-device-spec spec) (match spec ((? string?) - (if (string-contains spec ":/") - spec ; do not resolve NFS devices + (if (or (string-contains spec ":/") (string=? spec "none")) + spec ; do not resolve NFS / tmpfs devices ;; Nothing to do, but wait until SPEC shows up. (resolve identity spec identity))) ((? file-system-label?) base-commit: a0f5885fefd93a3859b6e4b82b18a6db9faeee05 prerequisite-patch-id: cccdad83975cbf04d7bd618c2c1a4b4de6fa7fd2 prerequisite-patch-id: 6f28833d2efa054d55126980f87ba4d2fdd13c6d prerequisite-patch-id: afc6cadece838372370f7093f863ce8eaae7bc55 prerequisite-patch-id: b9330c12700355319c104aa3b493eafe03cbb619 prerequisite-patch-id: 46fa9c5a48fcc5b13409049b14b6e7314a6d6956 prerequisite-patch-id: 846f8b50b8de749caaa459b874087d06e15e0a80 prerequisite-patch-id: 023101e5a315951ce9786fb8230955c97001dac9 prerequisite-patch-id: d4b0193f128d8236026e079e746ea0cf6c4c0af0 prerequisite-patch-id: d73442d6d7c88e7375e9de0a9cd655cacb7766f9 prerequisite-patch-id: d8a56dd7bc6c1c3ba3ac0f77b2402b9c6469cfb2 prerequisite-patch-id: 3bc2b2eecd799be8d8b0f96b850ef83a6306dab7 prerequisite-patch-id: 798d4a277eff03a59339af4ebe19406682f361ab prerequisite-patch-id: 3f65e9cdab64edeacfeb5748cd4fb130839b2b30 prerequisite-patch-id: 6f8225b63a1dd1866b05bb91544e49d7c096601c prerequisite-patch-id: ff71ec9bdf6337390a720db4535268af271e32df prerequisite-patch-id: c6b40cc38f5bdfab229ac3d7ed4346c5d9f1b2f7 prerequisite-patch-id: 9ab6dade9e641d5e667ba6a61dbfbb3d32c943a6 prerequisite-patch-id: 4fcae29a8f6dd95716669680141da315acaf6e59 prerequisite-patch-id: 0a5a6da0061188dc9be59bc9829db53288307c58 prerequisite-patch-id: 83c4b7d9d831990e4d37ba89c584d773c872ba6b prerequisite-patch-id: 1c8dddf99041cf399b8836e3ad6721d7bbcebb7c prerequisite-patch-id: 773df13cc85606b205d1d914e59525b7a6820a1d prerequisite-patch-id: 6f8974ce8c0a3a25721a41781f9b0dfd61e96cf4 prerequisite-patch-id: d219948d28923c5ccd34b63f988032df33f2f336 prerequisite-patch-id: 0bd75bb28df9ccf3405caf8217d708afc978047d prerequisite-patch-id: 26476dd782cf8f5e427d4bd36ac85957538a0aa3 prerequisite-patch-id: b5f87c460fd984c41fbb52e7e0dc305c20c46f22 prerequisite-patch-id: 5502b9c6a64abaca6a9921f25cd324869d26aa1e prerequisite-patch-id: a7e84bb368349566e9a6fdbe49a371fdb464bb1e prerequisite-patch-id: a84a766ceef6bedd5da3f9512c87a2c2a11ff33f prerequisite-patch-id: 0175b2b1cbbc15c1c775147821715bca9e3303a3 prerequisite-patch-id: 9c20b408ac8aa275ecba58383d83be5cef7647df prerequisite-patch-id: 836749cd3bd3b86f64de637c3c2df48a3608f09f prerequisite-patch-id: 28ea1ddbef32a1bc9e908f3f9c7466953c60f13d prerequisite-patch-id: 52a78e387e36e6408d7147950195d552e4e41528 prerequisite-patch-id: 87fee01a70d4b8cbfca44cc0a9c9f54471a92d18 prerequisite-patch-id: 8c8cdb345e815fc3332805ca224103f185d4a568 prerequisite-patch-id: 3434c5caf1eba9e9a64c673681e5911d2c1d9232 prerequisite-patch-id: c45bf303726fb3dacee01a66c0ff75105a81164d prerequisite-patch-id: d44a1adb0404f23522aac21fa8a7f26be7ddabdc prerequisite-patch-id: e422fe29bbcef80260b190637faa1a4953c3f1cb prerequisite-patch-id: 285479a1a1e46e6f0f8aba5429edfa400c81b32b prerequisite-patch-id: 30fcff6f8c9328c71d3fca609cddde0b56973bb7 prerequisite-patch-id: 70bb47ccac3375de893e4e640ce7c59369a05a39 prerequisite-patch-id: cc3d79386ca4a93146dc195cd5732764f1ac447f prerequisite-patch-id: 2686866ec4bf08c7faa05b17cb84d9e0c13ec12c prerequisite-patch-id: 369b61e07e3c90151a5414b784513b9ae3d3e978 prerequisite-patch-id: 065651c3a8cee63b725d7f86c080c274b494627e prerequisite-patch-id: 1ee71844f0c9a0112a456e5b76079239906a7fb8 prerequisite-patch-id: c7b3d9c5bff04c16576781eff50ce37f7c49131c prerequisite-patch-id: c8b8fe8dc51fea0b8a2626cf7031f01b6000e023 prerequisite-patch-id: 182e25335d4c357001f4f8bed2b3f89b91d9cae5 prerequisite-patch-id: c0ea00d5f4c6a83642a92c9341f0288fbfe3095a prerequisite-patch-id: 795d31cc33a24a6a57e67af31b65acd8faa8187c prerequisite-patch-id: 358af8aa7fa71b5cb8fbe6dde29d141bb7c57f1e prerequisite-patch-id: b9ab3ee98a9d4ca518a4d99042982d64fbce5d05 prerequisite-patch-id: 12b76e9c2751da73ed64c9489b15f74ff17568cf prerequisite-patch-id: eb618ab7b10483d917c308a38792af98baa517e2 prerequisite-patch-id: c6bbe6026bfcd2c9ff6e06efc5b8424a6943d1bf prerequisite-patch-id: 1dc9b52f102fa787539119b849a14224ef7b4fa5 prerequisite-patch-id: 5f664cb2fd995a53765c5ffc19a708ac795cc0c4 prerequisite-patch-id: 8e234d0f4d93d2aad499eec8842be3d28da98707 prerequisite-patch-id: 40b6c9f09f27833367a71ec25d77afae4d2a835e prerequisite-patch-id: 45e65ea00ece53f3496251401acd464081f8ca7a prerequisite-patch-id: c3bc83367aa2aab9f121fe3bdbbd9e48dee860ea -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 20 18:17:11 2023 Received: (at 65335) by debbugs.gnu.org; 20 Aug 2023 22:17:11 +0000 Received: from localhost ([127.0.0.1]:55026 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXqjO-0003WM-N5 for submit@debbugs.gnu.org; Sun, 20 Aug 2023 18:17:10 -0400 Received: from 20.mo584.mail-out.ovh.net ([46.105.33.73]:43405) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXqjI-0003Vc-FK for 65335@debbugs.gnu.org; Sun, 20 Aug 2023 18:17:06 -0400 Received: from director2.ghost.mail-out.ovh.net (unknown [10.108.16.177]) by mo584.mail-out.ovh.net (Postfix) with ESMTP id F23A0229BB for <65335@debbugs.gnu.org>; Sun, 20 Aug 2023 22:17:00 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-xqm9h (unknown [10.110.115.102]) by director2.ghost.mail-out.ovh.net (Postfix) with ESMTPS id B24A61FD87; Sun, 20 Aug 2023 22:17:00 +0000 (UTC) Received: from ngraves.fr ([37.59.142.101]) by ghost-submission-6684bf9d7b-xqm9h with ESMTPSA id w57SKNyQ4mRn9gYAdcs0Ng (envelope-from ); Sun, 20 Aug 2023 22:17:00 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-101G00482f2f5e7-11f5-4928-ae9b-c49acfc9c85b, 307FC59480FBA19D26D27A253AF11085980BDF63) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.140.142 From: Nicolas Graves To: 65335@debbugs.gnu.org Subject: [PATCH v2 2/5] gnu: services: activation-script: Ensure /var/run existence. Date: Mon, 21 Aug 2023 00:16:44 +0200 Message-ID: <9e7a3ce3a4f0cdaac19705fdbc7e5a2f91ef1c62.1692569807.git.ngraves@ngraves.fr> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 10438218036880925410 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedviedruddukedgtdekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepleffjeetueethfefkeffffefvddukeejkefgleduiedthfekvefhiedvhfffgeegnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugedtrddugedvpdefjedrheelrddugedvrddutddunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqedpnhgspghrtghpthhtohepuddprhgtphhtthhopeeiheeffeehseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehkeegpdhmohguvgepshhmthhpohhuth X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 65335 Cc: ngraves@ngraves.fr X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --- gnu/services.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/gnu/services.scm b/gnu/services.scm index eb9258977e..73235ac2b8 100644 --- a/gnu/services.scm +++ b/gnu/services.scm @@ -674,6 +674,7 @@ (define (activation-script gexps) ;; Make sure the user accounting database exists. If it ;; does not exist, 'setutxent' does not create it and ;; thus there is no accounting at all. + (mkdir-p "/var/run") (close-port (open-file "/var/run/utmpx" "a0")) ;; Same for 'wtmp', which is populated by mingetty et -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 20 18:17:11 2023 Received: (at 65335) by debbugs.gnu.org; 20 Aug 2023 22:17:11 +0000 Received: from localhost ([127.0.0.1]:55028 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXqjP-0003WO-0Z for submit@debbugs.gnu.org; Sun, 20 Aug 2023 18:17:11 -0400 Received: from 19.mo583.mail-out.ovh.net ([46.105.35.78]:39373) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXqjJ-0003Vf-TN for 65335@debbugs.gnu.org; Sun, 20 Aug 2023 18:17:07 -0400 Received: from director4.ghost.mail-out.ovh.net (unknown [10.109.156.25]) by mo583.mail-out.ovh.net (Postfix) with ESMTP id 9C785239BF for <65335@debbugs.gnu.org>; Sun, 20 Aug 2023 22:17:02 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-tdvw8 (unknown [10.110.171.111]) by director4.ghost.mail-out.ovh.net (Postfix) with ESMTPS id DBF041FD3D; Sun, 20 Aug 2023 22:17:01 +0000 (UTC) Received: from ngraves.fr ([37.59.142.103]) by ghost-submission-6684bf9d7b-tdvw8 with ESMTPSA id AD6/Md2Q4mS18BgAfWP0Ng (envelope-from ); Sun, 20 Aug 2023 22:17:01 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-103G0054fdee238-9d29-4e9e-9706-81d14d6f9289, 307FC59480FBA19D26D27A253AF11085980BDF63) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.140.142 From: Nicolas Graves To: 65335@debbugs.gnu.org Subject: [PATCH v2 3/5] gnu: build: activate-current-system: Ensure directory existence. Date: Mon, 21 Aug 2023 00:16:45 +0200 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 10438780989569622754 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedviedruddukedgtdekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepleffjeetueethfefkeffffefvddukeejkefgleduiedthfekvefhiedvhfffgeegnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugedtrddugedvpdefjedrheelrddugedvrddutdefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqedpnhgspghrtghpthhtohepuddprhgtphhtthhopeeiheeffeehseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehkeefpdhmohguvgepshhmthhpohhuth X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 65335 Cc: ngraves@ngraves.fr X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --- gnu/build/activation.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/gnu/build/activation.scm b/gnu/build/activation.scm index eea2233563..759704ae03 100644 --- a/gnu/build/activation.scm +++ b/gnu/build/activation.scm @@ -408,6 +408,7 @@ (define* (activate-current-system (format #t "making '~a' the current system...~%" system) + (mkdir-p "/run") ;; Atomically make SYSTEM current. (let ((new (string-append %current-system ".new"))) (symlink system new) -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 20 18:17:11 2023 Received: (at 65335) by debbugs.gnu.org; 20 Aug 2023 22:17:11 +0000 Received: from localhost ([127.0.0.1]:55030 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXqjP-0003WW-AZ for submit@debbugs.gnu.org; Sun, 20 Aug 2023 18:17:11 -0400 Received: from 9.mo576.mail-out.ovh.net ([46.105.56.78]:34085) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXqjK-0003Vm-PQ for 65335@debbugs.gnu.org; Sun, 20 Aug 2023 18:17:07 -0400 Received: from director1.ghost.mail-out.ovh.net (unknown [10.109.143.18]) by mo576.mail-out.ovh.net (Postfix) with ESMTP id A462323E08 for <65335@debbugs.gnu.org>; Sun, 20 Aug 2023 22:17:03 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-jxmcb (unknown [10.110.103.53]) by director1.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 32AA01FD67; Sun, 20 Aug 2023 22:17:03 +0000 (UTC) Received: from ngraves.fr ([37.59.142.109]) by ghost-submission-6684bf9d7b-jxmcb with ESMTPSA id 1rTICN+Q4mSp8BgA/EIQng (envelope-from ); Sun, 20 Aug 2023 22:17:03 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-109S0033de67205-cbc9-4dc0-a6f6-c093475b3045, 307FC59480FBA19D26D27A253AF11085980BDF63) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.140.142 From: Nicolas Graves To: 65335@debbugs.gnu.org Subject: [PATCH v2 4/5] gnu: system: bootable-kernel-arguments: Ignore the "none" root case. Date: Mon, 21 Aug 2023 00:16:46 +0200 Message-ID: <52095319ac7aefa59a081b87fd8609811a5e1cd2.1692569807.git.ngraves@ngraves.fr> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 10439062464678257378 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedviedruddukedgtdekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepleffjeetueethfefkeffffefvddukeejkefgleduiedthfekvefhiedvhfffgeegnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugedtrddugedvpdefjedrheelrddugedvrddutdelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqedpnhgspghrtghpthhtohepuddprhgtphhtthhopeeiheeffeehseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehjeeipdhmohguvgepshhmthhpohhuth X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 65335 Cc: ngraves@ngraves.fr X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --- gnu/system.scm | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/gnu/system.scm b/gnu/system.scm index 279b9df5c0..0d9e9ee5cf 100644 --- a/gnu/system.scm +++ b/gnu/system.scm @@ -198,15 +198,18 @@ (define* (bootable-kernel-arguments system root-device version) ;; compatibility when producing bootloader configurations for older ;; generations. (define version>0? (> version 0)) - (list (string-append (if version>0? "root=" "--root=") - ;; Note: Always use the DCE format because that's what - ;; (gnu build linux-boot) expects for the 'root' - ;; kernel command-line option. - (file-system-device->string root-device - #:uuid-type 'dce)) - #~(string-append (if #$version>0? "gnu.system=" "--system=") #$system) - #~(string-append (if #$version>0? "gnu.load=" "--load=") - #$system "/boot"))) + (let ((root (file-system-device->string root-device + #:uuid-type 'dce))) + (append + (if (string=? root "none") + '() ;; Ignore the case where the root is "none" (typically tmpfs). + ;; Note: Always use the DCE format because that's what + ;; (gnu build linux-boot) expects for the 'root' + ;; kernel command-line option. + (list (string-append (if version>0? "root=" "--root=") root))) + (list #~(string-append (if #$version>0? "gnu.system=" "--system=") #$system) + #~(string-append (if #$version>0? "gnu.load=" "--load=") + #$system "/boot"))))) ;; System-wide configuration. -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 20 18:17:12 2023 Received: (at 65335) by debbugs.gnu.org; 20 Aug 2023 22:17:12 +0000 Received: from localhost ([127.0.0.1]:55032 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXqjP-0003Wd-Mh for submit@debbugs.gnu.org; Sun, 20 Aug 2023 18:17:11 -0400 Received: from 5.mo576.mail-out.ovh.net ([46.105.43.105]:51355) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXqjL-0003W1-U1 for 65335@debbugs.gnu.org; Sun, 20 Aug 2023 18:17:08 -0400 Received: from director6.ghost.mail-out.ovh.net (unknown [10.109.146.163]) by mo576.mail-out.ovh.net (Postfix) with ESMTP id F065E239C6 for <65335@debbugs.gnu.org>; Sun, 20 Aug 2023 22:17:04 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-xq859 (unknown [10.109.143.9]) by director6.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 8B9F81FD7F; Sun, 20 Aug 2023 22:17:04 +0000 (UTC) Received: from ngraves.fr ([37.59.142.108]) by ghost-submission-6684bf9d7b-xq859 with ESMTPSA id 7vW4HOCQ4mR9rgUAW6UFkg (envelope-from ); Sun, 20 Aug 2023 22:17:04 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-108S00282f9ac27-c835-484d-90c6-eb4ade238cb0, 307FC59480FBA19D26D27A253AF11085980BDF63) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.140.142 From: Nicolas Graves To: 65335@debbugs.gnu.org Subject: [PATCH v2 5/5] gnu: home: symlink-manager: Allow dedicated device skip. Date: Mon, 21 Aug 2023 00:16:47 +0200 Message-ID: <108a67c0ef10e00162d81bcf7bc6243d6895c49b.1692569807.git.ngraves@ngraves.fr> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-Debbugs-Cc: ( , Andrew Tropin , Ludovic Courtès Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 10439343940332085986 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedviedruddukedgtdekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepleffjeetueethfefkeffffefvddukeejkefgleduiedthfekvefhiedvhfffgeegnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugedtrddugedvpdefjedrheelrddugedvrddutdeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqedpnhgspghrtghpthhtohepuddprhgtphhtthhopeeiheeffeehseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehjeeipdhmohguvgepshhmthhpohhuth X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 65335 Cc: ngraves@ngraves.fr X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --- gnu/home/services/symlink-manager.scm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gnu/home/services/symlink-manager.scm b/gnu/home/services/symlink-manager.scm index e4c931fbee..d3c4d01db4 100644 --- a/gnu/home/services/symlink-manager.scm +++ b/gnu/home/services/symlink-manager.scm @@ -157,6 +157,11 @@ (define (update-symlinks-script) #t (G_ "Skipping ~a (not an empty directory)... done\n") directory)) + ((= EBUSY errno) + (format + #t + (G_ "Skipping ~a (dedicated device)... done\n") + directory)) ((= ENOENT errno) #t) ((= ENOTDIR errno) #t) (else -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 21 10:07:09 2023 Received: (at 65335) by debbugs.gnu.org; 21 Aug 2023 14:07:10 +0000 Received: from localhost ([127.0.0.1]:57380 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qY5Yj-00009y-Hk for submit@debbugs.gnu.org; Mon, 21 Aug 2023 10:07:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39682) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qY5Yg-00009k-R2 for 65335@debbugs.gnu.org; Mon, 21 Aug 2023 10:07:07 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qY5YX-0006Gc-Py; Mon, 21 Aug 2023 10:06:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=ZZgAHDIBL1y9Im5+o4fQ8Mn5dk5D6g4biRAjqpe/3ak=; b=gzMle+33zqJYErkSQFF3 vyV4Kw/OPAdo9TzLnSiVPs/x8q/gixjz16dnRuFFw9aiaoZwUA1Kblagzqb9Lxl/EdE+HTUWh9jYb WURR5psB1z/oh9zJbf0UproU/ehkV2VpLAonmp5D2JVUKUA0Mj5/NzqIc0IgnkEsP6ht4M1gmv9uC 1Pb8b6yMozbz8/OyecAebICHHrksdn8sxt19Kid2u9DSJzq4OglcEY8JUgnsUDQh5A69+bEgYJFmB OfgqCnxnn7S0Crxi+T9kQq2pKaDYGNaSVRrc6HFEj//Zx2sKo+neRZ+Kpn8+xHPKQH0wurNycm1d4 3bOJgKGs/84MVw==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Nicolas Graves Subject: Re: bug#65335: [PATCH 0/4] Allow mounting root on tmpfs for impersistence References: Date: Mon, 21 Aug 2023 16:06:52 +0200 In-Reply-To: (Nicolas Graves's message of "Mon, 21 Aug 2023 00:16:43 +0200") Message-ID: <87msyka3r7.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 65335 Cc: 65335@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Nicolas Graves skribis: > --- > gnu/build/file-systems.scm | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/gnu/build/file-systems.scm b/gnu/build/file-systems.scm > index 36a59f5f5c..e39bd31c3b 100644 > --- a/gnu/build/file-systems.scm > +++ b/gnu/build/file-systems.scm > @@ -1021,8 +1021,8 @@ (define find-partition-by-luks-uuid > > (define (canonicalize-device-spec spec) > "Return the device name corresponding to SPEC, which can be a , a > -, or a string (typically a /dev file name or an nfs-r= oot > -containing ':/')." > +, the string 'none' or another string (typically a /d= ev > +file name or an nfs-root containing ':/')." LGTM. However, my offer to write commit logs on your behalf has expired, so I kindly invite you to write them. :-) See =E2=80=98C-x v l=E2=80=99 and the manual for details (info "(guix) Subm= itting Patches"). TIA! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 21 10:09:21 2023 Received: (at 65335) by debbugs.gnu.org; 21 Aug 2023 14:09:21 +0000 Received: from localhost ([127.0.0.1]:57385 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qY5ar-0000DE-2v for submit@debbugs.gnu.org; Mon, 21 Aug 2023 10:09:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45450) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qY5ap-0000D1-DZ for 65335@debbugs.gnu.org; Mon, 21 Aug 2023 10:09:19 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qY5ah-0006ex-1Z; Mon, 21 Aug 2023 10:09:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=C6MqBAPcSYW0xWXsffowZl+M0UU7SKXgnh8ocGa4jz8=; b=L1ugmfFT7yQAVY1fFq/Z 2Rnp5lNji5DM+2XBfCkxiUyeHyMAsvMxLdmidM7gcfxajOSqcjqfP/U1+X4lztkYi2RZRilzQaXBi EMBVbVOMGUuHhL7xTMS1KmG/Ru2whoedgXuRTtGj4u6wWGyO0pUgo+ZCjNg1/Kmf2MgpD/8EHYv+H gFXnOjfPK4NQENKV7I5t5/PG1OnHxj9ALBh9uNr4jx8GBRO39rWD6j25VnBtcB787UgzqVu2kmWxd nhVS2Snv1oWVaxeeW5rph8dWRMj8Q3+d9Hk1jnJa/oPv6ASah9E4xfSuXGpuE45dRkaf59nmoCoL+ Yn6Bgu3naG3RZA==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Nicolas Graves Subject: Re: bug#65335: [PATCH 0/4] Allow mounting root on tmpfs for impersistence References: <9e7a3ce3a4f0cdaac19705fdbc7e5a2f91ef1c62.1692569807.git.ngraves@ngraves.fr> Date: Mon, 21 Aug 2023 16:09:09 +0200 In-Reply-To: <9e7a3ce3a4f0cdaac19705fdbc7e5a2f91ef1c62.1692569807.git.ngraves@ngraves.fr> (Nicolas Graves's message of "Mon, 21 Aug 2023 00:16:44 +0200") Message-ID: <87il98a3ne.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 65335 Cc: 65335@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Nicolas Graves skribis: > --- > gnu/services.scm | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/gnu/services.scm b/gnu/services.scm > index eb9258977e..73235ac2b8 100644 > --- a/gnu/services.scm > +++ b/gnu/services.scm > @@ -674,6 +674,7 @@ (define (activation-script gexps) > ;; Make sure the user accounting database exists. = If it > ;; does not exist, 'setutxent' does not create it = and > ;; thus there is no accounting at all. > + (mkdir-p "/var/run") > (close-port (open-file "/var/run/utmpx" "a0")) Please move it before the comment, which talks about something else. Should /var/run be removed (in the same commit) from =E2=80=98directives=E2= =80=99 in (gnu build install)? Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 21 10:09:44 2023 Received: (at 65335) by debbugs.gnu.org; 21 Aug 2023 14:09:44 +0000 Received: from localhost ([127.0.0.1]:57390 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qY5bE-0000Du-Fj for submit@debbugs.gnu.org; Mon, 21 Aug 2023 10:09:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34908) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qY5bC-0000De-7n for 65335@debbugs.gnu.org; Mon, 21 Aug 2023 10:09:43 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qY5b4-0006gl-F0; Mon, 21 Aug 2023 10:09:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=wfKiZRHtF396zAoGWG92qOjyNrKv1s7Vvm4q0CFzWSY=; b=NYip5PdejRq9+/XjP8xI C8gd+kmIzE+6AV78DoEzxdea7iQ6CNVBpZCmyIZhkOApbq+jL0l43f9S7okC0NpIzhWILUBKklljU /nHrUx1gBl+1jrsNa+NI2M3o5ijt2dRzP5JyJNjU4yuY7TAjn6agQJ+sPYtkuy6cpkUDORZTefxVJ 10+E9l2VKzjXEo1gmrTG6GxqzMPzZOLUaLZaw2zM95cO7bx8AqoajM6Lrfqsc+LxOAGJ3LDLmT3Rl QKtYSfQL/k76Xxked3oqiDHYakx0Aui3evrFSWMcJb5t0SrSM7ulxGpVmwQE0f2N3He8adiXB+Ixa RohYC6IqvB+ddA==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Nicolas Graves Subject: Re: bug#65335: [PATCH 0/4] Allow mounting root on tmpfs for impersistence References: Date: Mon, 21 Aug 2023 16:09:32 +0200 In-Reply-To: (Nicolas Graves's message of "Mon, 21 Aug 2023 00:16:45 +0200") Message-ID: <87edjwa3mr.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 65335 Cc: 65335@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Nicolas Graves skribis: > --- > gnu/build/activation.scm | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/gnu/build/activation.scm b/gnu/build/activation.scm > index eea2233563..759704ae03 100644 > --- a/gnu/build/activation.scm > +++ b/gnu/build/activation.scm > @@ -408,6 +408,7 @@ (define* (activate-current-system > > (format #t "making '~a' the current system...~%" system) > > + (mkdir-p "/run") Same comment and question as for /var/run. From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 21 10:11:12 2023 Received: (at 65335) by debbugs.gnu.org; 21 Aug 2023 14:11:12 +0000 Received: from localhost ([127.0.0.1]:57401 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qY5cd-0000H9-W8 for submit@debbugs.gnu.org; Mon, 21 Aug 2023 10:11:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39276) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qY5cc-0000Gt-AP for 65335@debbugs.gnu.org; Mon, 21 Aug 2023 10:11:10 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qY5cT-00072j-KA; Mon, 21 Aug 2023 10:11:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=UetGdq2J/SxFdXpin9zvbn+bSAed66RlQCB2keNKz6w=; b=Ix8T2RzvSz0MmcZhHFxP oFLYC8BVRLazeNf8sJKEs7XrWGORd8iReQC0Ltr7chF3/vR3W8EhkKNRYkuhBb+/awvkteMLOdzpp rwa5mhRr3ZDReOCT65QJ5JVw0xeHY3buK4z0L/pWd3mW6Kov35CzfW8RXYx0JOGwgUfHiyGzI1l0I LgoUr7OtPwZAPne668790Pg0t2s6/PVXDuRWws59dS8s7I2+GmDNT8YExbAapLOnNdoBPYReAOmUn dktUC2Qt6jDS5N3XMeA0hIKTEO1mfXJZRBDcSPxaeevEZseI8DRmvGup6BNaSjygx+YQbIXrHDPMx 1+gLg5dz2ht7IQ==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Nicolas Graves Subject: Re: bug#65335: [PATCH 0/4] Allow mounting root on tmpfs for impersistence References: <52095319ac7aefa59a081b87fd8609811a5e1cd2.1692569807.git.ngraves@ngraves.fr> Date: Mon, 21 Aug 2023 16:10:59 +0200 In-Reply-To: <52095319ac7aefa59a081b87fd8609811a5e1cd2.1692569807.git.ngraves@ngraves.fr> (Nicolas Graves's message of "Mon, 21 Aug 2023 00:16:46 +0200") Message-ID: <87a5uka3kc.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 65335 Cc: 65335@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Nicolas Graves skribis: > + (if (string=? root "none") > + '() ;; Ignore the case where the root is "none" (typically tmpfs). Nitpick: please use a single semicolon for margin comments: '() ;like this Otherwise LGTM. From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 21 10:12:33 2023 Received: (at 65335) by debbugs.gnu.org; 21 Aug 2023 14:12:33 +0000 Received: from localhost ([127.0.0.1]:57409 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qY5dw-0000JU-Rm for submit@debbugs.gnu.org; Mon, 21 Aug 2023 10:12:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43436) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qY5dv-0000JI-U8 for 65335@debbugs.gnu.org; Mon, 21 Aug 2023 10:12:32 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qY5dm-0007D3-0F; Mon, 21 Aug 2023 10:12:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=ozbik/gckWmnpkQV2J2IF2sNDpeKnQuX0r3qxKkm/g8=; b=qA/l9/VUoOnCJLMOM6UE oM0wSYIRYBoncYwQt0W5NCYNFPLStKCK8CFzmJWmjwSxnnWZpB7HjLDMHpv+ZRR7S0zEt/Gf+5IpG idm77v1Dt+f60HVLJAnwmnmJO03YydWJa33iNc+A09tm0R1GJWhHOW4cFkRWJCcN7klcbAXpR6rnM KHaWAmm+m4Jfmjue2YZpWi0t97XdxaIRAPL9tzuwnOFK1HiV+wnDFYqQo3/10t/G4ZCsnI7Hfrmbb 8nZbe4KuUfXtyvC2aOBooMYzvdxO2njLnKu2206vkLem61IS+a6ntVmAWGycTA2rho1MFve+is8j/ 1s8FKffH5C/EpQ==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Nicolas Graves Subject: Re: bug#65335: [PATCH 0/4] Allow mounting root on tmpfs for impersistence References: <108a67c0ef10e00162d81bcf7bc6243d6895c49b.1692569807.git.ngraves@ngraves.fr> Date: Mon, 21 Aug 2023 16:12:05 +0200 In-Reply-To: <108a67c0ef10e00162d81bcf7bc6243d6895c49b.1692569807.git.ngraves@ngraves.fr> (Nicolas Graves's message of "Mon, 21 Aug 2023 00:16:47 +0200") Message-ID: <875y58a3ii.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 65335 Cc: 65335@debbugs.gnu.org, Andrew Tropin , paren@disroot.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Nicolas Graves skribis: > --- > gnu/home/services/symlink-manager.scm | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/gnu/home/services/symlink-manager.scm b/gnu/home/services/sy= mlink-manager.scm > index e4c931fbee..d3c4d01db4 100644 > --- a/gnu/home/services/symlink-manager.scm > +++ b/gnu/home/services/symlink-manager.scm > @@ -157,6 +157,11 @@ (define (update-symlinks-script) > #t > (G_ "Skipping ~a (not an empty directory)... = done\n") > directory)) > + ((=3D EBUSY errno) > + (format > + #t > + (G_ "Skipping ~a (dedicated device)... done\n= ") > + directory)) How does that relate to the rest of the patch series? What does =E2=80=9Cdedicate device=E2=80=9D mean here? Maybe add a comment giving some context. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 21 10:15:28 2023 Received: (at 65335) by debbugs.gnu.org; 21 Aug 2023 14:15:28 +0000 Received: from localhost ([127.0.0.1]:57415 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qY5gm-0000P1-DF for submit@debbugs.gnu.org; Mon, 21 Aug 2023 10:15:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46662) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qY5gl-0000Oq-4M for 65335@debbugs.gnu.org; Mon, 21 Aug 2023 10:15:27 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qY5gc-0007rV-2D; Mon, 21 Aug 2023 10:15:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=+LJTNay/4nBGdpNpG0CCYPa+BZKSd5bx0/lmExxLnh8=; b=YaXP5rjSBlXGZbbkCz3+ 4KIy8bZO/26zmT9QSrDmEEEPgFj8OYMqAUeb7OaGizbdlRc0xHAN6v8Qw9iuCGVTouTu5G1IdjGEI ZUY1u0Nbwt16jzXdhDXwlEP+zahjpazKFdRFpRmH2MmmZW5utNEX3ERmhHh+qY9EkHoArg98dQaxl aTUcZJk78TX0si8LcN3mBUWJvicfCX+A/C4YkwCKu7HrDbGBdacrlWjsQ81yRfJ0eCtsV/gRq3w1X 9OjhT8bzdv86hlLRiClF+eLQZRSDaeLV2OBvCoGpcEiE+V3sn2ofJ3fafMjA26P4DXQ33Iw5jx8HJ MwDlOr/IrIp0HQ==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Nicolas Graves Subject: Re: bug#65335: [PATCH 0/4] Allow mounting root on tmpfs for impersistence References: <52095319ac7aefa59a081b87fd8609811a5e1cd2.1692569807.git.ngraves@ngraves.fr> Date: Mon, 21 Aug 2023 16:15:16 +0200 In-Reply-To: <52095319ac7aefa59a081b87fd8609811a5e1cd2.1692569807.git.ngraves@ngraves.fr> (Nicolas Graves's message of "Mon, 21 Aug 2023 00:16:46 +0200") Message-ID: <871qfwa3d7.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 65335 Cc: 65335@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) A couple more things: 1. Could you add a system test with / on tmpfs? This can be done by calling =E2=80=98run-basic-test=E2=80=99 with a custom OS config where= / is on tmpfs. 2. Perhaps add a sentence or two under =E2=80=9Coperating-system Referenc= e=E2=80=9D stating that "/" can be on tmpfs and that its =E2=80=98device=E2=80=99= field must be =E2=80=9Cnone=E2=80=9D in that case. Apart from these minor issues, it looks great to me! Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 09 06:47:33 2023 Received: (at 65335) by debbugs.gnu.org; 9 Sep 2023 10:47:33 +0000 Received: from localhost ([127.0.0.1]:46240 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qevUz-0003Zc-BJ for submit@debbugs.gnu.org; Sat, 09 Sep 2023 06:47:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38144) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qevUw-0003ZJ-Fb for 65335@debbugs.gnu.org; Sat, 09 Sep 2023 06:47:31 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qevUn-0000Nu-7Q; Sat, 09 Sep 2023 06:47:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=GbwJf2uLqT1aEFUEh0nACDnevfSMu0yFbANFrFW8qhY=; b=Wjkd0BBne/4lHq9PG8EI YHpm5NYwrvns/82hCrRT5jXfdsc7JvUPgtneC10VjJuh5NesI5iTpedFIRY5sx+qlG/PWTUKMQZb/ jYvaFVH0hGSG6cmTIpDyVJmqB2IbBHh2DLYHKSjFuLE+UbIkyOFHZnTF0T866yo0oRxE67wJGF21d 5SA+sqsLeh6Cj/NfJG/cM7dI101P2KkZHeo877MLtjC8Gd6KV4frncLO/HMZBOMJbK3n+gcDBhTXD 1RSFBRPl1tXY/8GvjEjp3AVN/XUDCxTIzCyPsoaLzkOILHVPOSmuCu4BvWMhHBh6lBt+AY8D9Ckyq XSdLBbtJ0Wn+nQ==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Nicolas Graves Subject: Re: bug#65335: [PATCH 0/4] Allow mounting root on tmpfs for impersistence References: <108a67c0ef10e00162d81bcf7bc6243d6895c49b.1692569807.git.ngraves@ngraves.fr> <875y58a3ii.fsf_-_@gnu.org> Date: Sat, 09 Sep 2023 12:47:19 +0200 In-Reply-To: <875y58a3ii.fsf_-_@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s?= =?utf-8?Q?=22's?= message of "Mon, 21 Aug 2023 16:12:05 +0200") Message-ID: <87edj7zkqw.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 65335 Cc: 65335@debbugs.gnu.org, paren@disroot.org, Andrew Tropin X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, (You forgot to Cc the bug in your reply, so our conversation went off the record=E2=80=A6) Ludovic Court=C3=A8s skribis: > Nicolas Graves skribis: > >> --- >> gnu/home/services/symlink-manager.scm | 5 +++++ >> 1 file changed, 5 insertions(+) >> >> diff --git a/gnu/home/services/symlink-manager.scm b/gnu/home/services/s= ymlink-manager.scm >> index e4c931fbee..d3c4d01db4 100644 >> --- a/gnu/home/services/symlink-manager.scm >> +++ b/gnu/home/services/symlink-manager.scm >> @@ -157,6 +157,11 @@ (define (update-symlinks-script) >> #t >> (G_ "Skipping ~a (not an empty directory)...= done\n") >> directory)) >> + ((=3D EBUSY errno) >> + (format >> + #t >> + (G_ "Skipping ~a (dedicated device)... done\= n") >> + directory)) > > How does that relate to the rest of the patch series? What does > =E2=80=9Cdedicate device=E2=80=9D mean here? Your use case is for when ~/.local (for instance) is a separate mount point (an uncommon use case because mounting file systems on Linux usually requires root privileges). I=E2=80=99d suggested =E2=80=9Cdedicated device=E2=80=9D =E2=86=92 =E2=80= =9Cunderlying device is busy=E2=80=9D, and a short comment above explaining the kind of situation where this can occur. Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 05 09:07:56 2023 Received: (at 65335) by debbugs.gnu.org; 5 Oct 2023 13:07:56 +0000 Received: from localhost ([127.0.0.1]:46252 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qoO56-0003DN-CI for submit@debbugs.gnu.org; Thu, 05 Oct 2023 09:07:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43968) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qoO54-0003D9-W2 for 65335@debbugs.gnu.org; Thu, 05 Oct 2023 09:07:55 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qoO4g-0003Pn-1c; Thu, 05 Oct 2023 09:07:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=fgSsIAe0K1dgjKR5SV5yaeeLtHbjMaV5hTTyYjAUaNA=; b=Ha3YLM6ykvkI47Qw4qWl cCKTcMEjY0FrDF51OtTxb2nX8aGSa+FshIBImz6Ib7WRyBb9c0Sb0Aaiy9fIxnixKlGubZfokpIdy y5t/ocz6PgsR+QEp+9NcXttDCwgaqK/sgrk+Z6Xn/GfXMN/xbYTP1nWJZpiiG/0tgYLp9tJKQNDL6 6mwTrXWiH6Kja3vxlbF1aw0fGGnjdP9dRsODkuN2f2KIuG3ahoKIQgnpRDPUsrkjtulHEKUZuqnka IniYcrh0wZdobT3WPVk2wfoke4cXjh6aQ/HF/Owf4HLlSFV7vzuafxMiD1xg/MS0kCEqw7phoaI0c z5+PX/q29rd52A==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Nicolas Graves Subject: Re: bug#65335: [PATCH 0/4] Allow mounting root on tmpfs for impersistence In-Reply-To: <87edj7zkqw.fsf_-_@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s?= =?utf-8?Q?=22's?= message of "Sat, 09 Sep 2023 12:47:19 +0200") References: <108a67c0ef10e00162d81bcf7bc6243d6895c49b.1692569807.git.ngraves@ngraves.fr> <875y58a3ii.fsf_-_@gnu.org> <87edj7zkqw.fsf_-_@gnu.org> Date: Thu, 05 Oct 2023 15:07:05 +0200 Message-ID: <87edi96ww6.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 65335 Cc: 65335@debbugs.gnu.org, Andrew Tropin , paren@disroot.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Nicolas, Did you have a chance to work on a revised version of this patch set? https://issues.guix.gnu.org/65335 Seems to me that little was missing. Thanks in advance! Ludo=E2=80=99. Ludovic Court=C3=A8s skribis: > Hi, > > (You forgot to Cc the bug in your reply, so our conversation went off > the record=E2=80=A6) > > Ludovic Court=C3=A8s skribis: > >> Nicolas Graves skribis: >> >>> --- >>> gnu/home/services/symlink-manager.scm | 5 +++++ >>> 1 file changed, 5 insertions(+) >>> >>> diff --git a/gnu/home/services/symlink-manager.scm b/gnu/home/services/= symlink-manager.scm >>> index e4c931fbee..d3c4d01db4 100644 >>> --- a/gnu/home/services/symlink-manager.scm >>> +++ b/gnu/home/services/symlink-manager.scm >>> @@ -157,6 +157,11 @@ (define (update-symlinks-script) >>> #t >>> (G_ "Skipping ~a (not an empty directory)..= . done\n") >>> directory)) >>> + ((=3D EBUSY errno) >>> + (format >>> + #t >>> + (G_ "Skipping ~a (dedicated device)... done= \n") >>> + directory)) >> >> How does that relate to the rest of the patch series? What does >> =E2=80=9Cdedicate device=E2=80=9D mean here? > > Your use case is for when ~/.local (for instance) is a separate mount > point (an uncommon use case because mounting file systems on Linux > usually requires root privileges). > > I=E2=80=99d suggested =E2=80=9Cdedicated device=E2=80=9D =E2=86=92 =E2=80= =9Cunderlying device is busy=E2=80=9D, and a > short comment above explaining the kind of situation where this can > occur. > > Thanks, > Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 05 10:30:50 2023 Received: (at 65335) by debbugs.gnu.org; 5 Oct 2023 14:30:50 +0000 Received: from localhost ([127.0.0.1]:48057 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qoPNK-0008N3-1e for submit@debbugs.gnu.org; Thu, 05 Oct 2023 10:30:50 -0400 Received: from 19.mo550.mail-out.ovh.net ([178.32.97.206]:43575) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qoPNF-0008Ms-3y for 65335@debbugs.gnu.org; Thu, 05 Oct 2023 10:30:49 -0400 Received: from director2.ghost.mail-out.ovh.net (unknown [10.108.20.147]) by mo550.mail-out.ovh.net (Postfix) with ESMTP id 8AC6D28E3F for <65335@debbugs.gnu.org>; Thu, 5 Oct 2023 14:30:22 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-c4xd6 (unknown [10.110.103.79]) by director2.ghost.mail-out.ovh.net (Postfix) with ESMTPS id AB30F1FEA2; Thu, 5 Oct 2023 14:30:19 +0000 (UTC) Received: from ngraves.fr ([37.59.142.105]) by ghost-submission-6684bf9d7b-c4xd6 with ESMTPSA id lFw0J3vIHmWl8gAAcv9xpw (envelope-from ); Thu, 05 Oct 2023 14:30:19 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-105G00613860a03-369d-4080-aa4b-0f20f78033da, 61FDDC3CB6C893EDD6D8D4386A31E254073FBF5F) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.140.142 From: Nicolas Graves To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#65335: [PATCH 0/4] Allow mounting root on tmpfs for impersistence In-Reply-To: <87edi96ww6.fsf_-_@gnu.org> References: <108a67c0ef10e00162d81bcf7bc6243d6895c49b.1692569807.git.ngraves@ngraves.fr> <875y58a3ii.fsf_-_@gnu.org> <87edj7zkqw.fsf_-_@gnu.org> <87edi96ww6.fsf_-_@gnu.org> Date: Thu, 05 Oct 2023 16:30:18 +0200 Message-ID: <877co1p2f9.fsf@ngraves.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Ovh-Tracer-Id: 14446984657377682011 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvkedrgeeggdejhecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvfevufgjfhffkfggtgfgsehtqhertddttdejnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdeggeehteeggfeujeeltdekfefgtedvgfetieevffduueefvdfgffevieeiheffnecuffhomhgrihhnpehgnhhurdhorhhgnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugedtrddugedvpdefjedrheelrddugedvrddutdehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqedpnhgspghrtghpthhtohepuddprhgtphhtthhopeeiheeffeehseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehhedtpdhmohguvgepshhmthhpohhuth X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 65335 Cc: 65335@debbugs.gnu.org, Andrew Tropin , paren@disroot.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 2023-10-05 15:07, Ludovic Court=C3=A8s wrote: > Hi Nicolas, > > Did you have a chance to work on a revised version of this patch set? > > https://issues.guix.gnu.org/65335 > > Seems to me that little was missing. Indeed, I have to finish this among other things. I still use it locally and it works well for system impermanence.=20 I couldn't answer your following question : > Should /var/run be removed (in the same commit) from =E2=80=98directive= s=E2=80=99 in > (gnu build install)? Maybe you can help a bit if you have worked on this, so that I understand correctly if something should be done here or not.=20 > > Thanks in advance! > > Ludo=E2=80=99. > > Ludovic Court=C3=A8s skribis: > >> Hi, >> >> (You forgot to Cc the bug in your reply, so our conversation went off >> the record=E2=80=A6) >> >> Ludovic Court=C3=A8s skribis: >> >>> Nicolas Graves skribis: >>> >>>> --- >>>> gnu/home/services/symlink-manager.scm | 5 +++++ >>>> 1 file changed, 5 insertions(+) >>>> >>>> diff --git a/gnu/home/services/symlink-manager.scm b/gnu/home/services= /symlink-manager.scm >>>> index e4c931fbee..d3c4d01db4 100644 >>>> --- a/gnu/home/services/symlink-manager.scm >>>> +++ b/gnu/home/services/symlink-manager.scm >>>> @@ -157,6 +157,11 @@ (define (update-symlinks-script) >>>> #t >>>> (G_ "Skipping ~a (not an empty directory).= .. done\n") >>>> directory)) >>>> + ((=3D EBUSY errno) >>>> + (format >>>> + #t >>>> + (G_ "Skipping ~a (dedicated device)... don= e\n") >>>> + directory)) >>> >>> How does that relate to the rest of the patch series? What does >>> =E2=80=9Cdedicate device=E2=80=9D mean here? >> >> Your use case is for when ~/.local (for instance) is a separate mount >> point (an uncommon use case because mounting file systems on Linux >> usually requires root privileges). >> >> I=E2=80=99d suggested =E2=80=9Cdedicated device=E2=80=9D =E2=86=92 =E2= =80=9Cunderlying device is busy=E2=80=9D, and a >> short comment above explaining the kind of situation where this can >> occur. >> >> Thanks, >> Ludo=E2=80=99. --=20 Best regards, Nicolas Graves From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 12 02:56:46 2023 Received: (at 65335) by debbugs.gnu.org; 12 Oct 2023 06:56:46 +0000 Received: from localhost ([127.0.0.1]:40495 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qqpcj-000718-UF for submit@debbugs.gnu.org; Thu, 12 Oct 2023 02:56:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46386) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qqpch-00070t-2e for 65335@debbugs.gnu.org; Thu, 12 Oct 2023 02:56:45 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qqpcD-000509-PL; Thu, 12 Oct 2023 02:56:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=N30NhRgTqtuYe8SAwXXGSXUaYCdG32mkGXNLPJBx1Zg=; b=Q/Pd70wi1Am4UGxhj1TT ER+Y/7M4LY9rptpAhjX0/2E1tHQbDGNqwWOhYBcMvcnqfMIhxuU9CCZ21TvcybieQWGxWOycC5G6r IAAVjYKtPEYwwa7lEOIYA3WtkmVGb9jGX6RmnlUQuqXf0lr96ofTJG35wqIXj0G06Ke1mWYSg+u42 HRg0sRiueFOD18I2Aq/n6REqBa0dJK3upVgMErhBKAPCyl7aOb5ZGJZYu2K1wW8U9oGceJwdbRJf2 I4ZVaohqx2T0Px4zonhvUTi/wRQFJpY+lXQfBeTnwViYtpCwacCEFfTHG9uDBKj57kmYE8zhGitr6 1iioepRyemUUPQ==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Nicolas Graves Subject: Re: bug#65335: [PATCH 0/4] Allow mounting root on tmpfs for impersistence In-Reply-To: <877co1p2f9.fsf@ngraves.fr> (Nicolas Graves's message of "Thu, 05 Oct 2023 16:30:18 +0200") References: <108a67c0ef10e00162d81bcf7bc6243d6895c49b.1692569807.git.ngraves@ngraves.fr> <875y58a3ii.fsf_-_@gnu.org> <87edj7zkqw.fsf_-_@gnu.org> <87edi96ww6.fsf_-_@gnu.org> <877co1p2f9.fsf@ngraves.fr> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Primidi 21 =?utf-8?Q?Vend=C3=A9miaire?= an 232 de la =?utf-8?Q?R=C3=A9volution=2C?= jour du Chanvre X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 12 Oct 2023 08:55:52 +0200 Message-ID: <87lec8pbwn.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 65335 Cc: 65335@debbugs.gnu.org, Andrew Tropin , paren@disroot.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Nicolas Graves skribis: > On 2023-10-05 15:07, Ludovic Court=C3=A8s wrote: [...] >> Should /var/run be removed (in the same commit) from =E2=80=98directiv= es=E2=80=99 in >> (gnu build install)? > > Maybe you can help a bit if you have worked on this, so that I > understand correctly if something should be done here or not.=20 The directives in (gnu build install) specify files and directories that should be created upfront when initializing a system=E2=80=94meaning when running =E2=80=98guix system init=E2=80=99, or when populating a VM image. = The boot/activation code assumes that these files already exist when the system boots. If we=E2=80=99re now creating /var/run in an activation snippet, then it no longer needs to be here. When doing such changes, I would suggest to at least run: make check-system TESTS=3Dbasic to detect obvious mistakes, and perhaps run the =E2=80=9Cinstalled-os=E2=80= =9D test as well (it=E2=80=99s much more expensive, so run it once you=E2=80=99re essen= tially done). HTH! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 03 21:20:30 2024 Received: (at 65335) by debbugs.gnu.org; 4 Feb 2024 02:20:30 +0000 Received: from localhost ([127.0.0.1]:47364 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rWS7R-0006Yj-UK for submit@debbugs.gnu.org; Sat, 03 Feb 2024 21:20:30 -0500 Received: from 8.mo583.mail-out.ovh.net ([178.32.116.78]:42025) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rWS7N-0006YI-CR for 65335@debbugs.gnu.org; Sat, 03 Feb 2024 21:20:28 -0500 Received: from director5.ghost.mail-out.ovh.net (unknown [10.108.2.235]) by mo583.mail-out.ovh.net (Postfix) with ESMTP id 02CB028209 for <65335@debbugs.gnu.org>; Sun, 4 Feb 2024 02:20:11 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-krmn9 (unknown [10.110.113.27]) by director5.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 7FB341FD86; Sun, 4 Feb 2024 02:20:11 +0000 (UTC) Received: from ngraves.fr ([37.59.142.102]) by ghost-submission-6684bf9d7b-krmn9 with ESMTPSA id xjbYF1v0vmWhngAA2JHyhw (envelope-from ); Sun, 04 Feb 2024 02:20:11 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-102R0049254cd7b-48f8-4658-af9a-92827fe38b15, CDD90146079FDB87F723A7A7FD21F5F4569C6C59) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.146.208 From: Nicolas Graves To: 65335@debbugs.gnu.org Subject: [PATCH v3 1/5] gnu: build: file-systems: Extend tmpfs fallback. Date: Sun, 4 Feb 2024 03:19:53 +0100 Message-ID: <20240204022004.2785-1-ngraves@ngraves.fr> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 17607667170554929885 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvkedrfedujedggeeiucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffogggtgfesthekredtredtjeenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeetveehffevvdfgtddthedvhfeguefggeffteetueeliedvhffhjeegudehleegheenucfkphepuddvjedrtddrtddruddpkedurdeijedrudegiedrvddtkedpfeejrdehledrudegvddruddtvdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepieehfeefheesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekfedpmhhouggvpehsmhhtphhouhht X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 65335 Cc: ludo@gnu.org, ngraves@ngraves.fr X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/build/file-systems (canonicalize-device-name): Fallback to tmpfs if spec is "none". Change-Id: Ia55c715d04c7611ba8c979f23f1ad4a8ed2e75b6 --- gnu/build/file-systems.scm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/gnu/build/file-systems.scm b/gnu/build/file-systems.scm index 36a59f5f5c..78d779f398 100644 --- a/gnu/build/file-systems.scm +++ b/gnu/build/file-systems.scm @@ -7,6 +7,7 @@ ;;; Copyright © 2019 David C. Trudgian ;;; Copyright © 2020 Maxim Cournoyer ;;; Copyright © 2022 Oleg Pykhalov +;;; Copyright © 2024 Nicolas Graves ;;; ;;; This file is part of GNU Guix. ;;; @@ -1021,8 +1022,8 @@ (define find-partition-by-luks-uuid (define (canonicalize-device-spec spec) "Return the device name corresponding to SPEC, which can be a , a -, or a string (typically a /dev file name or an nfs-root -containing ':/')." +, the string 'none' or another string (typically a /dev +file name or an nfs-root containing ':/')." (define max-trials ;; Number of times we retry partition label resolution, 1 second per ;; trial. Note: somebody reported a delay of 16 seconds (!) before their @@ -1046,8 +1047,8 @@ (define (resolve find-partition spec fmt) (match spec ((? string?) - (if (string-contains spec ":/") - spec ; do not resolve NFS devices + (if (or (string-contains spec ":/") (string=? spec "none")) + spec ; do not resolve NFS / tmpfs devices ;; Nothing to do, but wait until SPEC shows up. (resolve identity spec identity))) ((? file-system-label?) -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 03 21:20:30 2024 Received: (at 65335) by debbugs.gnu.org; 4 Feb 2024 02:20:30 +0000 Received: from localhost ([127.0.0.1]:47366 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rWS7S-0006Yl-CF for submit@debbugs.gnu.org; Sat, 03 Feb 2024 21:20:30 -0500 Received: from 2.mo576.mail-out.ovh.net ([178.33.251.80]:39165) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rWS7O-0006YK-Pw for 65335@debbugs.gnu.org; Sat, 03 Feb 2024 21:20:28 -0500 Received: from director8.ghost.mail-out.ovh.net (unknown [10.108.17.245]) by mo576.mail-out.ovh.net (Postfix) with ESMTP id 245ED30FCD for <65335@debbugs.gnu.org>; Sun, 4 Feb 2024 02:20:13 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-64d6d (unknown [10.110.113.27]) by director8.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 747DD1FD29; Sun, 4 Feb 2024 02:20:12 +0000 (UTC) Received: from ngraves.fr ([37.59.142.103]) by ghost-submission-6684bf9d7b-64d6d with ESMTPSA id qZ8SH1z0vmXcEgoADV1rBw (envelope-from ); Sun, 04 Feb 2024 02:20:12 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-103G005bc25c3ee-ee2e-4035-b4c7-376f3e0e0cbc, CDD90146079FDB87F723A7A7FD21F5F4569C6C59) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.146.208 From: Nicolas Graves To: 65335@debbugs.gnu.org Subject: [PATCH v3 2/5] gnu: services: Ensure /var/run existence in activation-script. Date: Sun, 4 Feb 2024 03:19:54 +0100 Message-ID: <20240204022004.2785-2-ngraves@ngraves.fr> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240204022004.2785-1-ngraves@ngraves.fr> References: <20240204022004.2785-1-ngraves@ngraves.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 17607948644155187933 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvkedrfedujedggeejucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfgggtgfesthekredtredtjeenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvleelgeeffeetleekueegvdfhtedvueffiefhkedtleejkeduveelgfdufeduleenucfkphepuddvjedrtddrtddruddpkedurdeijedrudegiedrvddtkedpfeejrdehledrudegvddruddtfeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepieehfeefheesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheejiedpmhhouggvpehsmhhtphhouhht X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 65335 Cc: ludo@gnu.org, ngraves@ngraves.fr X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/services.scm (activation-script): Ensure /var/run existence. * gnu/build/install.scm (evaluate-populate-directive) [directives]: Remove directory /var/run. Change-Id: I5fb93d33b6b1f045f1e5ba206b9b0b74b5184260 --- gnu/build/install.scm | 2 +- gnu/services.scm | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gnu/build/install.scm b/gnu/build/install.scm index d4982650c1..618a51af8e 100644 --- a/gnu/build/install.scm +++ b/gnu/build/install.scm @@ -2,6 +2,7 @@ ;;; Copyright © 2013-2020, 2022 Ludovic Courtès ;;; Copyright © 2016 Chris Marusich ;;; Copyright © 2022 Maxim Cournoyer +;;; Copyright © 2024 Nicolas Graves ;;; ;;; This file is part of GNU Guix. ;;; @@ -134,7 +135,6 @@ (define (directives store) (directory "/var/guix/gcroots") (directory "/var/empty") ; for no-login accounts (directory "/var/db") ; for dhclient, etc. - (directory "/var/run") (directory "/run") (directory "/mnt") (directory "/var/guix/profiles/per-user/root" 0 0) diff --git a/gnu/services.scm b/gnu/services.scm index 23c3d8a9f4..59481af10f 100644 --- a/gnu/services.scm +++ b/gnu/services.scm @@ -7,6 +7,7 @@ ;;; Copyright © 2020 Christine Lemmer-Webber ;;; Copyright © 2020, 2021 Brice Waegeneire ;;; Copyright © 2023 Brian Cully +;;; Copyright © 2024 Nicolas Graves ;;; ;;; This file is part of GNU Guix. ;;; @@ -692,6 +693,7 @@ (define actions (use-modules (gnu build activation) (guix build utils)) + (mkdir-p "/var/run") ;; Make sure the user accounting database exists. If it ;; does not exist, 'setutxent' does not create it and ;; thus there is no accounting at all. -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 03 21:20:31 2024 Received: (at 65335) by debbugs.gnu.org; 4 Feb 2024 02:20:31 +0000 Received: from localhost ([127.0.0.1]:47369 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rWS7S-0006Yz-SB for submit@debbugs.gnu.org; Sat, 03 Feb 2024 21:20:31 -0500 Received: from 3.mo560.mail-out.ovh.net ([46.105.58.226]:60703) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rWS7Q-0006YM-Bn for 65335@debbugs.gnu.org; Sat, 03 Feb 2024 21:20:29 -0500 Received: from director6.ghost.mail-out.ovh.net (unknown [10.109.176.211]) by mo560.mail-out.ovh.net (Postfix) with ESMTP id E710A269E5 for <65335@debbugs.gnu.org>; Sun, 4 Feb 2024 02:20:14 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-xfz5d (unknown [10.108.42.247]) by director6.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 8D0821FD59; Sun, 4 Feb 2024 02:20:13 +0000 (UTC) Received: from ngraves.fr ([37.59.142.95]) by ghost-submission-6684bf9d7b-xfz5d with ESMTPSA id Lw0BKV30vmVmEgkA0jpIEA (envelope-from ); Sun, 04 Feb 2024 02:20:13 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-95G001f9a2a8f3-ec74-48d2-9645-34bb15f8f0dd, CDD90146079FDB87F723A7A7FD21F5F4569C6C59) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.146.208 From: Nicolas Graves To: 65335@debbugs.gnu.org Subject: [PATCH v3 3/5] gnu: build: activation: Ensure /run existence. Date: Sun, 4 Feb 2024 03:19:55 +0100 Message-ID: <20240204022004.2785-3-ngraves@ngraves.fr> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240204022004.2785-1-ngraves@ngraves.fr> References: <20240204022004.2785-1-ngraves@ngraves.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 17608511593401934557 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvkedrfedujedggeeiucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfgggtgfesthekredtredtjeenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvleelgeeffeetleekueegvdfhtedvueffiefhkedtleejkeduveelgfdufeduleenucfkphepuddvjedrtddrtddruddpkedurdeijedrudegiedrvddtkedpfeejrdehledrudegvddrleehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqedpnhgspghrtghpthhtohepuddprhgtphhtthhopeeiheeffeehseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehiedtpdhmohguvgepshhmthhpohhuth X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 65335 Cc: ludo@gnu.org, ngraves@ngraves.fr X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/build/activation.scm (activation-script): Ensure /var/run existence. * gnu/build/install.scm (evaluate-populate-directive) [directives]: Remove directory /run. Change-Id: I19ca8e7605c0cff598ab89077a94e20390ba27b0 --- gnu/build/activation.scm | 2 ++ gnu/build/install.scm | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/build/activation.scm b/gnu/build/activation.scm index eea2233563..d8c0cd22a3 100644 --- a/gnu/build/activation.scm +++ b/gnu/build/activation.scm @@ -8,6 +8,7 @@ ;;; Copyright © 2021 Maxime Devos ;;; Copyright © 2020 Christine Lemmer-Webber ;;; Copyright © 2021 Brice Waegeneire +;;; Copyright © 2024 Nicolas Graves ;;; ;;; This file is part of GNU Guix. ;;; @@ -408,6 +409,7 @@ (define* (activate-current-system (format #t "making '~a' the current system...~%" system) + (mkdir-p "/run") ;; Atomically make SYSTEM current. (let ((new (string-append %current-system ".new"))) (symlink system new) diff --git a/gnu/build/install.scm b/gnu/build/install.scm index 618a51af8e..0aa227b4d8 100644 --- a/gnu/build/install.scm +++ b/gnu/build/install.scm @@ -135,7 +135,6 @@ (define (directives store) (directory "/var/guix/gcroots") (directory "/var/empty") ; for no-login accounts (directory "/var/db") ; for dhclient, etc. - (directory "/run") (directory "/mnt") (directory "/var/guix/profiles/per-user/root" 0 0) -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 03 21:20:33 2024 Received: (at 65335) by debbugs.gnu.org; 4 Feb 2024 02:20:33 +0000 Received: from localhost ([127.0.0.1]:47371 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rWS7U-0006ZC-LK for submit@debbugs.gnu.org; Sat, 03 Feb 2024 21:20:33 -0500 Received: from 13.mo581.mail-out.ovh.net ([87.98.150.175]:38271) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rWS7R-0006YU-BF for 65335@debbugs.gnu.org; Sat, 03 Feb 2024 21:20:30 -0500 Received: from director5.ghost.mail-out.ovh.net (unknown [10.108.17.245]) by mo581.mail-out.ovh.net (Postfix) with ESMTP id 1FFEF26A91 for <65335@debbugs.gnu.org>; Sun, 4 Feb 2024 02:20:16 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-dt286 (unknown [10.111.174.42]) by director5.ghost.mail-out.ovh.net (Postfix) with ESMTPS id C3C591FE0E; Sun, 4 Feb 2024 02:20:15 +0000 (UTC) Received: from ngraves.fr ([37.59.142.101]) by ghost-submission-6684bf9d7b-dt286 with ESMTPSA id nTa6KF/0vmUMawAA8jytNA (envelope-from ); Sun, 04 Feb 2024 02:20:15 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-101G004fbf59db4-cc92-4d0f-9c71-2ef19c7bbdd0, CDD90146079FDB87F723A7A7FD21F5F4569C6C59) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.146.208 From: Nicolas Graves To: 65335@debbugs.gnu.org Subject: [PATCH v3 4/5] gnu: system: bootable-kernel-arguments: Extend tmpfs fallback. Date: Sun, 4 Feb 2024 03:19:56 +0100 Message-ID: <20240204022004.2785-4-ngraves@ngraves.fr> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240204022004.2785-1-ngraves@ngraves.fr> References: <20240204022004.2785-1-ngraves@ngraves.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 17609074546024047325 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvkedrfedujedggeeiucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfgggtgfesthekredtredtjeenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvleelgeeffeetleekueegvdfhtedvueffiefhkedtleejkeduveelgfdufeduleenucfkphepuddvjedrtddrtddruddpkedurdeijedrudegiedrvddtkedpfeejrdehledrudegvddruddtudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepieehfeefheesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekuddpmhhouggvpehsmhhtphhouhht X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 65335 Cc: ludo@gnu.org, ngraves@ngraves.fr X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/system.scm (bootable-kernel-arguments): Fallback to tmpfs if root is "none". Change-Id: I35a656e71169dc786e5256d98a3c04c65043086d --- gnu/system.scm | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/gnu/system.scm b/gnu/system.scm index 3cd64a5c9f..aede35775e 100644 --- a/gnu/system.scm +++ b/gnu/system.scm @@ -15,6 +15,7 @@ ;;; Copyright © 2021 Maxime Devos ;;; Copyright © 2021 raid5atemyhomework ;;; Copyright © 2023 Bruno Victal +;;; Copyright © 2024 Nicolas Graves ;;; ;;; This file is part of GNU Guix. ;;; @@ -197,15 +198,18 @@ (define* (bootable-kernel-arguments system root-device version) ;; compatibility when producing bootloader configurations for older ;; generations. (define version>0? (> version 0)) - (list (string-append (if version>0? "root=" "--root=") - ;; Note: Always use the DCE format because that's what - ;; (gnu build linux-boot) expects for the 'root' - ;; kernel command-line option. - (file-system-device->string root-device - #:uuid-type 'dce)) - #~(string-append (if #$version>0? "gnu.system=" "--system=") #$system) - #~(string-append (if #$version>0? "gnu.load=" "--load=") - #$system "/boot"))) + (let ((root (file-system-device->string root-device + #:uuid-type 'dce))) + (append + (if (string=? root "none") + '() ; Ignore the case where the root is "none" (typically tmpfs). + ;; Note: Always use the DCE format because that's what + ;; (gnu build linux-boot) expects for the 'root' + ;; kernel command-line option. + (list (string-append (if version>0? "root=" "--root=") root))) + (list #~(string-append (if #$version>0? "gnu.system=" "--system=") #$system) + #~(string-append (if #$version>0? "gnu.load=" "--load=") + #$system "/boot"))))) ;; System-wide configuration. -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 03 21:20:35 2024 Received: (at 65335) by debbugs.gnu.org; 4 Feb 2024 02:20:35 +0000 Received: from localhost ([127.0.0.1]:47373 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rWS7X-0006ZT-2I for submit@debbugs.gnu.org; Sat, 03 Feb 2024 21:20:35 -0500 Received: from 2.mo581.mail-out.ovh.net ([87.98.143.68]:51065) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rWS7S-0006Yi-DF for 65335@debbugs.gnu.org; Sat, 03 Feb 2024 21:20:33 -0500 Received: from director5.ghost.mail-out.ovh.net (unknown [10.108.2.235]) by mo581.mail-out.ovh.net (Postfix) with ESMTP id 89B3026DBE for <65335@debbugs.gnu.org>; Sun, 4 Feb 2024 02:20:17 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-7bbx8 (unknown [10.110.178.109]) by director5.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 4372D1FD86; Sun, 4 Feb 2024 02:20:17 +0000 (UTC) Received: from ngraves.fr ([37.59.142.108]) by ghost-submission-6684bf9d7b-7bbx8 with ESMTPSA id q7n5DWH0vmXPiAMAhd4O0w (envelope-from ); Sun, 04 Feb 2024 02:20:17 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-108S0026c223a19-ae90-437a-acae-6d81dfa849df, CDD90146079FDB87F723A7A7FD21F5F4569C6C59) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.146.208 From: Nicolas Graves To: 65335@debbugs.gnu.org Subject: [PATCH v3 5/5] gnu: home: symlink-manager: Allow busy device skip. Date: Sun, 4 Feb 2024 03:19:57 +0100 Message-ID: <20240204022004.2785-5-ngraves@ngraves.fr> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240204022004.2785-1-ngraves@ngraves.fr> References: <20240204022004.2785-1-ngraves@ngraves.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 17609356018216198877 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 17 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvkedrfedujedggeeiucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucgfrhhlucfvnfffucdludejmdenucfjughrpefhvfevufffkffojghfgggtgfesthekredtredtjeenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvleelgeeffeetleekueegvdfhtedvueffiefhkedtleejkeduveelgfdufeduleenucfkphepuddvjedrtddrtddruddpkedurdeijedrudegiedrvddtkedpfeejrdehledrudegvddruddtkeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepieehfeefheesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekuddpmhhouggvpehsmhhtphhouhht X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 65335 Cc: ludo@gnu.org, ngraves@ngraves.fr X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/home/services/symlink-manager.scm (update-symlinks-script): Allow busy device skip. Change-Id: Iff91c8a30309d25c02a8311d8d5ddbf54e90f5ad --- gnu/home/services/symlink-manager.scm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gnu/home/services/symlink-manager.scm b/gnu/home/services/symlink-manager.scm index e4c931fbee..560e03a839 100644 --- a/gnu/home/services/symlink-manager.scm +++ b/gnu/home/services/symlink-manager.scm @@ -2,6 +2,7 @@ ;;; Copyright © 2021 Andrew Tropin ;;; Copyright © 2021 Xinglu Chen ;;; Copyright © 2022 Ludovic Courtès +;;; Copyright © 2024 Nicolas Graves ;;; ;;; This file is part of GNU Guix. ;;; @@ -157,6 +158,12 @@ (define (strip file) #t (G_ "Skipping ~a (not an empty directory)... done\n") directory)) + ;; This happens when the directory is a mounted device. + ((= EBUSY errno) + (format + #t + (G_ "Skipping ~a (underlying device is busy)... done\n") + directory)) ((= ENOENT errno) #t) ((= ENOTDIR errno) #t) (else -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 15 06:45:44 2024 Received: (at 65335) by debbugs.gnu.org; 15 Feb 2024 11:45:44 +0000 Received: from localhost ([127.0.0.1]:54199 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1raaBU-00061s-7q for submit@debbugs.gnu.org; Thu, 15 Feb 2024 06:45:44 -0500 Received: from 10.mo575.mail-out.ovh.net ([46.105.79.203]:48367) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1raaBR-00061j-BC for 65335@debbugs.gnu.org; Thu, 15 Feb 2024 06:45:42 -0500 Received: from director9.ghost.mail-out.ovh.net (unknown [10.108.9.127]) by mo575.mail-out.ovh.net (Postfix) with ESMTP id 4TbCt86CG6z1JLK for <65335@debbugs.gnu.org>; Thu, 15 Feb 2024 11:45:20 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-d4mjx (unknown [10.110.113.120]) by director9.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 644471FEC0; Thu, 15 Feb 2024 11:45:20 +0000 (UTC) Received: from ngraves.fr ([37.59.142.109]) by ghost-submission-6684bf9d7b-d4mjx with ESMTPSA id 1eANFFD5zWWKpxUAjIey1Q (envelope-from ); Thu, 15 Feb 2024 11:45:20 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-109S003f54e6338-1caf-4f0e-82a4-be2a1f86932a, FEBE2CB63E5AC1FBDE7FF7F56B72DCD1DC974DFA) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.146.208 From: Nicolas Graves To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#65335] [PATCH 0/4] Allow mounting root on tmpfs for impersistence In-Reply-To: <87lec8pbwn.fsf@gnu.org> References: <108a67c0ef10e00162d81bcf7bc6243d6895c49b.1692569807.git.ngraves@ngraves.fr> <875y58a3ii.fsf_-_@gnu.org> <87edj7zkqw.fsf_-_@gnu.org> <87edi96ww6.fsf_-_@gnu.org> <877co1p2f9.fsf@ngraves.fr> <87lec8pbwn.fsf@gnu.org> Date: Thu, 15 Feb 2024 12:45:19 +0100 Message-ID: <87wmr6vtm8.fsf@ngraves.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Ovh-Tracer-Id: 17964858914505941510 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvledrvddtgdefudcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvfevufgjfhffkfggtgfgsehtqhertddttdejnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepffduleekjeevteelueffjeefffethffhffeutdettefhleeuleevffejvdfftdffnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugeeirddvtdekpdefjedrheelrddugedvrddutdelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqedpnhgspghrtghpthhtohepuddprhgtphhtthhopeeiheeffeehseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehjeehpdhmohguvgepshhmthhpohhuth X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 65335 Cc: 65335@debbugs.gnu.org, paren@disroot.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.9 (--) Hi Ludo, Just to tell that the v3 I sent a few weeks ago is indeed fully tested, and that commit messages are properly written. Should we also think about a blog post on impermanence like nix did? Nicolas On 2023-10-12 08:55, Ludovic Court=C3=A8s wrote: > Hi, > > Nicolas Graves skribis: > >> On 2023-10-05 15:07, Ludovic Court=C3=A8s wrote: > > [...] > >>> Should /var/run be removed (in the same commit) from =E2=80=98directi= ves=E2=80=99 in >>> (gnu build install)? >> >> Maybe you can help a bit if you have worked on this, so that I >> understand correctly if something should be done here or not.=20 > > The directives in (gnu build install) specify files and directories that > should be created upfront when initializing a system=E2=80=94meaning when > running =E2=80=98guix system init=E2=80=99, or when populating a VM image= . The > boot/activation code assumes that these files already exist when the > system boots. > > If we=E2=80=99re now creating /var/run in an activation snippet, then it = no > longer needs to be here. > > When doing such changes, I would suggest to at least run: > > make check-system TESTS=3Dbasic > > to detect obvious mistakes, and perhaps run the =E2=80=9Cinstalled-os=E2= =80=9D test as > well (it=E2=80=99s much more expensive, so run it once you=E2=80=99re ess= entially done). > > HTH! > > Ludo=E2=80=99. > > > --=20 Best regards, Nicolas Graves From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 19 12:49:15 2024 Received: (at 65335-done) by debbugs.gnu.org; 19 Feb 2024 17:49:15 +0000 Received: from localhost ([127.0.0.1]:43346 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rc7lT-0004yC-7U for submit@debbugs.gnu.org; Mon, 19 Feb 2024 12:49:15 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37444) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rc7lO-0004xB-US for 65335-done@debbugs.gnu.org; Mon, 19 Feb 2024 12:49:14 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rc7kw-0007Ei-Ip; Mon, 19 Feb 2024 12:48:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=NTfRGBzhKvfEHDjxJiHQQPT6grN4OUfEt7PkhnGkvXU=; b=IZiAKfYOgpW7pIaGbfVm 6QHf8DQeKD1tcVgoKvcYTZYe3Ivkp2fYeQzKXZCGBkKtPxcq4FUDQmn7utTLe9mhuTibwg9rfvZL0 JKlelZdApii09PJNb11I3KiVdANNv6HToMGWXWBZReGrCihFrnkxdh88/V9kiZVSv5waUfh/sCtAK FgWh+WdWbMorEK7ZL98fcV8jKt1O9HRnr962f3Ciw/DiPPrAIi5cTYtQFgEoEkDn6lpm52EMJQeog Irf7V9ZjrscxqxtCGVhszXH6/XGllzdwlD/Z4MKvIVfPVobkxXXnL15zmtEWsEgEbeHT14lAzfmWm WK0E912kOsVD5A==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Nicolas Graves Subject: Re: [bug#65335] [PATCH 0/4] Allow mounting root on tmpfs for impersistence In-Reply-To: <87wmr6vtm8.fsf@ngraves.fr> (Nicolas Graves's message of "Thu, 15 Feb 2024 12:45:19 +0100") References: <108a67c0ef10e00162d81bcf7bc6243d6895c49b.1692569807.git.ngraves@ngraves.fr> <875y58a3ii.fsf_-_@gnu.org> <87edj7zkqw.fsf_-_@gnu.org> <87edi96ww6.fsf_-_@gnu.org> <877co1p2f9.fsf@ngraves.fr> <87lec8pbwn.fsf@gnu.org> <87wmr6vtm8.fsf@ngraves.fr> Date: Mon, 19 Feb 2024 18:48:40 +0100 Message-ID: <87il2kqr9j.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: 65335-done Cc: paren@disroot.org, 65335-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.2 (-----) Hi Nicolas, Nicolas Graves skribis: > Just to tell that the v3 I sent a few weeks ago is indeed fully tested, > and that commit messages are properly written. Just pushed v3 as b1ec85533a63c10616d9260f90411ca6f362de00! I did tweak the commit messages but that=E2=80=99s because I=E2=80=99m too = picky :-) and the changes were minor. > Should we also think about a blog post on impermanence like nix did? Yes, definitely! There could also be a section in the manual with a complete OS definition, to show how one can set up a volatile image. Last, I realize there=E2=80=99s no system tests. I=E2=80=99m not sure how = to do that (because system tests already run on a tmpfs overlay) but it=E2=80=99d be n= ice to make sure =E2=80=9Croot=3Dnone=E2=80=9D handling keeps working. Thoughts? Thanks for all the work! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 19 18:48:21 2024 Received: (at 65335-done) by debbugs.gnu.org; 19 Feb 2024 23:48:21 +0000 Received: from localhost ([127.0.0.1]:43767 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rcDMz-0000bu-0R for submit@debbugs.gnu.org; Mon, 19 Feb 2024 18:48:21 -0500 Received: from 15.mo550.mail-out.ovh.net ([188.165.38.232]:43489) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rcDMw-0000bj-OS for 65335-done@debbugs.gnu.org; Mon, 19 Feb 2024 18:48:19 -0500 Received: from director5.ghost.mail-out.ovh.net (unknown [10.108.2.141]) by mo550.mail-out.ovh.net (Postfix) with ESMTP id 4Tdzk40Clkz1GjR for <65335-done@debbugs.gnu.org>; Mon, 19 Feb 2024 23:47:55 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-ctdvj (unknown [10.110.178.72]) by director5.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 100911FD3D; Mon, 19 Feb 2024 23:47:48 +0000 (UTC) Received: from ngraves.fr ([37.59.142.95]) by ghost-submission-6684bf9d7b-ctdvj with ESMTPSA id YrfKAqTo02U+FQYAUYi6wA (envelope-from ); Mon, 19 Feb 2024 23:47:48 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-95G0011dd0ecac-665e-400c-9284-cabc910e10b8, F986327D21621F79F5945E9B2785430C67B2360A) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.146.208 From: Nicolas Graves To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#65335] [PATCH 0/4] Allow mounting root on tmpfs for impersistence In-Reply-To: <87il2kqr9j.fsf@gnu.org> References: <108a67c0ef10e00162d81bcf7bc6243d6895c49b.1692569807.git.ngraves@ngraves.fr> <875y58a3ii.fsf_-_@gnu.org> <87edj7zkqw.fsf_-_@gnu.org> <87edi96ww6.fsf_-_@gnu.org> <877co1p2f9.fsf@ngraves.fr> <87lec8pbwn.fsf@gnu.org> <87wmr6vtm8.fsf@ngraves.fr> <87il2kqr9j.fsf@gnu.org> Date: Tue, 20 Feb 2024 00:47:47 +0100 Message-ID: <87jzn0j9ss.fsf@ngraves.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Ovh-Tracer-Id: 16763523715076710918 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvledrvdelgddufecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvfevufgjfhffkfggtgfgsehtqhertddttdejnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepffduleekjeevteelueffjeefffethffhffeutdettefhleeuleevffejvdfftdffnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugeeirddvtdekpdefjedrheelrddugedvrdelheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepieehfeefhedqughonhgvseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehhedtpdhmohguvgepshhmthhpohhuth X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 65335-done Cc: paren@disroot.org, 65335-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.9 (--) On 2024-02-19 18:48, Ludovic Court=C3=A8s wrote: > Hi Nicolas, > > Nicolas Graves skribis: > >> Just to tell that the v3 I sent a few weeks ago is indeed fully tested, >> and that commit messages are properly written. > > Just pushed v3 as b1ec85533a63c10616d9260f90411ca6f362de00! > > I did tweak the commit messages but that=E2=80=99s because I=E2=80=99m to= o picky :-) and > the changes were minor. > >> Should we also think about a blog post on impermanence like nix did? > > Yes, definitely! > > There could also be a section in the manual with a complete OS > definition, to show how one can set up a volatile image. On my todo list, though my priority right now is node-build-system to try and package zotero properly. > > Last, I realize there=E2=80=99s no system tests. I=E2=80=99m not sure ho= w to do that > (because system tests already run on a tmpfs overlay) but it=E2=80=99d be= nice > to make sure =E2=80=9Croot=3Dnone=E2=80=9D handling keeps working. > > Thoughts? I don't have a better view on this than you have. Basically I mostly test it directly since for most changes I can always roll-back. Indeed here it doesn't seem straightforward to check it fully, we can still test the function bootable-kernel-arguments, but it's not that useful. > > Thanks for all the work! > > Ludo=E2=80=99. --=20 Best regards, Nicolas Graves From unknown Sat Jun 21 10:43:27 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 19 Mar 2024 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 27 18:35:08 2024 Received: (at control) by debbugs.gnu.org; 27 Mar 2024 22:35:08 +0000 Received: from localhost ([127.0.0.1]:38492 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rpbrO-0003J4-Rs for submit@debbugs.gnu.org; Wed, 27 Mar 2024 18:35:07 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:50519) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rpZ6i-0005qd-Gt for control@debbugs.gnu.org; Wed, 27 Mar 2024 15:38:48 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id C5A6B5C009E for ; Wed, 27 Mar 2024 15:38:38 -0400 (EDT) Received: from imap44 ([10.202.2.94]) by compute2.internal (MEProxy); Wed, 27 Mar 2024 15:38:38 -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=1711568318; x=1711654718; bh=eGZ+V42mNMx4+RWpi2HSWvLXUY39/t1K y+6AlDnFfl8=; b=ne0NrDe9ibEH+SMLXFGE2mnYq0x8RjFZXbAE3SoiW1r/X47+ +lAd1Yb883VtOQ9+Ct6ByIFH/6UkZ27W38NEfTGXOi2S5GpTL/AfedUU+9OgN2Rq Emyq5JpIzMll2QuPYCuhOZJUtFyuLsMEPWqtgOENH8gaMsYOJx2DX5CbROuzNjzC l5r/Htu3JhBOdQm4Tocslmq4TA+woS9j1ki0XzTFXUXYSbdYOWEw2ZH6NamsVXRx Xv3ZIGW2iuiZfnsrskV3/LBfZpCnJMDs89Wp3iwCiFzkICDX/hA9+qpJymGie9dV MpPY6ZyJqI8eTRDj/pRL/0o2sRc0VplCnjOTPA== 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= 1711568318; x=1711654718; bh=eGZ+V42mNMx4+RWpi2HSWvLXUY39/t1Ky+6 AlDnFfl8=; b=tbaUfBQWcUrrLp7T8yTRA1dJ1cSeoFIFpqKHmXG6yLC8/vH3RHy 1K1deDXsSHMfXlFCYokvqRq/hJcQr53EaNIJJvyPT52BnP5AypduKD7diQDASDkt 4XoPbza4E4KVPc0nQlS6rYi9h589SXdSsCndN76EAK4ugNhK86vbNGaE51ZXPSKe qB4rCmqWAW+1CwvgcVPuNJ4xhMP1uiRWyDvDorX5OBgq8PaoTdyuopQ/iW8Kvtrv zTr5pzQlbgfdCJpSp5osP+5Be+8Hzg/CUCJqxEdod4TGHH9WWxcl6dFAShdro19u 9ccEvBJVp32mI3U0UkTgxaYOLVxuZW93wpw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrudduiedguddtvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecugfhmphhthicushhusghjvggtthculddutddmne cujfgurhepofgfggfkfffhvffutgesrgdtreerreertdenucfhrhhomhepfdfutghothht ucevohhlsgihfdcuoehstghothhtsehstgholhgshidrtghomheqnecuggftrfgrthhtvg hrnhepveeijedtveffjeekteeiffduieettdejfffgleehfefgkeelteefkeelvddtfeeu necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepshgtoh htthesshgtohhlsgihrdgtohhm X-ME-Proxy: Feedback-ID: i61c14762:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 0469336A0076; Wed, 27 Mar 2024 15:38:37 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.11.0-alpha0-328-gc998c829b7-fm-20240325.002-gc998c829 MIME-Version: 1.0 Message-Id: <61eaf483-d02f-4495-b25f-b47d3eceead1@app.fastmail.com> Date: Wed, 27 Mar 2024 15:38:02 -0400 From: "Scott Colby" To: control@debbugs.gnu.org Subject: Content-Type: multipart/alternative; boundary=f3211c9c97654654a91129bed70915e6 X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: unarchive 65335 unarchive 65335 Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [66.111.4.29 listed in list.dnswl.org] 0.0 HTML_MESSAGE BODY: HTML included in message 2.0 BLANK_SUBJECT Subject is present but empty 0.0 TVD_SPACE_RATIO No description available. X-Debbugs-Envelope-To: control X-Mailman-Approved-At: Wed, 27 Mar 2024 18:35:05 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) --f3211c9c97654654a91129bed70915e6 Content-Type: text/plain unarchive 65335 --f3211c9c97654654a91129bed70915e6 Content-Type: text/html
unarchive 65335
--f3211c9c97654654a91129bed70915e6-- From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 28 03:04:44 2024 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" To: 65335@debbugs.gnu.org Subject: [PATCH 0/4] Allow mounting root on tmpfs for impersistence Content-Type: multipart/alternative; boundary=bf94a58e0893413083941b66c5ff42f1 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 65335 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 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --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-- From unknown Sat Jun 21 10:43:27 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 25 Apr 2024 11:25:25 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator