From unknown Sat Jun 21 10:30:34 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#54659 <54659@debbugs.gnu.org> To: bug#54659 <54659@debbugs.gnu.org> Subject: Status: [PATCH 0/2] Periodically delete build logs Reply-To: bug#54659 <54659@debbugs.gnu.org> Date: Sat, 21 Jun 2025 17:30:34 +0000 retitle 54659 [PATCH 0/2] Periodically delete build logs reassign 54659 guix-patches submitter 54659 Ludovic Court=C3=A8s severity 54659 normal tag 54659 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 31 17:20:55 2022 Received: (at submit) by debbugs.gnu.org; 31 Mar 2022 21:20:55 +0000 Received: from localhost ([127.0.0.1]:40005 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1na2Dv-0001w2-CJ for submit@debbugs.gnu.org; Thu, 31 Mar 2022 17:20:55 -0400 Received: from lists.gnu.org ([209.51.188.17]:37994) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1na2Dt-0001vu-Ca for submit@debbugs.gnu.org; Thu, 31 Mar 2022 17:20:53 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55980) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1na2Ds-0004FC-8r for guix-patches@gnu.org; Thu, 31 Mar 2022 17:20:53 -0400 Received: from [2001:470:142:3::e] (port=41192 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1na2Dr-0006bO-JQ; Thu, 31 Mar 2022 17:20:51 -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=EWKVSop2TiV4zvJDYvqfCR7jYrBb2iCguzTqf78G9og=; b=hw+0zStjPxFxQ0 cgmKh8WjaCUEMVFngfQSp3HCzflRWe5rqjBX3tD4V5mh0BXjWFKVHvL8Nho3XTFd3lHDvJ66d84VX stiA7VX75mrQLX7tHsDeYIaQS9AaYz42t1Fd/GcTf+I46heht5DLkzewYr7HbV9J0MsSGhjqF3FyS dJrIpSiIrkbqlewwI4uMvMLQRHhgtogYA5jvuF8hUB9lc/GL0RsIo0egHUAyIrSWbTpsO86UWS//z gS6UJd2+ny73VVr+0rEBuz0PwPZcOCFpRXVGiZ40OSYKEcB8xZpzyepTXD77xyWNk7+Z7+uoPUVog 3Ka7yJrlugJQi4LOa3IQ==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:54546 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 1na2Dr-0002Bc-5Z; Thu, 31 Mar 2022 17:20:51 -0400 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= To: guix-patches@gnu.org Subject: [PATCH 0/2] Periodically delete build logs Date: Thu, 31 Mar 2022 23:20:38 +0200 Message-Id: <20220331212038.24214-1-ludo@gnu.org> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit Cc: =?UTF-8?q?Ludovic=20Court=C3=A8s?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi! We’ve been accumulating cruft in /var/guix/log/drvs for too long, time to do something about it! Thoughts? Ludo’. Ludovic Courtès (2): services: Add 'log-cleanup-service-type'. services: Add 'log-cleanup' service to '%base-services' for build logs. doc/guix.texi | 39 +++++++++++++++++++++++++++++++ gnu/services/admin.scm | 53 +++++++++++++++++++++++++++++++++++++++++- gnu/services/base.scm | 6 +++++ 3 files changed, 97 insertions(+), 1 deletion(-) base-commit: 53b04339fe521f486d3017930a419d5ca8a6cffd -- 2.34.0 From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 31 17:22:25 2022 Received: (at 54659) by debbugs.gnu.org; 31 Mar 2022 21:22:25 +0000 Received: from localhost ([127.0.0.1]:40013 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1na2FM-0001zO-M9 for submit@debbugs.gnu.org; Thu, 31 Mar 2022 17:22:25 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40356) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1na2FL-0001z6-Cl for 54659@debbugs.gnu.org; Thu, 31 Mar 2022 17:22:23 -0400 Received: from [2001:470:142:3::e] (port=41448 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1na2FG-0006z5-4j; Thu, 31 Mar 2022 17:22:18 -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=5oVRwGy4dPOqU71qvqM4vT5EfNtvKIHqDJ/pV1qfQug=; b=mnY+hDX3BcaZDk LqmwkBO5kV/JRJa47/2ts231NATQQJgJa+dR5/96ZsBCywFQ5y/EgG4tPYoGPTffqdPzlqj2vXfsJ IRwZf7+74Glo3lC4AGlpAXGAOOFaFxDhFQalNldoved30TkdWmxYoOD/3grUHCrNevAJtG71s04rh JdIlfvvuRasPyrO1U26DxqAAjMw6KBOlXLG63Ztn9FccxNwhVsav8foM13YC6Yj3dFEU9xkGMbMPa V3Eqh4rrOkhqk85/faytIjdoq1S8h/Y6IF1/uai1SsI9gsyG4AJD8CxEqIgjT4E3iIMoEJCr+1hA3 DHpIfC7ZjipAIKNfOr/w==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:53161 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 1na2FF-0002H8-Jm; Thu, 31 Mar 2022 17:22:17 -0400 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= To: 54659@debbugs.gnu.org Subject: [PATCH 1/2] services: Add 'log-cleanup-service-type'. Date: Thu, 31 Mar 2022 23:22:07 +0200 Message-Id: <20220331212208.24385-1-ludo@gnu.org> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 54659 Cc: =?UTF-8?q?Ludovic=20Court=C3=A8s?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/services/admin.scm (): New record type. (log-cleanup-program, log-cleanup-mcron-jobs): New procedures. (log-cleanup-service-type): New variable. * doc/guix.texi (Log Rotation): Document it. --- doc/guix.texi | 28 ++++++++++++++++++++++ gnu/services/admin.scm | 53 +++++++++++++++++++++++++++++++++++++++++- 2 files changed, 80 insertions(+), 1 deletion(-) diff --git a/doc/guix.texi b/doc/guix.texi index e8ef4286be..ad2763ec8a 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -17641,6 +17641,34 @@ The list of syslog-controlled files to be rotated. By default it is: "/var/log/maillog")}. @end defvr +Some log files just need to be deleted periodically once they are old, +without any other criterion and without any archival step. This is the +case of build logs stored by @command{guix-daemon} under +@file{/var/log/guix/drvs} (@pxref{Invoking guix-daemon}). The +@code{log-cleanup} service addresses this use case. + +@defvr {Scheme Variable} log-cleanup-service-type +This is the type of the service to delete old logs. Its value must be a +@code{log-cleanup-configuration} record as described below. +@end defvr + +@deftp {Data Type} log-cleanup-configuration +Data type representing the log cleanup configuration + +@table @asis +@item @code{directory} +Name of the directory containing log files. + +@item @code{expiry} (default: @code{(* 6 30 24 3600)}) +Age in seconds after which a file is subject to deletion (six months by +default). + +@item @code{schedule} (default: @code{"30 12 01,08,15,22 * *"}) +String or gexp denoting the corresponding mcron job schedule +(@pxref{Scheduled Job Execution}). +@end table +@end deftp + @node Networking Setup @subsection Networking Setup diff --git a/gnu/services/admin.scm b/gnu/services/admin.scm index 043517262f..3096acdf5a 100644 --- a/gnu/services/admin.scm +++ b/gnu/services/admin.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2016 Jan Nieuwenhuizen -;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021 Ludovic Courtès +;;; Copyright © 2016-2022 Ludovic Courtès ;;; Copyright © 2020 Brice Waegeneire ;;; ;;; This file is part of GNU Guix. @@ -46,6 +46,13 @@ (define-module (gnu services admin) rottlog-service rottlog-service-type + log-cleanup-service-type + log-cleanup-configuration + log-cleanup-configuration? + log-cleanup-configuration-directory + log-cleanup-configuration-expiry + log-cleanup-configuration-schedule + unattended-upgrade-service-type unattended-upgrade-configuration unattended-upgrade-configuration? @@ -191,6 +198,50 @@ (define rottlog-service-type rotations))))) (default-value (rottlog-configuration)))) + +;;; +;;; Build log removal. +;;; + +(define-record-type* + log-cleanup-configuration make-log-cleanup-configuration + log-cleanup-configuration? + (directory log-cleanup-configuration-directory) ;string + (expiry log-cleanup-configuration-expiry ;integer (seconds) + (default (* 6 30 24 3600))) + (schedule log-cleanup-configuration-schedule ;string or gexp + (default "30 12 01,08,15,22 * *"))) + +(define (log-cleanup-program directory expiry) + (program-file "delete-old-logs" + (with-imported-modules '((guix build utils)) + #~(begin + (use-modules (guix build utils)) + + (let* ((now (car (gettimeofday))) + (logs (find-files #$directory + (lambda (file stat) + (> (- now (stat:mtime stat)) + #$expiry))))) + (format #t "deleting ~a log files from '~a'...~%" + (length logs) #$directory) + (for-each delete-file logs)))))) + +(define (log-cleanup-mcron-jobs configuration) + (match-record configuration + (directory expiry schedule) + (list #~(job #$schedule + #$(log-cleanup-program directory expiry))))) + +(define log-cleanup-service-type + (service-type + (name 'log-cleanup) + (extensions + (list (service-extension mcron-service-type + log-cleanup-mcron-jobs))) + (description + "Periodically delete old log files."))) + ;;; ;;; Unattended upgrade. -- 2.34.0 From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 31 17:22:29 2022 Received: (at 54659) by debbugs.gnu.org; 31 Mar 2022 21:22:29 +0000 Received: from localhost ([127.0.0.1]:40015 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1na2FR-0001zc-2L for submit@debbugs.gnu.org; Thu, 31 Mar 2022 17:22:29 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40364) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1na2FL-0001z7-P5 for 54659@debbugs.gnu.org; Thu, 31 Mar 2022 17:22:24 -0400 Received: from [2001:470:142:3::e] (port=41452 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1na2FG-0006zJ-IZ; Thu, 31 Mar 2022 17:22:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=pILZFN0Z6d8rWyfwohn3pJ3h5aD3YI68E943A5/nC2c=; b=VHqzK1aOQRH9IcNxoEYZ idalTVn2MYcIlomKlkliQrKVgIXlTDFX/Jsyt+Vrj5Y94AaVPxLoXOyD/d4OyQEdH04RK5134GMGD Fsb65wNt4orenvaXJUs4W6eoM1ps3q/GBB10lkjy8wOBLO06TPIk85MSQAi3nkQZjsXhM5IEI+UqM CsajA2gwALglkcJCUEA9hYcJ0Tp7jbQis307MvuZfUJ/EF0UZ3IcC3JW02OARfPYdb1yO+u8cGdLl JJkvcGNcEe8StGzZ4x6Ff1nyQ0fsdWfRWZcFWauNV/oFqrLtGFLlVNZxcO6YwuGt6UgoaUJbkeMSc KeM2UAVUFVk3Dg==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:53161 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 1na2FG-0002H8-6c; Thu, 31 Mar 2022 17:22:18 -0400 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= To: 54659@debbugs.gnu.org Subject: [PATCH 2/2] services: Add 'log-cleanup' service to '%base-services' for build logs. Date: Thu, 31 Mar 2022 23:22:08 +0200 Message-Id: <20220331212208.24385-2-ludo@gnu.org> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220331212208.24385-1-ludo@gnu.org> References: <20220331212208.24385-1-ludo@gnu.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 54659 Cc: =?UTF-8?q?Ludovic=20Court=C3=A8s?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/services/base.scm (%base-services): Add 'log-cleanup-service-type' instance. * doc/guix.texi (Log Rotation): Add example and mention '%base-services'. --- doc/guix.texi | 13 ++++++++++++- gnu/services/base.scm | 6 ++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/doc/guix.texi b/doc/guix.texi index ad2763ec8a..eaaf829aa2 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -17645,7 +17645,18 @@ Some log files just need to be deleted periodically once they are old, without any other criterion and without any archival step. This is the case of build logs stored by @command{guix-daemon} under @file{/var/log/guix/drvs} (@pxref{Invoking guix-daemon}). The -@code{log-cleanup} service addresses this use case. +@code{log-cleanup} service addresses this use case. For example, +@code{%base-services} (@pxref{Base Services}) includes the following: + +@lisp +;; Periodically delete build logs more than 4 months old. +(service log-cleanup-service-type + (log-cleanup-configuration + (directory "/var/log/guix/drvs") + (expiry (* 4 30 24 3600)))) +@end lisp + +That ensures build logs do not accumulate endlessly. @defvr {Scheme Variable} log-cleanup-service-type This is the type of the service to delete old logs. Its value must be a diff --git a/gnu/services/base.scm b/gnu/services/base.scm index f278cb76de..ebaba524bc 100644 --- a/gnu/services/base.scm +++ b/gnu/services/base.scm @@ -2817,6 +2817,12 @@ (define %base-services (service rottlog-service-type) + ;; Periodically delete build logs more than 4 months old. + (service log-cleanup-service-type + (log-cleanup-configuration + (directory "/var/log/guix/drvs") + (expiry (* 4 30 24 3600)))) + ;; The LVM2 rules are needed as soon as LVM2 or the device-mapper is ;; used, so enable them by default. The FUSE and ALSA rules are ;; less critical, but handy. -- 2.34.0 From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 01 02:05:37 2022 Received: (at 54659) by debbugs.gnu.org; 1 Apr 2022 06:05:37 +0000 Received: from localhost ([127.0.0.1]:40622 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1naAPh-0003KL-Es for submit@debbugs.gnu.org; Fri, 01 Apr 2022 02:05:37 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:29848) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1naAPf-0003KB-HY for 54659@debbugs.gnu.org; Fri, 01 Apr 2022 02:05:36 -0400 Received: from lprikler-laptop.ist.intra (gw.ist.tugraz.at [129.27.202.101]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4KV8mC6DmHz3xcV; Fri, 1 Apr 2022 08:05:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1648793132; bh=5dIQzNvDQthwzyTlnA9QkfX6+3s8o6Dq9b2pZFmhpac=; h=Subject:From:To:Date:In-Reply-To:References; b=KnWwWMh/4/cLBbwBNGH8vhfGiCjUQst5SKuZigzrU09YqnURjthayKAbxmS4KMCJh k2o4TchNNJ9EJKjfe2KskNGGgylN7nSN15rhwfHJiRvbngktJhtK2T+bT1Tbk3qi/P MJHSlOW7MjMpbbyLFmFTW0HuRdWNH9JPA7yvsRT8= Message-ID: <7073d9d64e8c68c943d4d2a03cb6fee2b6a0364e.camel@ist.tugraz.at> Subject: Re: [PATCH 2/2] services: Add 'log-cleanup' service to '%base-services' for build logs. From: Liliana Marie Prikler To: Ludovic =?ISO-8859-1?Q?Court=E8s?= , 54659@debbugs.gnu.org Date: Fri, 01 Apr 2022 08:05:30 +0200 In-Reply-To: <20220331212208.24385-2-ludo@gnu.org> References: <20220331212208.24385-1-ludo@gnu.org> <20220331212208.24385-2-ludo@gnu.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: waObeELIUl4ypBWmcn/8wQ X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 54659 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Am Donnerstag, dem 31.03.2022 um 23:22 +0200 schrieb Ludovic Courtès: > * gnu/services/base.scm (%base-services): Add 'log-cleanup-service- > type' > instance. > * doc/guix.texi (Log Rotation): Add example and mention '%base- > services'. > --- >  doc/guix.texi         | 13 ++++++++++++- >  gnu/services/base.scm |  6 ++++++ >  2 files changed, 18 insertions(+), 1 deletion(-) > > diff --git a/doc/guix.texi b/doc/guix.texi > index ad2763ec8a..eaaf829aa2 100644 > --- a/doc/guix.texi > +++ b/doc/guix.texi > @@ -17645,7 +17645,18 @@ Some log files just need to be deleted > periodically once they are old, >  without any other criterion and without any archival step.  This is > the >  case of build logs stored by @command{guix-daemon} under >  @file{/var/log/guix/drvs} (@pxref{Invoking guix-daemon}).  The > -@code{log-cleanup} service addresses this use case. > +@code{log-cleanup} service addresses this use case.  For example, > +@code{%base-services} (@pxref{Base Services}) includes the > following: > + > +@lisp > +;; Periodically delete build logs more than 4 months old. > +(service log-cleanup-service-type > +         (log-cleanup-configuration > +          (directory "/var/log/guix/drvs") > +          (expiry (* 4 30 24 3600)))) > +@end lisp > + > +That ensures build logs do not accumulate endlessly. >   >  @defvr {Scheme Variable} log-cleanup-service-type >  This is the type of the service to delete old logs.  Its value must > be a > diff --git a/gnu/services/base.scm b/gnu/services/base.scm > index f278cb76de..ebaba524bc 100644 > --- a/gnu/services/base.scm > +++ b/gnu/services/base.scm > @@ -2817,6 +2817,12 @@ (define %base-services >   >          (service rottlog-service-type) >   > +        ;; Periodically delete build logs more than 4 months old. > +        (service log-cleanup-service-type > +                 (log-cleanup-configuration > +                  (directory "/var/log/guix/drvs") > +                  (expiry (* 4 30 24 3600)))) > + This might be very nitpicky, but I think we should leave expiry undefined so that the default of 6 months is applied. This way, if there's a future decision that all logs should probably kept e.g. for only 3 months, there is just one place to edit rather than two. Cheers From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 01 11:41:55 2022 Received: (at 54659) by debbugs.gnu.org; 1 Apr 2022 15:41:55 +0000 Received: from localhost ([127.0.0.1]:43193 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1naJPP-0003sv-Bx for submit@debbugs.gnu.org; Fri, 01 Apr 2022 11:41:55 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39522) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1naJPN-0003si-Ac for 54659@debbugs.gnu.org; Fri, 01 Apr 2022 11:41:54 -0400 Received: from [2001:470:142:3::e] (port=55706 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1naJPG-0003pA-J5; Fri, 01 Apr 2022 11:41:46 -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=NTMK4aw5E3lmHbSqSosBRhLAOSXzeANLUqn3h8MVOk0=; b=PLHT8nh0EOx7aw/G8Fkt n1My6Cu8l0SHECGyicnfMkpcWpataGwAvBLLMh3AQypca8/qRnu0miOcqy/coLmMSS1G4ET+F4a2i YMHH5vkvW5R6dwdQs81fZww+OA+s9a3Iai6UtfzzO0oKbgDIiffRVU6iFvIhIQ/NDnO3BgD1ZSkH8 RV10HjPWXacMudwlX1X8LAgZIpkxPBf/3lTSAZWtSBYWZhFUW19Tm8wBbcpafb8Ge5FWerNCWACiU PJvUWli9jsEVPBBrZ2zzzbKrFOFPZWb9HK7SMERZYM/Q2ANwib/zKZFt1dGzke1vBnuCGnUDxmbYb NO0NuI+wU75S+w==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=38744 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1naJPG-0004q9-3W; Fri, 01 Apr 2022 11:41:46 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Liliana Marie Prikler Subject: Re: [PATCH 2/2] services: Add 'log-cleanup' service to '%base-services' for build logs. References: <20220331212208.24385-1-ludo@gnu.org> <20220331212208.24385-2-ludo@gnu.org> <7073d9d64e8c68c943d4d2a03cb6fee2b6a0364e.camel@ist.tugraz.at> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 12 Germinal an 230 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 01 Apr 2022 17:41:39 +0200 In-Reply-To: <7073d9d64e8c68c943d4d2a03cb6fee2b6a0364e.camel@ist.tugraz.at> (Liliana Marie Prikler's message of "Fri, 01 Apr 2022 08:05:30 +0200") Message-ID: <87y20on74c.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 54659 Cc: 54659@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) SGkhDQoNCkxpbGlhbmEgTWFyaWUgUHJpa2xlciA8bGlsaWFuYS5wcmlrbGVyQGlzdC50dWdyYXou YXQ+IHNrcmliaXM6DQoNCj4+ICvCoMKgwqDCoMKgwqDCoCA7OyBQZXJpb2RpY2FsbHkgZGVsZXRl IGJ1aWxkIGxvZ3MgbW9yZSB0aGFuIDQgbW9udGhzIG9sZC4NCj4+ICvCoMKgwqDCoMKgwqDCoCAo c2VydmljZSBsb2ctY2xlYW51cC1zZXJ2aWNlLXR5cGUNCj4+ICvCoMKgwqDCoMKgwqDCoMKgwqDC oMKgwqDCoMKgwqDCoCAobG9nLWNsZWFudXAtY29uZmlndXJhdGlvbg0KPj4gK8KgwqDCoMKgwqDC oMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgKGRpcmVjdG9yeSAiL3Zhci9sb2cvZ3VpeC9kcnZzIikN Cj4+ICvCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIChleHBpcnkgKCogNCAzMCAy NCAzNjAwKSkpKQ0KPj4gKw0KPiBUaGlzIG1pZ2h0IGJlIHZlcnkgbml0cGlja3ksIGJ1dCBJIHRo aW5rIHdlIHNob3VsZCBsZWF2ZSBleHBpcnkNCj4gdW5kZWZpbmVkIHNvIHRoYXQgdGhlIGRlZmF1 bHQgb2YgNiBtb250aHMgaXMgYXBwbGllZC4gIFRoaXMgd2F5LCBpZg0KPiB0aGVyZSdzIGEgZnV0 dXJlIGRlY2lzaW9uIHRoYXQgYWxsIGxvZ3Mgc2hvdWxkIHByb2JhYmx5IGtlcHQgZS5nLiBmb3IN Cj4gb25seSAzIG1vbnRocywgdGhlcmUgaXMganVzdCBvbmUgcGxhY2UgdG8gZWRpdCByYXRoZXIg dGhhbiB0d28uDQoNClllYWgsIGR1bm5vOyBJIHRob3VnaHQgd2XigJlkIHJhdGhlciBiZSBleHBs aWNpdCwgYnV0IG1heWJlIHlvdeKAmXJlIHJpZ2h0Lg0KDQpMdWRv4oCZLg0K From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 04 17:17:14 2022 Received: (at 54659-done) by debbugs.gnu.org; 4 Apr 2022 21:17:14 +0000 Received: from localhost ([127.0.0.1]:53208 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nbU4Y-0003zp-98 for submit@debbugs.gnu.org; Mon, 04 Apr 2022 17:17:14 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34212) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nbU4W-0003zR-O4 for 54659-done@debbugs.gnu.org; Mon, 04 Apr 2022 17:17:13 -0400 Received: from [2001:470:142:3::e] (port=43064 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nbU4Q-0001hn-EV; Mon, 04 Apr 2022 17:17:06 -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=AOHmeAyrdpY3Qk0XeBEsVWgVTN3i8zXZm4TLTlJwZGw=; b=MnQ3i/dRwe8vF7dWgrSO 4hEpXoT1Sek3vZxPmTCL/EKvhqZeI/jRArnqbXKsIwqlHoE92D4Nw62iACljSyh1tuMpVKuJJggc5 hSKJverUtb/VBrDLKbxHTJK1GfPQ14NaD3n/d3XpigtWWINz+LzOW87Bt/XDXyxS/F4ultS1Nhzyg A7sRF5DaHcuXmdBBOh38tf6shhJ4Zm5FmkMKka7LBrEitW/Lk/b/OlR1mszM+9I6/zhx0ksBQ3OM3 vNrdw9v5+YV/XQKpAWmb11KCdRK08k6zy1XHVTsrJrpck2y8NxGSJK8vQU6FhFnjixcfNQvMDECmg 0KOIJngzAKObrA==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:53074 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nbU4Q-0007Ip-2j; Mon, 04 Apr 2022 17:17:06 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Liliana Marie Prikler Subject: Re: bug#54659: [PATCH 0/2] Periodically delete build logs References: <20220331212208.24385-1-ludo@gnu.org> <20220331212208.24385-2-ludo@gnu.org> <7073d9d64e8c68c943d4d2a03cb6fee2b6a0364e.camel@ist.tugraz.at> Date: Mon, 04 Apr 2022 23:17:04 +0200 In-Reply-To: <7073d9d64e8c68c943d4d2a03cb6fee2b6a0364e.camel@ist.tugraz.at> (Liliana Marie Prikler's message of "Fri, 01 Apr 2022 08:05:30 +0200") Message-ID: <87v8vor1kf.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 54659-done Cc: 54659-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Liliana Marie Prikler skribis: > This might be very nitpicky, but I think we should leave expiry > undefined so that the default of 6 months is applied. This way, if > there's a future decision that all logs should probably kept e.g. for > only 3 months, there is just one place to edit rather than two. In the end I followed your suggestion and pushed as e692dc632cbb0e6d21ed6f09f4c7f52391802cfb. Thanks! Ludo=E2=80=99. From unknown Sat Jun 21 10:30:34 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 03 May 2022 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator