From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 0F5pNfMpVmNi1QAAbAwnHQ (envelope-from ) for ; Mon, 24 Oct 2022 08:00:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id WDZzNfMpVmOsaQEA9RJhRA (envelope-from ) for ; Mon, 24 Oct 2022 08:00:19 +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 7D2CB383BA for ; Mon, 24 Oct 2022 08:00:19 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1omnKD-00060U-Ol; Sun, 23 Oct 2022 22:36:25 -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 1omhkx-0002c0-T3 for help-guix@gnu.org; Sun, 23 Oct 2022 16:39:39 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1omhkv-00069Y-Jy for help-guix@gnu.org; Sun, 23 Oct 2022 16:39:39 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 7B67B240026 for ; Sun, 23 Oct 2022 22:39:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1666557574; bh=z5xEC+/jwEKlXguqBEd7hzxTZcz9/AKHXRHj7Alp84s=; h=From:To:Cc:Subject:Date:From; b=djGeCChrowj1HduZ4XlsrJ3yPpIiQke4/EQIKxQL75q9Hf2RM84v0V8MGtrolvTp8 xy8+BwsWuTg3ltxLcP0KYt64huAYmLV2tofE/u81t8IEWM23PEO8wpeP9Om3oOrXRo 5dW5oqkEnMSTOp8zztSF+CytFvL0W8sz8/PF0NlOFHcigqPMfhCq2TmB+BMQK3htci ZzvzNBuVzsW32Jk0Y2f5sa5fzoyaly54Hc3gkqrtbK7ijZRbDtnwtyxx4npH820kqg JmLyO60WRtC+xA4a268aZeWRzaqRJbbzwZV/k6GtNpP8RReuFisA7T0k8lfxPYOIfL KgqDNgevtdJ7w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4MwVS23GZ6z6tmq; Sun, 23 Oct 2022 22:39:30 +0200 (CEST) From: Fredrik Salomonsson To: Remco , Felix Lechner Cc: help-guix Subject: Re: Trouble with nfs mount In-Reply-To: <946494ba-b6ca-4a0f-a3c7-2f107a87b0a3@app.fastmail.com> References: <87k04ze91m.fsf@posteo.net> <87r0z7z27x.fsf@posteo.net> <946494ba-b6ca-4a0f-a3c7-2f107a87b0a3@app.fastmail.com> Date: Sun, 23 Oct 2022 20:39:28 +0000 Message-ID: <87wn8qxojj.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.65; envelope-from=plattfot@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, 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: , Sender: "Help-Guix" Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org 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=1666591219; 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=/dZI4FTzwKA9qE+933rSQiAKgu8V2gRmDcHRbjjHQYk=; b=hegm4G+owJYWty0DuM9dzfoMtuo20St/qR0RiazToszWN0djXunfj230mQLDamV4KWmVYu bnIDxnTjBVDsh5x7lSDR9/0HeFojjBk9fQXMyOL3bTn/ZVRDQIb0yzfw4QuCGR7vMq7XJ4 Xkjv7vego1m/RlLuy0m0atLYkzdcEwEOt23Q8Ch+zVVAjqcs0O6+BCk7F4iJ9tMiUgmon3 ftrTh0gehCyO/+PxXjw3JN5COLq0DRk+4d3bt1YzUcrYKMBrJK0SUMP3/11LAmYiSQGMZU 6MXsLL/+2dTl2mzRUZT4KFFan21HsSNV8bNbgyG9W1Dv3n/zD7jXejMwf/F9Ag== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666591219; a=rsa-sha256; cv=none; b=KSTM3CfxzzNPcJ1I3kbJZ4IKe2As9qpvvV/2LVBiH+MPBZTq5v4o8FLuT4o1VR5A1ZXxhM gl573i+ipUd6wpxCvt66knnrnqPPnfw9Q5ov5n/8O5Q296Fritozc+VJHnv6Pjx8Lt+v9M eqSf1wNt5DpJyJG3+Db1slQ6QmAeSajlmEAJm21Ejl117b2EhbeutgVyjYz/P84lYosgJJ X6mZf0cVqJwpyGISb4MHVexGIluzWQ88uMi0qC3DQPrb2GkIYPUduQxxVv+PrOOBh8+nxK mZoItDrf5ZMVbwWB4AlpbYJjzyJKc3fcSjF6p4bLtZ2Cyd0jcm318fgwgJLcGg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=djGeCChr; 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: -2.40 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=djGeCChr; 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: 7D2CB383BA X-Spam-Score: -2.40 X-Migadu-Scanner: scn1.migadu.com X-TUID: 4WpZ2s9hX6qH Hi Remco, Remco writes: > Autofs works pretty well for me. Using the stock package and a service li= ke described here: > > https://www.rohleder.de/2020/07/04/autofs/ Thanks for pointing out Autofs. I did not know about it before and indeed it works quite well for this. I based mine of what described in the link, here's what I ended up with: ---=E2=9C=82---------------------------------------------------------------= ------------- (define (automount-shepherd-service config) (list (shepherd-service (provision '(automount)) (documentation "Run the automount server.") (requirement '(networking)) (start #~(make-forkexec-constructor (list #$(file-append autofs "/sbin/automount") "-f") #:log-file "/var/log/automount.log")) (stop #~(make-kill-destructor))))) (define automount-service-type (service-type (name 'automount) (description "Run the automount server.") (extensions (list (service-extension shepherd-root-service-type automount-shepherd-service) (service-extension rottlog-service-type (const (list (log-rotation (files (list "/var/log/automount.log")= ))))) (service-extension etc-service-type (lambda (config) `(("autofs.conf" ,(plain-file "autofs.conf" "")) ("auto.master" ,(plain-file "auto.master" "\ /media /etc/autofs/auto.valhalla --timeout 60 ")) ("autofs/auto.valhalla" ,(plain-file "auto.valh= alla" "\ Valhalla -rw,soft fafner:/srv/nfs4/Valhalla "))))))) (default-value '()))) ---------------------------------------------------------------------------= ----- --=20 s/Fred[re]+i[ck]+/Fredrik/g