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 GDbEOEC0TGNeZAEAbAwnHQ (envelope-from ) for ; Mon, 17 Oct 2022 03:47: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 CD3mOEC0TGNJZAEA9RJhRA (envelope-from ) for ; Mon, 17 Oct 2022 03:47: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 B354D2C180 for ; Mon, 17 Oct 2022 03:47:44 +0200 (CEST) Received: from localhost ([::1]:55462 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1okFEF-0001Z1-Sg for larch@yhetil.org; Sun, 16 Oct 2022 21:47:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48808) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okFDL-0001XK-B9 for help-guix@gnu.org; Sun, 16 Oct 2022 21:46:49 -0400 Received: from mail-qt1-x82a.google.com ([2607:f8b0:4864:20::82a]:40484) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1okFDJ-0003BA-HZ for help-guix@gnu.org; Sun, 16 Oct 2022 21:46:46 -0400 Received: by mail-qt1-x82a.google.com with SMTP id h24so6607067qta.7 for ; Sun, 16 Oct 2022 18:46:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=6hbuIgu1uMxKVfWCV/aNpPyZwfYWmX3XfG2HrATmbY8=; b=ZetEdVbh+FoY9DdvuN6IZW/vXIzWCsZZdT5acjX2gQeo3MU8MIFJ898QAgKpBciFAu P6SVPhy66iROamasDTVyVqUKaKfAO/9XAyZaNw1hgiwGpenOf99TLPxz/3xmJNLYO6wS yhBnBnm2IcBpOZvgcyoOz83E5ePs3FXA5fMCZpsFzU1aqFiz8zoZO1qavFI3DDwMQLII FYjErooNgMkN6panp72Edq0yzIIr4J9Kd8urBA0fBWAiMcGT31sk+gRNwes1zZmJkux+ kjExaPrixmvOdtyJeB2j1zhLBIPIz3jNt5bhJTk6OOaekS0mo87Ds8D8QHl6/KnHy97a mvNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=6hbuIgu1uMxKVfWCV/aNpPyZwfYWmX3XfG2HrATmbY8=; b=LH8J6k4faru8Q5et17kZmz2p1GvA/McIsb9YL9Xmh3xQ2+i4Sk6wEDb3dtUcNHqske vj7w/PrLTIZgWkw1Ha24J1ZmbNRA5ujTBVSEHK0wh8QRJuErRBcQIaO/zsIZoDZfN76U oh2ASPlVdEFaEs9YPSM5+UlsI8X9Rd/ip2nRQOeT03+Jf+hm1PxGJF8SMpVVXITmEN4A TDnR6dCE3+JnSI5FUNCNKJS5Vj4EO+kBTVcv4MYHCGHH39NW+FlrAWaCbFXtBSkQUcBe pDSr/FRVA1Wkr3GYzdVaG3oamKLFnSh3DnL87MHpU/s9IJYi4rpTo5vltfu814s7fm01 2MHg== X-Gm-Message-State: ACrzQf1YDWc09j09RQjyuuvKqGowYTioIcTTuRv9A+/U0KC/pmUsP1L/ ExPK4WcgzCWW7ilcosetaAgkX7Qi2vs= X-Google-Smtp-Source: AMsMyM5/e717ix0mUhCvKr78W5J0GWnCsBXVOiUweqBGNNkTRZVHPaBTfbGVe0rCyjo7U7i/VJZtTQ== X-Received: by 2002:a05:622a:651:b0:398:5034:9e85 with SMTP id a17-20020a05622a065100b0039850349e85mr7032480qtb.277.1665971204147; Sun, 16 Oct 2022 18:46:44 -0700 (PDT) Received: from hurd (dsl-150-158.b2b2c.ca. [66.158.150.158]) by smtp.gmail.com with ESMTPSA id x4-20020a05620a258400b006ec9f5e3396sm8302533qko.72.2022.10.16.18.46.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Oct 2022 18:46:43 -0700 (PDT) From: Maxim Cournoyer To: Fredrik Salomonsson Cc: help-guix Subject: Re: Trouble with nfs mount References: <87k04ze91m.fsf@posteo.net> Date: Sun, 16 Oct 2022 21:46:42 -0400 In-Reply-To: <87k04ze91m.fsf@posteo.net> (Fredrik Salomonsson's message of "Sun, 16 Oct 2022 21:46:29 +0000") Message-ID: <871qr7z0fx.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::82a; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qt1-x82a.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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=1665971264; 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=6hbuIgu1uMxKVfWCV/aNpPyZwfYWmX3XfG2HrATmbY8=; b=DjC0cqiVo2xxLJz58dZqEHNiTaOQKKoSNzZBTjbxOqtfTLLRbjR1vqB1lecwwIOE4kDM5t Mafgm5a+KUezO1m4cKcsnK2wCkSxA3FGG1ZIQoghT1ie677JGfrBnegw33J+q0FZWJm9mZ rOOjZrXG27qreBWazlzHvB9kIOjd/kuhIyEW+uGEDv4VcO8cj8zcVi9iP6rL1LgAhWodD4 kQZ/NJkbZAYOFBInX/P896TFALJb6i8+hHq7iRdakV8eWeK6mpkXj0QrpLvNqX/ZwLbPU9 QtUGa1XvkrHVzSZcU/0Fuo1OPCptGQ4H2aXNtuDOqZjB/NKA97HvDuZrxK7pDQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665971264; a=rsa-sha256; cv=none; b=E/fXbudSYzS2eHgZuxJgpCYuKAFWzbGxDaMjTfMjKklSyh9+HWhGvsHjHRq21DOX7eF/jA mVTaSmAhWRGtiPT8IVdycuUF5flYzP8OCHGjk49EZHWcTGmwZ5K1/qY/B5GyAa4sYXOQZ6 2Ld+iNRXuysDiOEcxzdUR2TWdTayCeGG1/hxlWLDAyDG+eKYfeZQi4zturZTY1zE4q74SF GNqPfb4avy8SDr7IpwOM0Katy0qHQduy6zSPDYAUwaA6OUpELz694NOrsWijiEwwDXXCQG KQXZNgR+JN+/WwHAtD01oOesOw2T/o6QH502CCsiStdfFjt/ozrVI9N75qtqNg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=ZetEdVbh; dmarc=pass (policy=none) header.from=gmail.com; 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: -3.91 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=ZetEdVbh; dmarc=pass (policy=none) header.from=gmail.com; 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: B354D2C180 X-Spam-Score: -3.91 X-Migadu-Scanner: scn1.migadu.com X-TUID: LN8IjCC96jcy 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 service= 'file-system-/media/Valhalla': > In procedure mount: mount "fafner:/srv/nfs4/Valhalla" on "///media/Valhal= la": 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. 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--- --=20 Thanks, Maxim