From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id UKQaAOSHTWM5qQAAbAwnHQ (envelope-from ) for ; Mon, 17 Oct 2022 18:50:44 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id gCQuAOSHTWOHmQAA9RJhRA (envelope-from ) for ; Mon, 17 Oct 2022 18:50:44 +0200 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 9C63F10D7D for ; Mon, 17 Oct 2022 18:50:43 +0200 (CEST) Received: from localhost ([::1]:41552 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1okTK6-00065w-N8 for larch@yhetil.org; Mon, 17 Oct 2022 12:50:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49284) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okTIx-00062e-E2 for help-guix@gnu.org; Mon, 17 Oct 2022 12:49:31 -0400 Received: from mout02.posteo.de ([185.67.36.66]:40181) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okTIr-0002s9-5A for help-guix@gnu.org; Mon, 17 Oct 2022 12:49:31 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 50EA2240101 for ; Mon, 17 Oct 2022 18:49:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1666025363; bh=LhkwQlqELDsTKx7lL95lMroBVU7eg9SLe+v8VQi7UUw=; h=From:To:Cc:Subject:Date:From; b=jctOwf4de8jMssWrkScClmmJTz5AXOQMlIbuOKM39ZCpDOErhHlwgOtpfBfHVb8Am tTvH7SO1LOis34YLWPqS/gQP9B9JPbx2YcFR4dnDmEZCkc8LnK8UIFnzfsV0vaTljm bznUpFjrDKyz3U1VMT7nVD0w4y84GAs+ENGsq0Q2g+bOJNi8TH3uIpxcaVVVbqKU3T IH+bhgw4pHXpAa82sMucrXm8raY1z8GzgV80eQXEiRgv/U3B4Q0ZM0PlXFij3nIW7B B7nSsEiQr5/cJhZ0uRLoWjVugG48REWuzZEo873GjqFvimEw6drKCsnFpqHYWT9fQR 1u3leoLblPHbA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4MrjdC6cmZz6tmQ; Mon, 17 Oct 2022 18:49:19 +0200 (CEST) From: Fredrik Salomonsson To: Maxim Cournoyer Cc: help-guix Subject: Re: Trouble with nfs mount In-Reply-To: <871qr7z0fx.fsf@gmail.com> References: <87k04ze91m.fsf@posteo.net> <871qr7z0fx.fsf@gmail.com> Date: Mon, 17 Oct 2022 16:49:18 +0000 Message-ID: <875ygifl9t.fsf@d2.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.66; envelope-from=plattfot@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666025443; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=/E1v5f6lyM9SrmpV8pJ+qbtQ0PUexF1ZmUp3QU1bkOA=; b=WC2bSsTG+28vwOk8A1+Fr3lPFwZQe8bCS6zVvFek4moa9zZJttozSMQlRZm9VzXxljokT9 arQXNJsTiiAB6MpZn6CDzfc86IFniSrZXib33F/qqT2/HsnJFpWjquINLbNOWeBffX9ttf 95LITQ6OgaJWPxJxLv7Z8f1hmCNUlenVL6rq9i9QJM3/KejMzFfjV/4FMgkQnPqg+6neug p1H8bzB/34SK0frI1eSYeD4w43g6rispytWSboGIVsSW/oADBpQ6F9cIC866PpM7DXpmlW CZP6NF8smCX8lj1ILKTm0w7/EP7JI638HgzWGoHuDgIjsuOqbOl91V5q63Kssg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666025443; a=rsa-sha256; cv=none; b=MWvh62fYriGJieRNtfHAOmXkDSV1rlcA0WyzDaJxyVHAjgd4+/UYJKyPiHBns2PU11xUlI sMk5svqRpf+rhyOsYLkhpYYmxB5HyWtA3kJDhRKsDvcCMQWYBwE/4TwV+xjgA1SdAhoW2I gOWUVX6w2JRUZBT7D9xt4xgPCU3QWwZ3WS6IAyiduQzbYQigEiBwf5fQuOYG/4bg/fZWcx Ja8XQucbE1P5vNC9QHR3DxI+VWH1mj39+8M4JQOUeYKFHQ3uiy3M2PtApRm5mXY/Kj3pdT RQbRIByBvbyUOdEN5fWYAbWNtl0WO3iPvPk3vVqayO/W1NB+3+MD5aPFErZghA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=jctOwf4d; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -7.72 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=jctOwf4d; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 9C63F10D7D X-Spam-Score: -7.72 X-Migadu-Scanner: scn0.migadu.com X-TUID: ko4loDDLMPdH Hi, Maxim Cournoyer writes: > Hi, > > Fredrik Salomonsson writes: > > [...] > >> ---=E2=9C=82------------------------------------------------------------= ---------------- >> =E2=80=A6 >> shepherd: Evaluating user expression (and (defined? (quote transient?)) = (map (# ?) ?)). >> guix system: warning: exception caught while executing 'start' on servic= e 'file-system-/media/Valhalla': >> In procedure mount: mount "fafner:/srv/nfs4/Valhalla" on "///media/Valha= lla": Invalid argument >> guix system: warning: some services could not be upgraded >> =E2=80=A6 >> ------------------------------------------------------------------------= -------- >> >> So that's probably what's happening during boot. >> >> I have no idea how it transforms the mount-point from "/media/Valhalla" >> to "///media/Valhalla" and if that's a red herring. >> >> Any ideas what I'm doing wrong? > > Nothing; mounting an NFS file system at boot is not supported currently > with Guix System; see the related issue #47706. Ah, ok. Thanks for the info. > My current ugly workaround is to define the mount points with "(mount? > #f)" and mount them via a script post boot, e.g.: > > --8<---------------cut here---------------start------------->8--- > (file-system > (device "jami-buildmachine-04:/srv/nfs/jami") > (mount-point "/var/cache/jami") > (create-mount-point? #t) > (type "nfs") > (mount? #f) > (options "soft,user")) > --8<---------------cut here---------------end--------------->8--- Yeah, I think I'll just add a shepherd service to my home configuration that mounts and unmounts my NFS device until this is resolved. --=20 s/Fred[re]+i[ck]+/Fredrik/g