From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id +D1dKwhBE2SG+gAASxT56A (envelope-from ) for ; Thu, 16 Mar 2023 17:17:12 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id wGtJKwhBE2RnxwAA9RJhRA (envelope-from ) for ; Thu, 16 Mar 2023 17:17:12 +0100 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 741CF3145A for ; Thu, 16 Mar 2023 17:17:12 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="Mi6/pJ/K"; dmarc=pass (policy=none) header.from=gnu.org; 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=1678983432; 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: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=jOI1jLKB86Jt1DZkWMgPQqgqa8Isp1w3aASWhKUueUE=; b=LdhtxxKXxbQzN7cCT2LXTuqFwoO9pgCe6yv7ZrY0tD7GaLfjvuF3dJyYInYYFhFlEv6kPd Mrs9vnmrXVRFBrjrU2ciw41/qEzLHatgA/fZofuYZwyWJloLElYe0HBpLbXbVi5geW/GSu IhRoiFNYuyW0qQ1hck3iAYcp15g+fiXxsKw2os3AyaD2hZnFDc+AkV5EQNg53I2F8Em5T7 hAIZJzSv0B3mpRQRutnCvJWQHa5FQORAGCSRgVQkdvwzTYvdaC+vfS2tWvrkpfMP5Tz30m HjG9AUUTy060tHnFQ5H+gVFmxZzH3QZ9ez6MY271y4K4fyb6mT1qfMoLx5S/gQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="Mi6/pJ/K"; dmarc=pass (policy=none) header.from=gnu.org; 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-Seal: i=1; s=key1; d=yhetil.org; t=1678983432; a=rsa-sha256; cv=none; b=dWsR77Ca/dbZG8tifHrZVd+10DANbnRUgeF5l2kxmx5i/ykPqRJcD+QAsQtiuCsbvL6ruU a9Yif1lLOhCsPz/GfFCH/zPncyesn+2Hgb9zgbRAkm1yt5E/2vL8b3MG/bt0dsSHf1thj+ BvW/S5TounfwT4BCc/2UoHL82d2tyHNDcne+GAnUTu4bFFEdcvYGZna9hKo3jny6unqvnw Z6SL4HcHfleYWTbRmYerzUTerKrNlvp3QC+mdJXgzsrN/iDdeHSd+F+42SosVx4J+C7ZiT yJjVFqo591lcVIJuCi4vbasC50pmNN7pRQb8tCJ7f8NzgxgeUMKxZ6ZsCCDXsQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pcqHp-0005dO-7e; Thu, 16 Mar 2023 12:17:05 -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 1pcqHn-0005cu-0p for guix-patches@gnu.org; Thu, 16 Mar 2023 12:17:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pcqHm-0005fk-P7 for guix-patches@gnu.org; Thu, 16 Mar 2023 12:17:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pcqHm-0004wD-Az for guix-patches@gnu.org; Thu, 16 Mar 2023 12:17:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#61483] [PATCH 0/5] Some basic Home Shepherd Services Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 16 Mar 2023 16:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61483 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Jannneke Nieuwenhuizen Cc: 61483@debbugs.gnu.org Received: via spool by 61483-submit@debbugs.gnu.org id=B61483.167898337718920 (code B ref 61483); Thu, 16 Mar 2023 16:17:02 +0000 Received: (at 61483) by debbugs.gnu.org; 16 Mar 2023 16:16:17 +0000 Received: from localhost ([127.0.0.1]:42793 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pcqH2-0004v5-OW for submit@debbugs.gnu.org; Thu, 16 Mar 2023 12:16:17 -0400 Received: from eggs.gnu.org ([209.51.188.92]:60690) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pcqH0-0004uq-1z for 61483@debbugs.gnu.org; Thu, 16 Mar 2023 12:16:15 -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 1pcqGu-0005Sj-8c; Thu, 16 Mar 2023 12:16:08 -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=jOI1jLKB86Jt1DZkWMgPQqgqa8Isp1w3aASWhKUueUE=; b=Mi6/pJ/KGhDtAJqUJM5q ow5bG7qZ/3XaFeez9KORBMFjVXXVuxJJ/rSUeSNiv61B7hdfdx3NBRWGcGrAVZTrHdyXU88f9fRS+ Cxxzg+Wr92bEoWk8RRAeOVjwC6MvS2S3HS5nuCrJS87H49eY2v/li2xj4/TT3hep9C/YAXPpJxomo IKrug9S5ftwGckv6fXC7UTJRPd0iCDZgVTdWhrDChsBeDY+dZ60AuSlVjYrmFHG9ACuFv7CEmOeax y57rDS3QSKX8Klu3eIw3AdWEVKMZQTz9ZvmnXnw8tW4UBjlqTFqp9jRFa9vcuZTrHvx1Cy6gevcba HsKLrPa+sMolow==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pcqGt-0005Rb-Qu; Thu, 16 Mar 2023 12:16:08 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20230305181305.30992-1-janneke@gnu.org> <20230305181305.30992-3-janneke@gnu.org> <878rfxgdp4.fsf_-_@gnu.org> <87y1nwokmr.fsf@gnu.org> <87pm98oh6w.fsf@gnu.org> Date: Thu, 16 Mar 2023 17:16:05 +0100 In-Reply-To: <87pm98oh6w.fsf@gnu.org> (Jannneke Nieuwenhuizen's message of "Thu, 16 Mar 2023 16:21:27 +0100") Message-ID: <875yb0d64a.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: X-Migadu-Queue-Id: 741CF3145A X-Spam-Score: -3.14 X-Migadu-Spam-Score: -3.14 X-Migadu-Scanner: scn0.migadu.com 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-Country: US X-Migadu-Flow: FLOW_IN X-TUID: UpfBI0uPZmDW Hi again, Jannneke Nieuwenhuizen skribis: >>> In the meantime I realized I don=E2=80=99t have to push it on your beha= lf, so >>> I=E2=80=99ll let you take care of it=E2=80=94sorry for the confusion! >> >> Thanks, pushed to master as >> >> 70056b1b2beebbc9f8ea2c34eacc57f379368ab3 > > Well, it seems I added a dependency to the shepherd, module (shepherd > support), for things like > > %user-runtime-dir I pushed a fix as be7e2bf7ebc10bb4e5808ddeabc4b914f575865f, tested with =E2=80=98guix home container=E2=80=99. > I locally applied the attached patch to add Shepherd as an input (not > sure if that would be OK), but now `make update-guix-package' fails: Guix in general on the =E2=80=9Chost side=E2=80=9D should not depend on the= Shepherd, there=E2=80=99s no reason to do so. The solution for Home or System services is to depend on the Shepherd but only in the run-time code stage. This is what I did in be7e2bf7ebc10bb4e5808ddeabc4b914f575865f: code that needs to refer to =E2=80=98%user-runtime-dir=E2=80=99 is staged such that it will look up tha= t variable at run time, when the user =E2=80=98shepherd=E2=80=99 process is started. That=E2=80=99s really what we want here, because it also ensures that the c= ode sees the right value for =E2=80=98%user-runtime-dir=E2=80=99 (otherwise it = would see the configuration-time value, which could be different). Apologies for overlooking that! Ludo=E2=80=99.