From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 0BKOKh9Sc2KQaAEAbAwnHQ (envelope-from ) for ; Thu, 05 May 2022 06:27:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id oCnKKh9Sc2ISgAAA9RJhRA (envelope-from ) for ; Thu, 05 May 2022 06:27:11 +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 6D89319F1B for ; Thu, 5 May 2022 06:27:11 +0200 (CEST) Received: from localhost ([::1]:36698 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nmT54-0006IH-Dk for larch@yhetil.org; Thu, 05 May 2022 00:27:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43792) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmQEh-0004ka-T3 for help-guix@gnu.org; Wed, 04 May 2022 21:24:55 -0400 Received: from mail-pj1-x1029.google.com ([2607:f8b0:4864:20::1029]:40504) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nmQEe-0000v6-EC for help-guix@gnu.org; Wed, 04 May 2022 21:24:54 -0400 Received: by mail-pj1-x1029.google.com with SMTP id iq2-20020a17090afb4200b001d93cf33ae9so6654667pjb.5 for ; Wed, 04 May 2022 18:24:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=devnulllabs-io.20210112.gappssmtp.com; s=20210112; h=user-agent:from:to:subject:date:message-id:mime-version; bh=sIvJpJZHX97S/Cj8psrJHHzCUIyl7IPXWwKTHp6mnXI=; b=gtn8a/H1qiuhA5/eG4VrQmKCVjAAy7kAtFhHA2X4+7JjRSb3CcCthICDUiPzsjPyWQ Hl1uDAhbmDIvqP2sZWEj37uqV5L2sRNckPq6CWs6IpQ3ZqNnsxBUKkQTGqXyb5vmZJSx zLL+tpg5IsIcLOfcEj/LWEdswn3X7iDABwU9gU86xkdO/4/hR1EnsKapuk+bCzwcmnZ1 wg7a4QS8xy7Lwp9Y1/Uj65F/5q+/uQmuMXciF+YH4KZ+mgq6BL54tth6zdmMvzgSx82M xgG7knz2qgctSjhIlkfTkOtb39/JDnMmaYf6upE/moP/8UZS7XqIvbPYu4iN03EMPh+M aIRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=sIvJpJZHX97S/Cj8psrJHHzCUIyl7IPXWwKTHp6mnXI=; b=tW/L+9XOteQQnKAAE99KhOyBYDK6q+sCo9ains1yHG/aiAlM9SN6VYOKnWreS2XOJD em0RcWpFxYUgyf18q/wO/zDG5or/FauBB1GmAOgTcvovV+IJDtwcpaHNNfi8vUCZe0Ik m3Gylm/yLhMPB0eE6olafzFXYY1uS8a1f0HuwZaWXWCr9bxwxsCj50iyl5WqEh3UfS+Z 07qljDtILpkDJnlE38hBefuOYFLDzYxKlztwy7WWYhJtaBdii2JYHYkzKd7jUOK+aj++ msS9+7KaR1d8jS7qL+RqtHGFZUbvj/6cSphHiiT8becK9i4QP9y5E32w4vunhDZdJOJF APUw== X-Gm-Message-State: AOAM530nqbL96uBYUldb1eegg70AaUFewwfl/ai797Vx1oB3S/tqAocJ vLQXSlLATnkDoq+QoqUOvZAMQedljv6Akg== X-Google-Smtp-Source: ABdhPJxuaN1A37gntuLiMP49S2Fu0Brizb4v8mSndhCRRSSEmtRCNbOfRfTd8puAvyB+NOQTFvXq4Q== X-Received: by 2002:a17:90b:3e8d:b0:1dc:3db4:920a with SMTP id rj13-20020a17090b3e8d00b001dc3db4920amr2941587pjb.161.1651713890739; Wed, 04 May 2022 18:24:50 -0700 (PDT) Received: from localhost (174-126-238-143.cpe.sparklight.net. [174.126.238.143]) by smtp.gmail.com with ESMTPSA id u6-20020a17090ae00600b001daac75511esm3937761pjy.51.2022.05.04.18.24.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 May 2022 18:24:50 -0700 (PDT) User-agent: mu4e 1.6.10; emacs 28.1.50 From: Kenny Ballou To: help-guix@gnu.org Subject: auto-mount NFS file-systems Date: Wed, 04 May 2022 19:09:49 -0600 X-PGP-Key: https://kennyballou.com/932F3E8E1C0F4A9895D7B8B8B0CAA28A02958308.txt Message-ID: <87pmkskbz2.fsf@devnulllabs.io> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::1029; envelope-from=kb@devnulllabs.io; helo=mail-pj1-x1029.google.com 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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 05 May 2022 00:26:51 -0400 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-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1651724831; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=sIvJpJZHX97S/Cj8psrJHHzCUIyl7IPXWwKTHp6mnXI=; b=og1Xz80wPSLmwIfVISEfqvLWHFkKvhPlHAupWQVcp45WAobOoiYOFnrHiu9DY7kZNw/qPx N1yain+i4bJYGwo7g2OEQ5jKMI4WghuLYJUVcR7rz3LklF8DPXj2Mp70+b4/P+FTcFXBFV wkIBZEu5ngZH0DauBEFqinkOU77Semjm95Q74Jun0wnuFt1dfeS2OOpezYXDJpus5nGt1r 5zkdfcZ8NB7k9rvgrV83PSGbnzqS5PPugxmB4mLLGJNSqHgCa2T7/QCmqEyOc2m0alyZld FVXnIpUOdJ/cfcakzYEAeEA5xUyZ1uZwMo6NCUg1GHj8Mda9DWX+DXmWEAsRyA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651724831; a=rsa-sha256; cv=none; b=Dg0HwxsyvGPMzIe/3OEuYvqteTLuf3NfqfECeLmUf0XFCtclJfQo4ReuJ1DMoq39xXNigY lclb7c+AU+p5VPYCuulxDX/Az6K66Sf5av7mfzD00xOj26/ZUwaKVWXNBdOvVnn6Y2w2IK mZzJkOlZkd2GO1tcEfWwnr9ycnuf9FuonObhdZ697J5+aLNVU90XtvVyaAeJdcHqfvUHHw C9l7QA1MT3RqvyOC+ayMst9zG1hSnxfs9r1njDVdTeO2Ur9drE/kGFIqncujXkg1tAzrze Q1N/trBv9VTQlSoyeMT+r9uWvFOqAOMbAK23ptdX0l3tEZNpCgc70xh4W/vQ9A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=devnulllabs-io.20210112.gappssmtp.com header.s=20210112 header.b="gtn8a/H1"; dmarc=none; 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: -8.79 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=devnulllabs-io.20210112.gappssmtp.com header.s=20210112 header.b="gtn8a/H1"; dmarc=none; 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: 6D89319F1B X-Spam-Score: -8.79 X-Migadu-Scanner: scn0.migadu.com X-TUID: ULsNSkcQHscC Dear list, I am attempting to auto mount some NFS shares on a Guix system, but cannot seem to get it to boot past the NFS mounts. On another system, I'm able to have the NFS shares auto mount due to a dependency on the encrypted root file system (mapped-devices). However, the system where this does not work has no mapped-devices. Specifically, for the system that works, the relevant records look as follows: ``` ... (mapped-devices (list (mapped-device (source (list "/dev/sda1" "/dev/sdb1")) (target "/dev/md1") (type raid-device-mapping)) (mapped-device (source (uuid "4808204d-0116-4234-b931-6cc6161d5f3b")) (target "luks-4808204d-0116-4234-b931-6cc6161d5f3b") (type luks-device-mapping)) (mapped-device (source (uuid "ddb3da26-ac44-4f4a-b01a-6b21967df63d")) (target "luks-ddb3da26-ac44-4f4a-b01a-6b21967df63d") (type luks-device-mapping)))) (file-systems (append (list (file-system (device "/dev/mapper/luks-ddb3da26-ac44-4f4a-b01a-6b21967df63d") (mount-point "/") (type "ext4") (dependencies mapped-devices)) (file-system (device "/dev/mapper/luks-4808204d-0116-4234-b931-6cc6161d5f3b") (mount-point "/home") (type "xfs") (dependencies mapped-devices)) (file-system (mount-point "/media/kb/documents") (device "baal:/srv/documents") (type "nfs4") (mount-may-fail? #t) (mount? #t) (create-mount-point? #t) (options nfs-mount-options) (dependencies mapped-devices)) ...))) ``` However, on the system that is not working: ``` ;; (mapped-devices '()) (file-systems (append (list (file-system (device (uuid "5a0e26fe-8cc4-4ded-9bd9-9930228b6674")) (mount-point "/") (type "ext4")) (file-system (device (uuid "B7E7-D5B6" 'fat)) (mount-point "/boot/efi") (type "vfat")) (file-system (mount-point "/media/kb/music") (device "baal:/srv/music") (type "nfs4") (mount-may-fail? #t) (mount? #t) (create-mount-point? #t) (options nfs-mount-options) (dependencies '())) ...))) ``` Clearly, the NFS shares need a dependency, but it's not clear from the documentation exactly what to put in the list in this case. I've tried copying, say the root entry wholesale, but get an error that the needed file system is not provided by any service. My gratitude in advance. -Kenny -- :SIG:!0xB0CAA28A02958308!: