From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id mClAHOsQY2aKHwAAe85BDQ:P1 (envelope-from ) for ; Fri, 07 Jun 2024 15:53:47 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id mClAHOsQY2aKHwAAe85BDQ (envelope-from ) for ; Fri, 07 Jun 2024 15:53:47 +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=epHlLhrS; dmarc=none; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1717768427; 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=Q1JMGSeZPMqpro5vD7UblSBDzhNMkpg1KARf90DYDwI=; b=Vm5XPRsIXLNGpE1JnV9napgaPm4awzWdEYQyu1mcbP6nQeOUnLMNItZgzZap7vdNTukU77 YVCygvYWjCmVOvUFCibBXmm3r/GPSHa7vZypgRkoLgrWi8RTturAWxJQNphznmcR1y/QKj WaNGTUNKr9Y+ZyRX0ZIO5BrjgqtIZdjtdoKrergsTcJuRENrDzr+r3LL/PV2uYeKX/OYhA ij/sx7qK0Wp1r5EeiLYfTuRK3kLIBblTPrvWk00XWkYWGXY5OrpUyeaRbS89FlFmGEqc7S 1XnOazktKsNvvRTmsNg7n1nRXi1IRpCA3Oeoxb9RCbeSiSv+cmTyjQHi5c7b9A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1717768427; a=rsa-sha256; cv=none; b=JDaJC4BM0lZPKOkcRGJzVkXQzzk4yixhMz9fC8Rbx3oZ6MARgLxlidMbJdtvy2VArDns+i nYKGWenckQOwb7pqFBKwqrHzGB4aE2V5CeYmeHRaCxrq5eueKZpGAtSWxfGjdSgB/qgL9Z VkVpyslnGOrgGvfHCCzjawei5nlsagLEDx7+pGHjueBEVcn64Vb0RG5N4TNWu1T6aXVnST IeRBr1JmABtPcjkFU5vv6FsZL2uL2IOKVgkFiv2MVMQXNym9V3BzGPpymZmauZxZrRo+Pk lPvdy/h883AMhK1jls35pAl61XKyNDZGjbiVnj7jk8ttCS7BIC0/zvAbgPnOSQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none ("invalid DKIM record") header.d=freakingpenguin.com header.s=x header.b=epHlLhrS; dmarc=none; 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" 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 5C7EFB1A5 for ; Fri, 07 Jun 2024 15:53:47 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sFa1i-0004Sr-2V; Fri, 07 Jun 2024 09:53:06 -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 1sFa1h-0004Sj-63 for guix-devel@gnu.org; Fri, 07 Jun 2024 09:53:05 -0400 Received: from mail-108-mta44.mxroute.com ([136.175.108.44]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sFa1e-00082n-VK for guix-devel@gnu.org; Fri, 07 Jun 2024 09:53:04 -0400 Received: from filter006.mxroute.com ([136.175.111.3] filter006.mxroute.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta44.mxroute.com (ZoneMTA) with ESMTPSA id 18ff2f950de00017a3.001 for (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Fri, 07 Jun 2024 13:52:56 +0000 X-Zone-Loop: 349c20b47e8cbecf77b088817c0a60f5d93db95aca1c 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=Q1JMGSeZPMqpro5vD7UblSBDzhNMkpg1KARf90DYDwI=; b=epHlLhrS+iFycvU3/UfKUVJsZ8 D2cGcHr9sDLUzc+uFZxD6dLClB6IRgDTY64wt0YRHzNl4v/r6Hf60vx6oH55kf6z4y4WXelyg5xVa /Rl8wjRj5iqc2p4axgTLhd0BMbqUxss/7asCoyQwFTgCvYGI8Wox22p65t00b3rBSJpaQIXuu+51Q IE5fWS0yT/pl1oW3X31rqCGvuL9GuhdJcpwQaAXN4gXaeHlSze1TeUlO2b5irYa14b/uoU3+YoXro wb7Z+sajUsrtCw/EwRJePF3GrDNb/w5e1VspMa7FJQA6ogm18pag1t7cLLYQR6wwlBovuq/T/ao7a GKn6dVYw==; 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: <8734ppovm1.fsf@lease-up.com> (Felix Lechner's message of "Fri, 07 Jun 2024 04:11:50 -0700") References: <87le54hhfu.fsf@freakingpenguin.com> <87h6fs4s4g.fsf@lease-up.com> <87mspjoaf8.fsf@freakingpenguin.com> <8734ppovm1.fsf@lease-up.com> Date: Fri, 07 Jun 2024 09:52:47 -0400 Message-ID: <87le3gj1w0.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.44; envelope-from=richard@freakingpenguin.com; helo=mail-108-mta44.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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -2.34 X-Spam-Score: -2.34 X-Migadu-Queue-Id: 5C7EFB1A5 X-Migadu-Scanner: mx11.migadu.com X-TUID: e6F543+wy9Uf Hi Felix, Felix Lechner writes: > Hi Richard, > > On Tue, Apr 23 2024, Richard Sent wrote: > >> I submitted a patch for what I'm thinking at >> https://issues.guix.gnu.org/70542. > > I believe this stopped working for my NFS setup. Interesting. It does still work with my CIFS/SMB share, so I suspect this is an NFS-specific problem. Curiously I did have to reboot after adding the file-system entry, but it works after that. You could try invoking mount-file-system from (gnu build file-systems) directly to try and narrow down what exactly is breaking. >> --8<---------------cut here---------------start------------->8--- >> (file-system >> (device "wallace-server.local:/acct") >> (mount-point "/acct") >> (type "nfs") >> (requirement '(avahi-daemon)) ;resolve .local >> ;; (flags '(no-atime no-dev no-exec read-only)) >> ;; (options "proto=tcp6,timeo=300,nolock") >> (check? #f) >> (mount-may-fail? #t) >> (create-mount-point? #t)) >> --8<---------------cut here---------------end--------------->8--- > Wow, that works! > > Since this short form is optional and I can always switch back to the > previous version, v2 of that patch should be merged without further > delay. > > Thank you for your most valuable contribution! > > Kind regards, > Felix > > P.S. The code above should read (requirements ...) in the plural. To confirm, you are using avahi-daemon as a shepherd-requirements entry in your current code and not networking right? We'd need the former for .local TLD name resolution. -- Take it easy, Richard Sent Making my computer weirder one commit at a time.