From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id GK7nGknAY2YAtgAAqHPOHw:P1 (envelope-from ) for ; Sat, 08 Jun 2024 04:22:01 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id GK7nGknAY2YAtgAAqHPOHw (envelope-from ) for ; Sat, 08 Jun 2024 04:22:01 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none ("invalid DKIM record") header.d=freakingpenguin.com header.s=x header.b="hXJWr/6z"; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1717813321; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=mSGxPYFYfdYuQ4RiDppAvgswrZCdY/lwlWZU1HXZXUQ=; b=lp9OmljF9Zq+5irjg03kS6PEnfz4hXf78euc/8sIm+ArPuIWXAb0FMf26CMhHFPSVHpAHw jP34gPOxF7h4QddJaEzMyQu+XMNl3ak4YIgMx4X+G1yn3j5jk95RssojSQp9Fo0DkEMncJ 6DJYA25VGgthjJ68EK4sHnlFXOcE2T1KISB1o22qqVFI/Fx6uctp8grjgUutzyvBwljgD2 MBCnpkHRGAlWVLEtN1dt6Tzj4aw/f3QKAGyrunwasnH9j8UPbJjF1R8SEVW89EboI/X4hI KFz9j44SNjYxhQHmPqBl6m0uadNu4gFHXnoXLiG0As/yVpoU6nQ+L7lCzoQrLg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none ("invalid DKIM record") header.d=freakingpenguin.com header.s=x header.b="hXJWr/6z"; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1717813321; a=rsa-sha256; cv=none; b=YojiaI66Fc9yHcxekNmDNi1JjAW9qN/V8t1+wjROsCMHleFUL5hzdDgHpXDqy1mUh3eGYH 5Rv7/sED9ALnvdCJkhXnO4WZvBCnyMNym1Igkvx8tMWX3k9DyLyu5mJcbDts9hXZkMqbTo DZ75GJrVyYc7Oa+1EqcygPGS+0x0xmmYnQkY2B0nBr9I9VUfxFeWELba/91n0CeXdxEnsO 7Jn6deoIREYS9PhBa2IBc7oQVjfSkoi5OWFS+aLk5KfrVJZyMKR2jYpbZ4fQTorVtdVSwm bKbJXwS2VnllwzLin124nE89SfexY4/dom7PxQL1fAQAFoBymqtUMBkLBWE4DA== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 118CE9052 for ; Sat, 8 Jun 2024 04:22:01 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sFli5-00048o-Ul; Fri, 07 Jun 2024 22:21:38 -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 1sFli4-00048Y-CW for guix-devel@gnu.org; Fri, 07 Jun 2024 22:21:36 -0400 Received: from mail-108-mta221.mxroute.com ([136.175.108.221]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sFli2-00080O-8V for guix-devel@gnu.org; Fri, 07 Jun 2024 22:21:36 -0400 Received: from filter006.mxroute.com ([136.175.111.3] filter006.mxroute.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta221.mxroute.com (ZoneMTA) with ESMTPSA id 18ff5a6a74900017a3.001 for (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Sat, 08 Jun 2024 02:21:30 +0000 X-Zone-Loop: b643d61b7d2b97c9e619e08b4d6515dbcd7ceb5c6b1a X-Originating-IP: [136.175.111.3] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=freakingpenguin.com; s=x; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=mSGxPYFYfdYuQ4RiDppAvgswrZCdY/lwlWZU1HXZXUQ=; b=hXJWr/6zwaC+8/Pqn1FRvvynME M+iyPqOa3PQNbhcly4hQcf9HrTUtgsCFIl7NT1imnKRehd2Clz5ynMOl9gSKSOE8+KlVWIIOtJmCP FA2UNgRW/e0xcuyXxJGLLo6IkY+u1QpDVBUP84EPV0jRzPaHettjBjcTFQnQoX/RdXShzLBGIH5nf HfAhjhxtnBpleCAQ+PMzLlU3UpKbhFuIJ4L+vJwDf82HzZBe0jd7zCByx+WvNzRGoP1b4t9Rzoxab QY5Tn4ppDoseY0NIRG6l/B0o0s4oecSa7Q4hFtbkb/IMae98ddyGS6ZodCC2U+7GHNfUP7MFDyk/Q scB9Vtqw==; From: Richard Sent To: Felix Lechner Cc: guix-devel@gnu.org Subject: Re: Value in adding Shepherd requirements to file-systems entries? In-Reply-To: <87bk4cns93.fsf@lease-up.com> (Felix Lechner's message of "Fri, 07 Jun 2024 18:22:00 -0700") References: <87le54hhfu.fsf@freakingpenguin.com> <87h6fs4s4g.fsf@lease-up.com> <87mspjoaf8.fsf@freakingpenguin.com> <8734ppovm1.fsf@lease-up.com> <87le3gj1w0.fsf@freakingpenguin.com> <87bk4cns93.fsf@lease-up.com> Date: Fri, 07 Jun 2024 22:21:21 -0400 Message-ID: <87jzj0rx7i.fsf@freakingpenguin.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Authenticated-Id: richard@freakingpenguin.com Received-SPF: pass client-ip=136.175.108.221; envelope-from=richard@freakingpenguin.com; helo=mail-108-mta221.mxroute.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -5.34 X-Migadu-Queue-Id: 118CE9052 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -5.34 X-TUID: 0+O1HW2oJEHJ Felix Lechner writes: > > You could try invoking mount-file-system from (gnu build file-systems) > > directly to try and narrow down what exactly is breaking. > How would I go about doing that, please? 1. $ guix repl 2. Import the module with ,use (gnu build file-systems) 3. Call (mount-file-system ) in the REPL Most likely you'd need to run guix repl as root to actually mount the file system, so make sure the root user's Guix is up to date. This method /just/ mounts the file-system, no shepherd services are involved. If it mounts via mount-file-system, then there's a problem with the service. Also, in my experience shepherd sometimes gets upset (aka deadlocks) if you try shutting down your system while you have an manually mounted file system attached, so I advise making sure to unmount it after you finish testing. > Yes, I am. [1] > > Thanks! > > Kind regards > Felix > > P.S. Did you clear up the confusion about "requirements" being in the > plural? Ah, V3 of the patch [1] changed it from requirements to shepherd-requirements. (In part for consistency with other services, in part to make it distinct from dependencies, and in part to dodge that whole pluralization debate.) The code you linked still uses requirements, so that could explain the problem. I'm surprised (and mildly concerned) that there wasn't obvious breakage when building the system. You should get an error like: --8<---------------cut here---------------start------------->8--- ice-9/boot-9.scm:1685:16: In procedure raise-exception: Syntax error: unknown file:383:20: file-system: extraneous field initializers (requirements) in form (file-system (mount-point "/") (device "dummy") (requirements (quote (fake))) (type "dummy")) --8<---------------cut here---------------end--------------->8--- That's from me trying to create a file-system record with the requirements field instead of shepherd-requirements. [1]: https://issues.guix.gnu.org/70542#19 -- Take it easy, Richard Sent Making my computer weirder one commit at a time.