From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 4LMQC0KVFGQMkwAASxT56A (envelope-from ) for ; Fri, 17 Mar 2023 17:28:50 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id uK/8CUKVFGQpqAAAG6o9tA (envelope-from ) for ; Fri, 17 Mar 2023 17:28:50 +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 D4C442BB19 for ; Fri, 17 Mar 2023 17:28:49 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=aVVPjVp7; dmarc=pass (policy=none) header.from=gmail.com; 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=1679070530; 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=2rGRXplnw+UM2hrKFctN5mLPUnUqW6x2pg9eqSc7HMI=; b=SUNokTKo3b7DgOXTzQS8ibfn6/NQ5X6EJY+xkilxWqOWZWIrJHcYIsdRiLAzjQ0DG2T39a UJRks00ywNScWuz+bqx8RW198lR3Rq9NDE2sT1epToSNAPmLdIq+CxBBQrm97c0ACMpXcg lxRgip4zA6+Gg2PuJ6XUj67puxp3YrseyiU9FtrU4L0h0MLwFqv1N1FjXFxxqR/XUgZc4L STTFqWUm5nAsiA7s+vMyBt+pDTHjJJWI8s7ZfjqWjgc1vWgeIL2+S47S/DaKEs1+9CKiKh HxeYYbXYwylLYPyHMKyQ+R7Ga3NHuG8XK7O40lY6f6l9A/L84iW2TSH6Qf27Gg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=aVVPjVp7; dmarc=pass (policy=none) header.from=gmail.com; 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=1679070530; a=rsa-sha256; cv=none; b=oWNYopMNDrMtze2jppj0uso+7xg+5DlZkHgdmXUUYL7HuOttsfs9jkuOHTV2uoJwWeA8Zm FNi+n5ChbuWldVOFAkXlgu6ZEK0j0KJVjPJ/UJyhob6foGhZrqUFODYJBRaU19jE2tHA7a Z3jyW2v4DThbrkyloFf53M9jG3ZFQYEGYUn3STUEQia5cN+BFGhFRz0XL6KoHJ6L9pQbJi JcYR0tr6NeDym/0/K98MlBbznbBU9lUwVrakhAojBBcvF8b+6Mj0a/FgnZTXIAXnaB/YGg bqGKlOEtK5Psm3q+GF9xHQ2Otmhjhpir/Xh9God1PXRopPp3h0yEfLi54cC0Pg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pdCwA-0002OP-R8; Fri, 17 Mar 2023 12:28:14 -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 1pdCw8-0002O1-VA for guix-devel@gnu.org; Fri, 17 Mar 2023 12:28:13 -0400 Received: from mail-qt1-x829.google.com ([2607:f8b0:4864:20::829]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pdCw7-0001zi-3q; Fri, 17 Mar 2023 12:28:12 -0400 Received: by mail-qt1-x829.google.com with SMTP id h19so6201011qtn.1; Fri, 17 Mar 2023 09:28:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679070488; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=2rGRXplnw+UM2hrKFctN5mLPUnUqW6x2pg9eqSc7HMI=; b=aVVPjVp7ju/F6tbo9VqGy/LqUFtPv10leYzXzDWh3HJbWxh7z0PMWvaI303QC4lBmG dzAYGh6p4lYT/LSGq6/ffnXMEKqLMxJ2meweBVzFp6HF1y0LLhedanU7lLcuqSnXCMdn zA7Zff7ZCDGzIRrioYqMu5QiwNvmcoE/OoilK3lI/mXiuRkX0w1Li6k52aAE3jPlvHfe 7611WNwOQxqPCnkiVOKx7BK8UnjQSdWzGqW4jAiJOBxusa9dDujyGeMpTog+R8kFW4t1 pDGJM7+/ecap72rqivfvyc07TadZ38IxZsWKOU8TX/vC+dm4zEmq+pvl5Y8bS8rnGd8Q a8Ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679070488; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=2rGRXplnw+UM2hrKFctN5mLPUnUqW6x2pg9eqSc7HMI=; b=LTjHztanPzpkJyyQ4acs1JnCjEHuCRyw2DpCpX/5IAooe7e0mrYAgw012nNoEnmXc6 yovBCt1SsYbhLE8gZVMzRc4nBOIkJH+dKkrl1MkSGyCjln2qODdxMWkJh+2u5OG02SCi EmZ9XZm99YCufCknlpvlbtbiFbynE5YHgCK2V5BMPWgequpF3tqJ0pRYQvcooaOmblyE fEi/qrXp+arLhypk8vDRrdNBrS5TbqrtEPzzn+uyysPKP5UbfhmNwSCovgt7lECxq+rX 1uAGkGClUn6GaBClR6/sMCQXQoPr8cpWaD59T+nEhIVZ0NkqxnU+D8IK+Z9Do5h66mQK Oltw== X-Gm-Message-State: AO0yUKUolCb3DrUkgzxtyvEsKcI+N5fzFz+N1RrZzJ0y2t1N36HVAEgY UvC4gh2RIti8Jf7rtl0sBoC6IBYp0z8= X-Google-Smtp-Source: AK7set9vYxJzOkgttjx9i0+eK63PN4yE40aeu7YrYMndLORlKmbZXIa6c1q/sUClp8uB9z+2NukwFA== X-Received: by 2002:ac8:7d0a:0:b0:3bf:a3fc:c70a with SMTP id g10-20020ac87d0a000000b003bfa3fcc70amr12896436qtb.28.1679070488652; Fri, 17 Mar 2023 09:28:08 -0700 (PDT) Received: from hurd (dsl-158-22.b2b2c.ca. [66.158.158.22]) by smtp.gmail.com with ESMTPSA id q4-20020ac87344000000b003b63dfad2b4sm1813145qtp.0.2023.03.17.09.28.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Mar 2023 09:28:08 -0700 (PDT) From: Maxim Cournoyer To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel Subject: Re: The =?utf-8?Q?=F0=9F=90=91?= Shepherd gets a service collection References: <87mt4gzl55.fsf@inria.fr> <87o7ovo77s.fsf@gmail.com> <87zg8cdbo3.fsf@gnu.org> Date: Fri, 17 Mar 2023 12:28:07 -0400 In-Reply-To: <87zg8cdbo3.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Thu, 16 Mar 2023 15:16:12 +0100") Message-ID: <87jzzf5omg.fsf@gmail.com> 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 Received-SPF: pass client-ip=2607:f8b0:4864:20::829; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qt1-x829.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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: X-Migadu-Queue-Id: D4C442BB19 X-Spam-Score: -6.48 X-Migadu-Spam-Score: -6.48 X-Migadu-Scanner: scn0.migadu.com 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-TUID: m6lsGbVMt9LD Hi Ludo, Ludovic Court=C3=A8s writes: > Hi, > > Maxim Cournoyer skribis: > >> Ludovic Court=C3=A8s writes: > > [...] > >>> I imagine we could develop more convenient services like this, such as a >>> basic command scheduler similar to the =E2=80=98at=E2=80=99 command, an= d a syslogd >>> implementation. The latter could be nice for a couple of reasons: >>> logging would happen from the start and till the end (an improvement >>> over the external syslogd process), and it could let us provide a nicer >>> user interface to view logs (taking inspiration from that of >>> =E2=80=98journalctl=E2=80=99). >>> >>> Thoughts? Ideas? >> >> While I also find the journalctl interface to be convenient, the >> underlying database logs is costly in terms of storage and complexity > > Agreed (that=E2=80=99s why I mentioned the user interface of =E2=80=98jou= rnalctl=E2=80=99, not > the storage mechanism of =E2=80=98journald=E2=80=99). OK. In my mind both are probably hard to separate though (database logs are more malleable, which is what journald exploits). --=20 Thanks, Maxim