From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id qCaVD+ZZM2ZbdAAAe85BDQ:P1 (envelope-from ) for ; Thu, 02 May 2024 11:16:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id qCaVD+ZZM2ZbdAAAe85BDQ (envelope-from ) for ; Thu, 02 May 2024 11:16:22 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=Y5D174Dh; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1714641382; 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=A1b+kXl8Vo8OwxZg4SkUkCMbSLqpbbAO/iIa260bid4=; b=SvESu1RQnBvl9yijgQDltPQLIAhgUOiGCkgOpFyQ8s68FLp6kryXsEaVg5+7EKP521FIqu IzHN6HSlpDreZ8+a5pBhc4yq+IFy1dnH4gcYC9LNsPkog67WsVPxdyZV2qe+fQkj05CmiX PX100Lg0MsKCLapiQTL/pc6KbnvDtN/0MZdWPZlU7E4ALiciCoP31RX3yzYZ4tjhTsvkWU ie7C/TN3PbHMX/U2teL4feaMoUwaTJ2RTE76nZ+T31IesnLz7lHic0m0+VaRRQqBkEM3zh 2pB/s9yR4SYXs/SbyYxkUkOadDfR1+UiKzUacg3paEuR+mDj3XZH89enpXiiTg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=Y5D174Dh; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1714641382; a=rsa-sha256; cv=none; b=bOU4PW2IwQUpEhhxb+d/T3kvJvyQegBd10QTAnSaqgD5JpHhdmXFegO4c2Osf0yg3l3g8h vmIS2wZdp9sK82Nt2MeZn0Y/hI+RrBq6Ia6H6ZXf1oeBv6bhVCEeY/LaprBD0Bi5sTDkEP a3hJJRCgsIsOdYDDab+HGsuyOLSSywBwXb63BsgyqbZrMe4I1YLChGkpJ9K6yJ6uimFO6K CpEBoNqzbz4MT8fAyh1R57ljdqQ+1y0/71Fg9Fez99uDC21adrEOXag2XWK0pZpVbTUZ3R LGmtW+OOkoHxgPq0VTMmWNvbqfFYm+wRLmv6tpQ0IWHsbfo39x0cGWlZUr0fiA== 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 2A01767777 for ; Thu, 2 May 2024 11:16:22 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s2SXr-0005Wd-CV; Thu, 02 May 2024 05:16:03 -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 1s2SXl-0005UV-SQ for guix-devel@gnu.org; Thu, 02 May 2024 05:15:58 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s2SXl-0002Uz-Id; Thu, 02 May 2024 05:15:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=A1b+kXl8Vo8OwxZg4SkUkCMbSLqpbbAO/iIa260bid4=; b=Y5D174DhOU4cZnWEZqK4 N6FJTbV+RbeZi4Ce5ZS4OqJkI//iJFdU3G5U0PVfTjPvT3lxFoZS33hWo4cFIFseq5lTtWD2NfE5g 5W7S0dVvC4zZ68pvLc6qPPkKXL4pS6XwZ6fsoXTtPL09hEQ+hNOrtPyFVCKJGOGrQMHAeSIFf+eBS J9ElXHJhcNw5Qk1gIrSe5FHuwXbKKmC54iLbt604vOTB1FH8RNflwXEIFoohJDNqXZZtRA4aZIBzB yejqH/UqLajQ4r1Sv1EK0LSFudQ0ag4n0oDOtGHBENRLAZEceZE7Q4Rif8TZUkVGJ3ZDqepA7yJiD 4Yf7DbiKYtfegQ==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Richard Sent Cc: guix-devel@gnu.org Subject: Re: Value in adding Shepherd requirements to file-systems entries? In-Reply-To: <87le54hhfu.fsf@freakingpenguin.com> (Richard Sent's message of "Mon, 22 Apr 2024 23:43:49 -0400") References: <87le54hhfu.fsf@freakingpenguin.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Quartidi 14 =?utf-8?Q?Flor=C3=A9al?= an 232 de la =?utf-8?Q?R=C3=A9volution=2C?= jour du =?utf-8?Q?Cham=C3=A9risier?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 02 May 2024 11:15:43 +0200 Message-ID: <87ikzwzi9s.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: -9.92 X-Spam-Score: -9.92 X-Migadu-Queue-Id: 2A01767777 X-Migadu-Scanner: mx13.migadu.com X-TUID: tpQ6VXLl5nuP Hi! Richard Sent skribis: > Before hacking away at this myself, I'd like to get other people's > thoughts on the best way to proceed. Do others agree that (file-system) > entries should support networked devices? Should this be transparent > depending on the type, or require explicit configuration? > > e.g. > > (file-system > (device "//192.168.1.102/share") > (options "guest") > (mount-point "/mnt/share") > (type "cifs") > ;; Should we explicitly require network, or implicitly add it from > ;; the type? If the latter, what to do about Avahi? > (requirement 'networking) > (mount-may-fail? #t) > (create-mount-point? #t)) I think this makes sense. The other option would be to allow for symbols in the =E2=80=98dependencies= =E2=80=99 field, because it=E2=80=99s really the same thing. That would only require= a new clause in the =E2=80=98dependency->shepherd-service-name=E2=80=99 proce= dure. HTH! Ludo=E2=80=99.