From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id UBljEK7AXWIwegAAbAwnHQ (envelope-from ) for ; Mon, 18 Apr 2022 21:49:02 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id cKNZEK7AXWLbkgAAauVa8A (envelope-from ) for ; Mon, 18 Apr 2022 21:49:02 +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 00DAC74F5 for ; Mon, 18 Apr 2022 21:49:02 +0200 (CEST) Received: from localhost ([::1]:36396 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ngXMr-0001fc-79 for larch@yhetil.org; Mon, 18 Apr 2022 15:49:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46290) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ngXMM-0001fL-EE for guix-devel@gnu.org; Mon, 18 Apr 2022 15:48:30 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50648) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ngXMK-0008Tc-Ea; Mon, 18 Apr 2022 15:48:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=hMgCgCvep3KHw4IJo++sIfiyxjzuAbQrzBXGeoZhnJQ=; b=GympPVCNleteJRxNrM3j Eo3yIQyx5d4dflMn9uoDxc5swzPDlT2w/IlFNkt5Tataf4AbFBJFNxyqSOUm+hVP4X3qgWmh8EUGu ZHp22GJA+7NZuOSof54p+aviwqcwPAXm/WfcXZo6sKgIektiKkeLuah/C6lU0+C1ce7CkSkkbD1pB drDVtJ6YZJj7h8mHAZq/QyFDPVFoSegTHEJK6nfzo6kmwn+XD7JnT7BEpJ7YlX3mHW3uS3u9JEgEz LdZnXBWBGyhdT4UpXPKMcKsRIKOwRxE+gVbcYNJpe18q0f05r99x/55Hvm9Z8YxMRlXfkqZ1x3Xcb ccwZcmkiNDZa6Q==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:60634 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ngXMK-0002tA-00; Mon, 18 Apr 2022 15:48:28 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Justin Veilleux Subject: Re: service extensions to guix-service-type References: <346fbbef-02b7-55a3-1d4a-92efa768c163@cock.li> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 29 Germinal an 230 de la =?utf-8?Q?R=C3=A9volution?= 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: Mon, 18 Apr 2022 21:48:26 +0200 In-Reply-To: <346fbbef-02b7-55a3-1d4a-92efa768c163@cock.li> (Justin Veilleux's message of "Sun, 10 Apr 2022 23:19:42 -0400") Message-ID: <87zgkiw4tx.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) 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: , Cc: guix-devel@gnu.org, Brice Waegeneire Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1650311342; 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=hMgCgCvep3KHw4IJo++sIfiyxjzuAbQrzBXGeoZhnJQ=; b=B5MQ+gi+YUtXHZ950RsHsMA7y7GIWSo5O32JiUrJjogSulttrtaG/fQMop9VjZlsw5ysST 0flHxHWM87RnMVaY5LEid5HYHQkmvs9SXXgjaxT5MztRSfrkTVzGitVL/EspgkCtLFrXd2 szbwS98jpe2jDE/KFsDAKBN0kywKHJ3gu747/8WdtWrMsAH1wcJ2gCCKwotJFgSnjVHH3D lOeuJoV2uS2LA46tL6lMxaJjNHa/DcWoerhXfyzuC4tOmfL8kFOsBjw2NQi8pBUGLvTMuY qmyKywHXcnxyhbI5e+quJY6X22uNiKhzmb9F23psQRo75WjluTdba2gGRQcUeg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650311342; a=rsa-sha256; cv=none; b=Q5g81+i0Lb7uQKdFF2reQyQarE91www9EFgfUsBVzUNbmL4gGKOI77gJbE3jzv/GtaUnOS sih4chETNfQVxo3wLG35xeXa/SG3MgTxyavGEokHyF/NEq45ITqXZUkjEmQwXEKi25Kld3 A6MT0TxmEeHTrt8Mx8uDDWqYnZI6E5NFUk6gNom3kA2U2pZGlZnwqH4fxdvgTqO4pj5k5i 2kZCzRnf0Rm6JgnCGFLZXtIJO6/JLea8H74i46ij3UR/5HVtt4gCRp/H/h2eHKdToyWRA6 6HfejhU4wfzhkp/9SLkHE1dYYkwO/cYgyQpZVKFuJQHutLuXUQYYio90tyiFkg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=GympPVCN; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Spam-Score: -7.14 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=GympPVCN; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Queue-Id: 00DAC74F5 X-Spam-Score: -7.14 X-Migadu-Scanner: scn0.migadu.com X-TUID: uEuYbWemVsZC Hi Justin, Justin Veilleux skribis: > For my os.scm, I want to create a service which encapsulates the > process of adding channels to the global channels file, adding > substitute urls to the daemon and also adding authorized keys to the > daemon. With the service extension system, I was able to do the first > thing by extending `special-files-service-type`. However, I cannot do > the last two things, because the current definition of > guix-service-type only exposes chroot-directories (what is the use > case for this, btw?). It used to be that qemu-binfmt support for Guix relied on extending =E2=80=98guix-service-type=E2=80=99 with extra =E2=80=9Cchroot directories= =E2=80=9D; this was changed in commit 77c2f4e2068ebec3f384c826c5a99785125ff72c, so this extension mechanism is no longer used. Perhaps we could now use the extension point for the purposes you suggest? Alternatively (or in addition to that), Brice (Cc=E2=80=99d) proposed addin= g a =E2=80=98channels=E2=80=99 field to : https://issues.guix.gnu.org/49610 Thanks, Ludo=E2=80=99.