From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id lke9Cy5OUWLDZQEAgWs5BA (envelope-from ) for ; Sat, 09 Apr 2022 11:13:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id kNhDAy5OUWIy0AAAG6o9tA (envelope-from ) for ; Sat, 09 Apr 2022 11:13:18 +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 907C32A668 for ; Sat, 9 Apr 2022 11:13:17 +0200 (CEST) Received: from localhost ([::1]:40692 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nd79g-0007XV-Ee for larch@yhetil.org; Sat, 09 Apr 2022 05:13:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53708) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nd79T-0007W0-2S for guix-patches@gnu.org; Sat, 09 Apr 2022 05:13:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42804) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nd79S-0003fN-Nv for guix-patches@gnu.org; Sat, 09 Apr 2022 05:13:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nd79S-0008Kz-BM for guix-patches@gnu.org; Sat, 09 Apr 2022 05:13:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54811] [PATCH 0/3] Support socket activation in 'guix publish' and 'guix-daemon' Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 09 Apr 2022 09:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54811 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54811@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164949558032039 (code B ref -1); Sat, 09 Apr 2022 09:13:01 +0000 Received: (at submit) by debbugs.gnu.org; 9 Apr 2022 09:13:00 +0000 Received: from localhost ([127.0.0.1]:36701 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nd79Q-0008Kh-94 for submit@debbugs.gnu.org; Sat, 09 Apr 2022 05:13:00 -0400 Received: from lists.gnu.org ([209.51.188.17]:56396) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nd79O-0008KZ-T3 for submit@debbugs.gnu.org; Sat, 09 Apr 2022 05:12:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53700) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nd79N-0007TC-5q for guix-patches@gnu.org; Sat, 09 Apr 2022 05:12:58 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46932) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nd79M-0003ew-Hr; Sat, 09 Apr 2022 05:12:56 -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:Subject:To:From:in-reply-to: references; bh=iyDQr30hf+yNZ9wTWnJKDk2zro/6JdWT8lNcYM6ovII=; b=nGwzl976dnnrwO svpPrOTNmZP8VQ8kcaEesXj3Ip4utOpulnmnSxVoKwdaSbOQPBqIn0v4I8MySbbsYmu75Rw+liQId So74i+NCFb85HTIHTJK5+ySfZ5FyEYhuEFOz+a+MUMlrlm3Sy9v8K5bzg7/iaU1el6w4dXgQ1ohzR UQgK5Ssu7rPbexYVlXmYQpsWyi5eokV9x/u1SY0pFqLek2EEQM8OfkkRU/6ltWRoYJbvYKfgJNa+f H1IBSExh0spemZKA1vOPdq2jhUJNrdd5o4d9UMB0YEdUMuUIvmlKfhx6qaNTo9x9O6mVCCiHxnlAW uCaT+XZv3Uj59BvS2ygQ==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:50256 helo=gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nd79M-0005uf-3D; Sat, 09 Apr 2022 05:12:56 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Sat, 9 Apr 2022 11:12:46 +0200 Message-Id: <20220409091246.6979-1-ludo@gnu.org> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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" 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=1649495597; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=iyDQr30hf+yNZ9wTWnJKDk2zro/6JdWT8lNcYM6ovII=; b=GW2hQ01A9nq5uX/vMwUo28kDcYTQntMPR6XUjxG8ml2AV+Vpc/DA8OGy+pDRx44BOkPzph 3LmgswKutLNG9jeWi6Y+ZV0WGsA1jcOr7iTb/ae/trNx4W7/C6zJTRL1NDOOhv2SrC++Qx F0TLP79UFIbsb0DJnCOPu/032PAe0so0F1tw9H69Ox8sFStww3zyGAoCTmdpFC/7mcnzb6 IYh0gH44SeFdvxl8Vw7PdmG00XNDu+8RQA/Dq65r84oldEtzdYJTjPdaON+R5mNMR7ZHb7 JAMjR8HqzF/VM3jhNN5pQwbqV5yT5jaA/whB7Wn6J3l4BLQMY1UpGWkMkSMp9w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1649495597; a=rsa-sha256; cv=none; b=QDSHSYUjC5ft4/9DGGQp2cu5SH/F8ltUOgCJ5gtbQ/yjD/FbiCFHC380nK6rB9h7k7EDTT TskbQFkoMgHxxJaneNXzc3/5YLhNNblPMlOV27KiQbEsTep0E7/O2+kGJTKm1wJ8XXHWHB NMlvYQXOlKi6GsgkK87SaIUp/ylOpc/0XUP1uaWfnhB/iyK4G5ABta9OT2AEuZ9KtwSfg9 NUbYwpbRKm0aiGfBksKJ6sQoozeuNkUtZo14KEjQMQ3v2WJ6D5RwPKBuGg1Yqv2EayZySn QWfi7Xr+MDroT2njqlPUFk99NFieBVQv06UF/IY5TZ53hJZVTtRmO7yXkMaL0A== 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=nGwzl976; 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" X-Migadu-Spam-Score: -3.47 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=nGwzl976; 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" X-Migadu-Queue-Id: 907C32A668 X-Spam-Score: -3.47 X-Migadu-Scanner: scn0.migadu.com X-TUID: NpHHUIMLsMe1 Hello! Now that we have this fancy new Shepherd, we can have our daemons started lazily via “socket activation” like all the cool kids have been doing. :-) Next steps: update the ‘guix’ package, update the .service files, and update (gnu services base) (I’m not entirely sure we can start ‘guix-daemon’ via socket activation though due to the container shenanigans in there.) Thoughts? Ludo’. Ludovic Courtès (3): publish: Use SRFI-71 instead of SRFI-11. publish: Support systemd-style socket activation. daemon: Support systemd-style socket activation. doc/guix.texi | 11 ++++++++- guix/scripts/publish.scm | 39 +++++++++++++++++++++++++------- nix/nix-daemon/guix-daemon.cc | 42 ++++++++++++++++++++++++++++++----- 3 files changed, 78 insertions(+), 14 deletions(-) base-commit: 0996d48d0e79a360e0d5583b812cd565f62ca32e -- 2.35.1