From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id KCfJD3jIx2YeRAAAqHPOHw:P1 (envelope-from ) for ; Thu, 22 Aug 2024 23:23:36 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id KCfJD3jIx2YeRAAAqHPOHw (envelope-from ) for ; Fri, 23 Aug 2024 01:23:36 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=VyTTIzvC; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=oWAwfaVy; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=systemreboot.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1724369016; 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:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=pBZspjE4XR5enyW28NIoQquXozLlIFFWuJ+eTA9cypU=; b=MBHugs1X/9vSgI/LNcWW8UwtyXNEjwgCphJYExCGQYO6YbfOaY9ts0bx34ET2K+IYBBHoF YGlQs1SyKtRgRbqz98AJflr7LbyWkExPFL4XzRAWvOFuN7l8wikHhdLtJwGxnZWjSaOqv/ rEt5sPwRxBK85Nng3Y7tg//TrhjGhoanYECHv9pLuae20UzM89XmGdrc4S2p88jQbdpyKW Gd0AmDkmzpb2V00/kHp/S+Z7N0amvT/U4ecNz0a23pQLWLnyEVOksC/zO9MRELLDBmYTb4 J2UeiSswRcMdMHD3kGiG2NxeTiQXbj3+1pniwyUjcJFLVMqGqTFIQZV3OGBtfQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1724369016; a=rsa-sha256; cv=none; b=XM2A2JNNOVYR9CZU9BJN/GK1ZdXBqDmuVEE77VhrmDFwExWFr5/acAUiQiPImWBRfE+wae ZSZyIwFA4QFy1u9bqWKEwxIF3eogJ6w25VglwEUYeI9CnmTWJmAXC3oq1VYa2tYGS5/Igj IxXTBW1KcSskdKcQOcA1q1o1TwAPyZFTyLxKlRWb0UzhD6tbmjPu0ljNCu3wKIdqZgGdbw lVhZ7hLjmvM1OVMGqf1Kh2XXg2q8lwGMmih7EA8GhwSnx5XVYqicZCZSdHan2NBNc4PB48 rgyRhjhvx41jXE9kiOSxbU7l55zlq8/IOHK2f0bZV+Z8nL+8KMSLgJgk7Ai3lg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=VyTTIzvC; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=oWAwfaVy; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=systemreboot.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-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 1C728625D9 for ; Fri, 23 Aug 2024 01:23:35 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1shH9C-00089i-Dv; Thu, 22 Aug 2024 19:23: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 1shH9A-00089Q-5t for guix-patches@gnu.org; Thu, 22 Aug 2024 19:23:16 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1shH99-0003O1-T3 for guix-patches@gnu.org; Thu, 22 Aug 2024 19:23:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=pBZspjE4XR5enyW28NIoQquXozLlIFFWuJ+eTA9cypU=; b=VyTTIzvC4MLErMD27yUu9U9YJ4lqUxnUy7f+za6Rb3yuXjmtU6P6nfrIisFDo/jEQlPcpklPs74prxVKWxTip34rlsYGnTO+i8FGCkGry/abIzB6ec2qVwL/yS5I0d3nTn5vA9yzu1gPavzmaRKUgWuuTcVjAM2jMM4WbQRtwlp7DTBW1tLV/HNPKARd1mWF5fgKHt2OfFAcbXGXMb/DbJs+xgwiM8bL2IWEsrECAVE5XEuBJrcaYhlkxaFyRpEr0YzHdb+zIcyuUNA6Ze4UY5z4lvoPXr/uj/sWjw4mumhcSkM9VhxZVyF9SvSQ9j9YVlF4kfW57aN5VNNj+yATIw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1shH9u-0002DT-7X for guix-patches@gnu.org; Thu, 22 Aug 2024 19:24:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72398] [PATCH v2] services: Add readymedia-service-type. Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 22 Aug 2024 23:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72398 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Bruno Victal , Fabio Natali Cc: 72398@debbugs.gnu.org Received: via spool by 72398-submit@debbugs.gnu.org id=B72398.17243690048435 (code B ref 72398); Thu, 22 Aug 2024 23:24:02 +0000 Received: (at 72398) by debbugs.gnu.org; 22 Aug 2024 23:23:24 +0000 Received: from localhost ([127.0.0.1]:38549 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1shH9I-0002Bz-9I for submit@debbugs.gnu.org; Thu, 22 Aug 2024 19:23:24 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:58364) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1shH9E-0002Bf-Nz for 72398@debbugs.gnu.org; Thu, 22 Aug 2024 19:23:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; 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=pBZspjE4XR5enyW28NIoQquXozLlIFFWuJ+eTA9cypU=; b=oWAwfaVyrol1rmf6O5G8t/DVcV ezw5jx2beCYfQ8SldNZR6gg3DGyzaYGfnd/YZeQUmkstiAp84DbWd6HEb73aDzzYpzfCjt5OQoYGe kP17ddWOgkOJOyKqigCHnt/5l5eBl9eB/yA97ELRzn/NZJVKQzOcD940zmqdRYttMHkLLIjsbjDGk 7Qb2kjRxwEZSQb8+DeZYcZv8vuXS/zdI5TdXD3qqvfFpY9prLFhkts+uCyYliL/xk/NuQU1kqCn33 cXzMBcjnTH630GQLDfp5OfI/o1PZ6ST+KJSD3l84NeffEpwQuj+S/qxjNfZ7NdXdFOCyV1HO38SiG rbhzNRyg==; Received: from [192.168.2.1] (port=45662 helo=localhost) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98) (envelope-from ) id 1shH3R-000000007Bk-3AKV; Fri, 23 Aug 2024 00:17:22 +0100 From: Arun Isaac In-Reply-To: <4fd9b012-4783-4017-b8a3-47485c0cd657@makinata.eu> References: <87jzglwcqh.fsf@systemreboot.net> <87h6bhicgf.fsf@fabionatali.com> <4fd9b012-4783-4017-b8a3-47485c0cd657@makinata.eu> Date: Fri, 23 Aug 2024 00:22:24 +0100 Message-ID: <87ttfcp2hb.fsf@systemreboot.net> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 1C728625D9 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -10.42 X-Spam-Score: -10.42 X-TUID: p+aCcHUnd3S+ > I'd avoid using activation-service-type since it doesn't account for > shepherd dependencies (which implies file-system mounts), consequence > being that this service will be broken if any of these directories > happen to be located outside of the root filesystem. (My advice is to > avoid using activation-service-type unless you're sure of how the > chain of action in guix+shepherd goes) This is a good point. I hadn't thought of this. > Instead, do these within the start action of shepherd-service, > see the "prologue"/(before make-forkexec-constructor is called) of > mympd-service-type in gnu/services/audio.scm for an idea [1]. And, a clever solution too. Today I learnt!