From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id cKJiErtP6GZ/5AAAqHPOHw:P1 (envelope-from ) for ; Mon, 16 Sep 2024 15:33:15 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id cKJiErtP6GZ/5AAAqHPOHw (envelope-from ) for ; Mon, 16 Sep 2024 17:33:15 +0200 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=Im6ldT1e; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=kJ4eeCaq; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-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=1726500795; 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=52foMdAgTD1iX+/Ldf6F1fro1T/GzVKQgg4vY2Nsouk=; b=ugNPka8BboksluJSadFAgjAruktj23cWla5s5n4m1zCvNhihRORTTYmDBZ9kv0DOlNv/iC CDZTyvacWoycS/JhUZS+fA6kWeXKp4c3TmaONnzZPHN+TZ/lSzrt6cp66uBbt6c1TseLT0 JrXpQUsO4L/PZemj1d3vpP18bfvgOhZreW//dycYfx+Wr4WFV0+3HUeISQdrLcItZ8OChx B9vPMEasUte6hfH50dhG8BIBuN+eBH8rXv8QiqL7vcAbdQvnyumdNHjpSK/ugAN8FPcvWw x23RMu/KjmpMLrPJMs5ezxjhOgioFZ7Eki6TOiJ66L1K/fIXyjywi9dzHyGAKw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Im6ldT1e; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=kJ4eeCaq; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1726500795; a=rsa-sha256; cv=none; b=tqBzvcKLUdsvz8c/hq5NrkvLSjSXI/MYZPgHAXH927udnVr8PeJJmrO0UaAefNsUmEaGfH Fn8Xbz1EA4eGoBK+GLGmKf77HMIWwls9suM98D34kyNZ9XBcK24Rjb78Qj3JHpiOkUwsDd q6UcBOTwcL+YSXwpVLm997Ul1+39WK9MwWOWztZWSVFWl6gMj8TJVMPvu7386FZQHGj1jX VFHJFxlAec2408I/6zWTX4sdD8c0sBgKuaMKng2ulDc+r4Rc+tgfDzb7aW+oNqTF/lI0Eg ecWStqEPJxjZ2jheAUb1G00lfa4n5bIb7ntIPtPE22th0AyLQHoZSOmMpucYLQ== 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 BBE1986E14 for ; Mon, 16 Sep 2024 17:33:14 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sqDie-0006qq-Sw; Mon, 16 Sep 2024 11:32:52 -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 1sqDic-0006qF-Sg for bug-guix@gnu.org; Mon, 16 Sep 2024 11:32:50 -0400 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 1sqDia-000705-HZ for bug-guix@gnu.org; Mon, 16 Sep 2024 11:32:50 -0400 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:References:In-Reply-To:From:To:Subject; bh=52foMdAgTD1iX+/Ldf6F1fro1T/GzVKQgg4vY2Nsouk=; b=Im6ldT1eHLY/mYcPkHepdzIs4HUBqZjIlClC02QiZMNJtRigrqJgGXZTdRTAyCK00Rgnao3tjy08RpDNXLJ2gh0faI7RXXPDfvMM+uBlvolozDt1sQ+Bqii8BKwmt3t0Zv9J2XcDZj0r33y4PQKev2qPUSLqzxylMfxqlpNjVnEMWsjp+tK+yi5T8A2AV92lRiCqsrWHVp7qzB3UxZMtJSKU8gQLbQVxamH8B3j1z717UcK/BpxQt0sukrbgF5VFZ0ue5RFy9wmTlRm2LTdTGUwEsF2ZrAIJo94lrLrxDAGqnbxSmTRgPSwNj0XTm7T3o1DCMTMoKEF9GjS9sTCCyg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sqDin-00070H-T8 for bug-guix@gnu.org; Mon, 16 Sep 2024 11:33:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#72527: Rottlog never exits cleanly Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 16 Sep 2024 15:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72527 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Simon Streit Cc: 72527@debbugs.gnu.org Received: via spool by 72527-submit@debbugs.gnu.org id=B72527.172650072626825 (code B ref 72527); Mon, 16 Sep 2024 15:33:01 +0000 Received: (at 72527) by debbugs.gnu.org; 16 Sep 2024 15:32:06 +0000 Received: from localhost ([127.0.0.1]:53081 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sqDhu-0006ya-0U for submit@debbugs.gnu.org; Mon, 16 Sep 2024 11:32:06 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43290) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sqDhs-0006xw-BF for 72527@debbugs.gnu.org; Mon, 16 Sep 2024 11:32:04 -0400 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 1sqDfT-0006bB-OJ; Mon, 16 Sep 2024 11:29:35 -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:References:In-Reply-To:Subject:To: From; bh=52foMdAgTD1iX+/Ldf6F1fro1T/GzVKQgg4vY2Nsouk=; b=kJ4eeCaq5TlSyx5lNB6i rlC9tmn3HFZaFRaTICx6IwnsmwprWndfdyDPUmyDSmdOWK7wHrM/1yydz8Y6slrzk6Sk6S6f9WBvs 4g/viJ1JhYjK7vFxar1HyCnZVDE9ZXoJ6TyVaHZByUcdForbwFt8LDlORpdrWJ8ZbMFeKc6xwY93o MfUwEoLYLqeg5Z2nLlugTUxipdZT3jM5hJlH/867NTuWUPcGdMMXaXCPf8uXkHRtqMme2uVA28zjC D6tIZLjmbCzzQdfeXfBe/u2qSkizRDNwcbFbZ/L8JnFvL31VPYOiiUqjDjzCMMYdbJdQDmdCaaxqK VqVPvY1r02pAcA==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: (Simon Streit's message of "Thu, 08 Aug 2024 17:02:16 +0200") References: Date: Mon, 16 Sep 2024 17:29:32 +0200 Message-ID: <87bk0nehwj.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: BBE1986E14 X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: -9.10 X-Migadu-Spam-Score: -9.10 X-TUID: P1/S/8JaDA0n Hi Simon, Simon Streit skribis: > On inspection of the default settings for Rot[t]logs service, and > reading through /var/log/mcron.log, rottlog always exits with the > following error: > > 2024-08-07 12:00:00 3408 /gnu/store/scligrs2fwpsy6jvffraa274k7ipbg81-rott= log-0.72.2/sbin/rottlog: running... > 2024-08-07 12:00:01 3408 /gnu/store/scligrs2fwpsy6jvffraa274k7ipbg81-rott= log-0.72.2/sbin/rottlog: failed after 0.199s with: (misc-error #f unclean e= xit status ~S (1) #f) > > > Checking directly: > > root@host ~# /gnu/store/scligrs2fwpsy6jvffraa274k7ipbg81-rottlog-0.72.2/s= bin/rottlog -v > read_custom: Config file 'custom' does not exist > read_daily: Config file 'daily' does not exist > check_last_rotate: Checking for week(ly) config file > check_last_rotate: Old date : 1722810339 > check_last_rotate: New date : 1723125091 > check_last_rotate: Next date : Thu 15 Aug 16:51:31 CEST 2024 > check_last_rotate: Rotation not needed: 314752 < 604800 > read_monthly: Config file 'monthly' does not exist > root@host ~# echo $? > 1 FWIW I would recommend not investing too much time in Rottlog: well hopefully be able to migrate to the Shepherds log rotation service in the coming months. https://lists.gnu.org/archive/html/guix-devel/2024-05/msg00159.html Ludo=E2=80=99.