all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: 74860@debbugs.gnu.org
Cc: "Ludovic Courtès" <ludo@gnu.org>,
	"Florian Pelz" <pelzflorian@pelzflorian.de>,
	"Julien Lepiller" <julien@lepiller.eu>
Subject: [bug#74860] [PATCH v3 00/12] Using the Shepherd's log rotation service
Date: Wed,  8 Jan 2025 22:51:48 +0100	[thread overview]
Message-ID: <cover.1736373022.git.ludo@gnu.org> (raw)
In-Reply-To: <cover.1734129908.git.ludo@gnu.org>

>   • 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





  parent reply	other threads:[~2025-01-08 21:54 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-13 22:55 [bug#74860] [PATCH 00/10] Using the Shepherd's log rotation service Ludovic Courtès
2024-12-13 22:58 ` [bug#74860] [PATCH 01/10] gnu: shepherd@1.0: Add dependency on gzip and zstd Ludovic Courtès
2024-12-13 22:58 ` [bug#74860] [PATCH 02/10] services: Add ‘log-rotation-service-type’ Ludovic Courtès
2025-01-02 14:19   ` Maxim Cournoyer
2025-01-04 18:16     ` Ludovic Courtès
2024-12-13 22:58 ` [bug#74860] [PATCH 03/10] services: log-cleanup: Rewrite as a Shepherd timer Ludovic Courtès
2025-01-02 14:24   ` Maxim Cournoyer
2024-12-13 22:58 ` [bug#74860] [PATCH 04/10] services: unattended-upgrade: " Ludovic Courtès
2025-01-02 14:28   ` Maxim Cournoyer
2024-12-13 22:58 ` [bug#74860] [PATCH 05/10] services: Switch from mcron + Rottlog to Shepherd’s log rotation Ludovic Courtès
2025-01-02 14:41   ` Maxim Cournoyer
2024-12-13 22:58 ` [bug#74860] [PATCH 06/10] services: rottlog: Deprecate Ludovic Courtès
2024-12-13 22:58 ` [bug#74860] [PATCH 07/10] DRAFT news: Add entry for ‘rottlog-service-type’ deprecation Ludovic Courtès
2024-12-14 18:34   ` pelzflorian (Florian Pelz)
2024-12-17 14:25     ` Ludovic Courtès
2024-12-13 22:58 ` [bug#74860] [PATCH 08/10] home: services: Add log rotation service Ludovic Courtès
2024-12-13 22:58 ` [bug#74860] [PATCH 09/10] home: Define ‘%base-home-services’ Ludovic Courtès
2025-01-02 14:34   ` Maxim Cournoyer
2024-12-13 22:58 ` [bug#74860] [PATCH 10/10] home: Add log rotation to ‘%base-home-services’ Ludovic Courtès
2025-01-02 14:34   ` Maxim Cournoyer
2024-12-13 23:20 ` [bug#74860] [PATCH 00/10] Using the Shepherd's log rotation service Ludovic Courtès
2025-01-08 17:41 ` [bug#74860] [PATCH v2 00/12] " Ludovic Courtès
2025-01-08 17:41   ` [bug#74860] [PATCH v2 01/12] gnu: shepherd@1.0: Add dependency on gzip and zstd Ludovic Courtès
2025-01-08 17:41   ` [bug#74860] [PATCH v2 02/12] system: Add zstd to ‘%base-packages’ Ludovic Courtès
2025-01-08 17:41   ` [bug#74860] [PATCH v2 03/12] services: Add ‘log-rotation-service-type’ Ludovic Courtès
2025-01-08 17:41   ` [bug#74860] [PATCH v2 04/12] services: log-cleanup: Rewrite as a Shepherd timer Ludovic Courtès
2025-01-08 17:41   ` [bug#74860] [PATCH v2 05/12] services: unattended-upgrade: " Ludovic Courtès
2025-01-08 17:41   ` [bug#74860] [PATCH v2 06/12] services: Switch from mcron + Rottlog to Shepherd’s log rotation Ludovic Courtès
2025-01-08 17:41   ` [bug#74860] [PATCH v2 07/12] services: rottlog: Deprecate Ludovic Courtès
2025-01-08 17:41   ` [bug#74860] [PATCH v2 08/12] DRAFT news: Add entry for ‘rottlog-service-type’ deprecation Ludovic Courtès
2025-01-08 17:41   ` [bug#74860] [PATCH v2 09/12] home: services: Add log rotation service Ludovic Courtès
2025-01-08 17:41   ` [bug#74860] [PATCH v2 10/12] home: Define ‘%base-home-services’ Ludovic Courtès
2025-01-08 17:41   ` [bug#74860] [PATCH v2 11/12] home: Add log rotation to ‘%base-home-services’ Ludovic Courtès
2025-01-08 17:41   ` [bug#74860] [PATCH v2 12/12] DRAFT news: Add entry for ‘%base-home-services’ Ludovic Courtès
2025-01-08 21:51 ` Ludovic Courtès [this message]
2025-01-08 21:51   ` [bug#74860] [PATCH v3 01/12] gnu: shepherd@1.0: Add dependency on gzip and zstd Ludovic Courtès
2025-01-08 21:51   ` [bug#74860] [PATCH v3 02/12] system: Add zstd to ‘%base-packages’ Ludovic Courtès
2025-01-08 21:51   ` [bug#74860] [PATCH v3 03/12] services: Add ‘log-rotation-service-type’ Ludovic Courtès
2025-01-08 21:51   ` [bug#74860] [PATCH v3 04/12] services: log-cleanup: Rewrite as a Shepherd timer Ludovic Courtès
2025-01-08 21:51   ` [bug#74860] [PATCH v3 05/12] services: unattended-upgrade: " Ludovic Courtès
2025-01-08 21:51   ` [bug#74860] [PATCH v3 06/12] services: Switch from mcron + Rottlog to Shepherd’s log rotation Ludovic Courtès
2025-01-08 21:51   ` [bug#74860] [PATCH v3 07/12] services: rottlog: Deprecate Ludovic Courtès
2025-01-08 21:51   ` [bug#74860] [PATCH v3 08/12] DRAFT news: Add entry for ‘rottlog-service-type’ deprecation Ludovic Courtès
2025-01-08 21:51   ` [bug#74860] [PATCH v3 09/12] home: services: Add log rotation service Ludovic Courtès
2025-01-08 21:51   ` [bug#74860] [PATCH v3 10/12] home: Define ‘%base-home-services’ Ludovic Courtès
2025-01-08 21:51   ` [bug#74860] [PATCH v3 11/12] home: Add log rotation to ‘%base-home-services’ Ludovic Courtès
2025-01-08 21:52   ` [bug#74860] [PATCH v3 12/12] DRAFT news: Add entry for ‘%base-home-services’ Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1736373022.git.ludo@gnu.org \
    --to=ludo@gnu.org \
    --cc=74860@debbugs.gnu.org \
    --cc=julien@lepiller.eu \
    --cc=pelzflorian@pelzflorian.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.