From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 6DixI/7zfmc5FwAAqHPOHw:P1 (envelope-from ) for ; Wed, 08 Jan 2025 21:54:06 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 6DixI/7zfmc5FwAAqHPOHw (envelope-from ) for ; Wed, 08 Jan 2025 22:54:06 +0100 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=iaGb3EAk; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=XURMwC7I; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1736373246; 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=O9Cj0pbcnKBF5x8ywMLPFONN+YsFRQ6IXoODMiArf3w=; b=skhqtdE+Ak5vV0oc3UjCMyHbDwRc/oh+NHYi0cftSNdg2+fOp7bLZnYvEpwRkX/tSw52ZP ALs+bSNes42PqFCegSuPKO1V8OrVUT8el44pHn+v/AxUQALLNV4MJVN7plYRosVITFkRb7 Ukh9D5UJlb2WL6+GgHmp9l0FlBCERa/1iDbe/kJ0f93pZsnmDqV7ykvU4WeQSoxper94K2 EZMrysuYvqPI6lkkggbtZT4+z+BGem5fZAh5onKanIOI1s3bvfNpWq8jIriBHUw/Sb9kyE hEWfbgcWrzM4ZVznTkUq5ahl90vAmQwHWBA2G27pRef1++099bitqQzt8hvEbw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=iaGb3EAk; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=XURMwC7I; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1736373246; a=rsa-sha256; cv=none; b=cA12leX0Jb7qpwGadjlzYoTQi+1P9cpr5koRaDaQZ1JQ2yUQVMqHMCwetwTydaEocHFTb0 fpfYJ3ZZcq8lb/hwhp642RjP6LFspO03ct7cza8xT0s8847MLplPxfJb7vAyEJ4IMSk519 AyOFTorDmfKsMRi0l3K9tpkjyBpPG7nzlx2DmqtP6MxRLREsu06MkgyvDgPf5DOxZ3Lk3Q k203P2l57uOP1623ABvRZewTmK/THjtq1Xmk3wpzH+2R317ATAvHM0mHU4AKGHjezVrqLK d5PDsAHLEzlwcjNM4oVJgFkOwP/29ZZ4SiZx+nsQk1W4zVdAeK6IZ5cV4qxdrw== 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 6467E9E1FF for ; Wed, 08 Jan 2025 22:54:06 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tVdzA-0002z6-QJ; Wed, 08 Jan 2025 16:53:08 -0500 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 1tVdz6-0002VF-Ha for guix-patches@gnu.org; Wed, 08 Jan 2025 16:53:04 -0500 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 1tVdz6-00048B-7O for guix-patches@gnu.org; Wed, 08 Jan 2025 16:53:04 -0500 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:From:To:In-Reply-To:References:Subject; bh=O9Cj0pbcnKBF5x8ywMLPFONN+YsFRQ6IXoODMiArf3w=; b=iaGb3EAkBNldUMisj04ZwNwNA6xkzXZh68LI5CRsFev85fTHHxWxh7k6s4vQIu+8Z2uGnlqkCZpZiZYWXyiEBZNakrsXrj2WyergnBCPCeOb2QnvfrNfzVIKf0hCtu3qejJPU/m4esucb4PlQdCaJc2DCc4ax13jVNQIYX183NPITd57ZHJip1giVhTvCE6BWEleTPlaZdjySCceO+ztZbawlaYzXoqmFIhNwzH5NurS+MgdHHf0y13Vtm8ohS/MKWiHZaMKxmOsOYEn6pesfyHc+nyHBhpeZ7avjj+S0Lonhl4iKH0PxpnPmNlypzbVEmkhuv+6f5T2WpHOdhNnmw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tVdz5-0005Tx-16; Wed, 08 Jan 2025 16:53:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74860] [PATCH v3 00/12] Using the Shepherd's log rotation service References: In-Reply-To: Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: pelzflorian@pelzflorian.de, julien@lepiller.eu, guix-patches@gnu.org Resent-Date: Wed, 08 Jan 2025 21:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74860 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74860@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Florian Pelz , Julien Lepiller X-Debbugs-Original-Xcc: Florian Pelz , Julien Lepiller Received: via spool by 74860-submit@debbugs.gnu.org id=B74860.173637318121048 (code B ref 74860); Wed, 08 Jan 2025 21:53:02 +0000 Received: (at 74860) by debbugs.gnu.org; 8 Jan 2025 21:53:01 +0000 Received: from localhost ([127.0.0.1]:49280 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tVdz2-0005TF-QG for submit@debbugs.gnu.org; Wed, 08 Jan 2025 16:53:01 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37942) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tVdyz-0005SS-1a for 74860@debbugs.gnu.org; Wed, 08 Jan 2025 16:52:59 -0500 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 1tVdys-00044h-NS; Wed, 08 Jan 2025 16:52:50 -0500 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=O9Cj0pbcnKBF5x8ywMLPFONN+YsFRQ6IXoODMiArf3w=; b=XURMwC7I+2LAnl GRIgStLwzwapaAv/avzA0yyffwPcUQ3TZeKfsPMsZfQjsK6/4NEbiOe7oAkOfBSId3RghV5K7oH3H 5c5K42y95NFwhF1q+w53KFsTYEOlKIcZQ1S3FlW9DT0p83BgL8gh1kRIPjIyvxzcd3E4kjo/q3cPA 6pPpXIZmKHFLzHdokaOK95d1r1ltC/2rrHpZFI+fxpfrLCKffw+vFkXMe5c9pMkmb0gka9Uto423Y lp/FxPSb0sJ4tNpF9tlP3TqjWtDjZSA91aNnWniaZzb6bF3EjdsufvWVoxZkUTpZlAmHDkzreph6a Y/+j9C6f2aLSpP+j0Klg==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Wed, 8 Jan 2025 22:51:48 +0100 Message-ID: X-Mailer: git-send-email 2.47.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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -5.48 X-Spam-Score: -5.48 X-Migadu-Queue-Id: 6467E9E1FF X-Migadu-Scanner: mx10.migadu.com X-TUID: pPyD+Vv7bhs0 > • Add /var/log/messages & co. to the default value of > ‘external-files’: without this, those files, produced > by syslogd, would not be rotated. (This will be unnecessary > once we switch to the Shepherd’s syslogd.) I figured I could make this slightly more elegant by having ‘syslog-service-type’ extend ‘log-rotation-service-type’ with the list of files; that’s what v3 changes (only patch 06/12 has changed). Ludovic Courtès (12): gnu: shepherd@1.0: Add dependency on gzip and zstd. system: Add zstd to ‘%base-packages’. services: Add ‘log-rotation-service-type’. services: log-cleanup: Rewrite as a Shepherd timer. services: unattended-upgrade: Rewrite as a Shepherd timer. services: Switch from mcron + Rottlog to Shepherd’s log rotation. services: rottlog: Deprecate. DRAFT news: Add entry for ‘rottlog-service-type’ deprecation. home: services: Add log rotation service. home: Define ‘%base-home-services’. home: Add log rotation to ‘%base-home-services’. DRAFT news: Add entry for ‘%base-home-services’. doc/guix.texi | 128 +++++++++++++++++-- doc/he-config-bare-bones.scm | 27 ++-- etc/news.scm | 78 +++++++++++- gnu/home.scm | 11 +- gnu/home/services/admin.scm | 31 +++++ gnu/local.mk | 1 + gnu/packages/admin.scm | 14 ++- gnu/services/admin.scm | 224 ++++++++++++++++++++++++++-------- gnu/services/audio.scm | 26 +--- gnu/services/base.scm | 22 ++-- gnu/services/cuirass.scm | 27 +--- gnu/services/file-sharing.scm | 6 - gnu/services/linux.scm | 8 +- gnu/services/networking.scm | 61 ++------- gnu/services/web.scm | 17 +-- gnu/system.scm | 5 +- guix/scripts/home/import.scm | 8 +- tests/home-import.scm | 40 +++--- 18 files changed, 485 insertions(+), 249 deletions(-) create mode 100644 gnu/home/services/admin.scm base-commit: 911f205ddadf8255caa123671ccbb4efb9250ead -- 2.47.1