From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id wCirIEWLM2Z60gAA62LTzQ:P1 (envelope-from ) for ; Thu, 02 May 2024 14:47:01 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id wCirIEWLM2Z60gAA62LTzQ (envelope-from ) for ; Thu, 02 May 2024 14:47:01 +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=eeUAz++F; 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-Seal: i=1; s=key1; d=yhetil.org; t=1714654021; a=rsa-sha256; cv=none; b=LxQMW6RRZHPGw+TvBseSW0VjuXMRoz9wmmcWPGSr7DkCzUKwEu8C0/Pr3xnEMDgTtTnj4k EizV0FeFGnmXmunRcb59GxcH1extGVhSivLEP/1CbcTs6fCIRAKPuC4Qe4X5LEkQEjCDfR XQehfYOzB7tXwdWXsEUJ4tAoI77FtEuSYZKyp4CyDNlNpc9XVJExSgWZYKuI6PjmUpQ0BW O7V+OQGnq5uf7KvpJ4fkLM+Ir46YLIGJqOy2JW73nclZZk5lvvSO2P6ZD9wGQiJv3M/u4Q DxxI63NFQABExcKBpA3q+iY/HZyvQ/CUw4L5arGUnyX4batFCT4kFXAmjv7IMw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none ("invalid DKIM record") header.d=freakingpenguin.com header.s=x header.b=eeUAz++F; 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=1714654021; 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=voGzJMhby+1FBXW/R7jUVkqn/Sg6kln0VwjUbhGrJaE=; b=eP77GzsjnxmnOCTeaapyJKTB/WGtE99Ea2dPWBbAsInZavGUsYVoc/U2XmwmdKYOyRQ05x 98zbaacz1LRNQTfmfldOfmItGl6Fvv7Gwtj/QXuBA4t3fwVvFGb/KRf/9KVuaT2TsA06MG 7zSETm6F9C5ihcA33Jq1rYH5lqwfVJqgCVFhSenxe0RgDOc4kFYu43qYQAvkIfQKYEHIr3 6v5F1yYCKfwFVjDdzu2rCwwoF1VSrlBM8VGoQTSDXCc7GXT5bkTazZ2XtcxxlcsK5eIrwq aI2corBcKTEbZBkT05XpXMkpoWzZlvo6TtjPz2L/sIfHC2XCzEM519veqLO6gQ== 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 54DCD1B13E for ; Thu, 2 May 2024 14:47:00 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s2VpJ-0004ce-SJ; Thu, 02 May 2024 08:46:18 -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 1s2VpE-0004aN-22 for guix-devel@gnu.org; Thu, 02 May 2024 08:46:12 -0400 Received: from mail-108-mta238.mxroute.com ([136.175.108.238]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s2Vp2-0006WZ-Uh for guix-devel@gnu.org; Thu, 02 May 2024 08:46:11 -0400 Received: from filter006.mxroute.com ([136.175.111.2] filter006.mxroute.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta238.mxroute.com (ZoneMTA) with ESMTPSA id 18f3956fd460008ca2.002 for (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Thu, 02 May 2024 12:45:53 +0000 X-Zone-Loop: 610a1dc22c50f8ef6bd8d90a04dfd8c84a1df8aebdee X-Originating-IP: [136.175.111.2] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=freakingpenguin.com; s=x; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From:Sender :Reply-To: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=voGzJMhby+1FBXW/R7jUVkqn/Sg6kln0VwjUbhGrJaE=; b=eeUAz++Fp/K5grjpSUkqcibno+ J1nN+LhZEorW7cLEmog3Xp5Muel1w1Xp2HunjUbGSCd711UdFbnAW2/pQc2lCKXGE1bhYCXjAJU7g YVQ70TK2VYrPevkAOsh8EYOBSO0S1VNbNeEkaD5kbY8w25utuyg9nebB0UgGgMnUfK7P4yiDJQDYK RLA4HNg2GN3DuVdv9N3ozktT6Z0f0yDryan7k92oax826W1VkbVjgKMl9ghUAdHLMpjUmLbSKPJsh f/ZcrrKxdoJUEra2Add6vZJexKtIRl42H0y8TQTyv1ZxeJXD22yQUOl8EExkqEwSyHe9PoUtsMyC2 /QQbvIUA==; From: Richard Sent To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org, 70542@debbugs.gnu.org Subject: Re: Value in adding Shepherd requirements to file-systems entries? In-Reply-To: <87ikzwzi9s.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Thu, 02 May 2024 11:15:43 +0200") References: <87le54hhfu.fsf@freakingpenguin.com> <87ikzwzi9s.fsf@gnu.org> Date: Thu, 02 May 2024 08:45:45 -0400 Message-ID: <87a5l8qt52.fsf@freakingpenguin.com> 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-Authenticated-Id: richard@freakingpenguin.com Received-SPF: pass client-ip=136.175.108.238; envelope-from=richard@freakingpenguin.com; helo=mail-108-mta238.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 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 54DCD1B13E X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -3.13 X-Spam-Score: -3.13 X-TUID: T63BEuZU0h6U Hi Ludo! > The other option would be to allow for symbols in the =E2=80=98dependenci= es=E2=80=99 > field, because it=E2=80=99s really the same thing. That would only requi= re a > new clause in the =E2=80=98dependency->shepherd-service-name=E2=80=99 pro= cedure. Personally I prefer separating requirements and dependencies. Dependencies adjusts the order of mounting file-systems /before/ provisioning 'file-systems, while requirements actually delays mounting a file system until Shepherd services have started (by removing it as a requirement for provisioning 'file-systems). I think this distinction in behavior should be emphasized in the API and manual. An alternative to the requirement/requirements field is changing the name to shepherd-requirement. That would be consistent with other services and make the distinction between dependencies and requirements unambiguous. (And sidestep the pluralization question.) Happy to change to whatever the consensus is! --=20 Take it easy, Richard Sent Making my computer weirder one commit at a time.