From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 28 09:50:57 2018 Received: (at submit) by debbugs.gnu.org; 28 Feb 2018 14:50:57 +0000 Received: from localhost ([127.0.0.1]:36635 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1er34L-0008Cp-LU for submit@debbugs.gnu.org; Wed, 28 Feb 2018 09:50:57 -0500 Received: from eggs.gnu.org ([208.118.235.92]:48814) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1er34J-0008Cc-IR for submit@debbugs.gnu.org; Wed, 28 Feb 2018 09:50:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1er34D-0005HA-EP for submit@debbugs.gnu.org; Wed, 28 Feb 2018 09:50:50 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:47838) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1er34D-0005Gr-B5 for submit@debbugs.gnu.org; Wed, 28 Feb 2018 09:50:49 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39768) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1er34C-0002zy-99 for bug-guix@gnu.org; Wed, 28 Feb 2018 09:50:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1er347-000567-Cw for bug-guix@gnu.org; Wed, 28 Feb 2018 09:50:48 -0500 Received: from hera.aquilenet.fr ([2a0c:e300::1]:38506) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1er347-00053g-4v for bug-guix@gnu.org; Wed, 28 Feb 2018 09:50:43 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 24A0110157; Wed, 28 Feb 2018 15:50:41 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CxUIHTKnZzSV; Wed, 28 Feb 2018 15:50:40 +0100 (CET) Received: from jurong (unknown [193.50.111.82]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 8246ECA23; Wed, 28 Feb 2018 15:50:40 +0100 (CET) Date: Wed, 28 Feb 2018 15:50:39 +0100 From: Andreas Enge To: bug-guix@gnu.org Subject: Cuirass service does not rotate its logs Message-ID: <20180228145039.GA4589@jurong> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.9.3 (2018-01-21) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit 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: -5.0 (-----) Hello, while testing the cuirass service on bayfront, I see the following: $ ll /var/log/c* -rw-r--r-- 1 root root 2003521 Feb 28 15:38 /var/log/cuirass.log I am sure this 2MB file was about 14MB big this morning, and indeed any information dating from before this morning, when I rebooted the machine and thus restarted the service, has gone. Notice also that there are no numbered files cuirass.log.1 etc.. Andreas From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 28 10:48:21 2018 Received: (at 30649) by debbugs.gnu.org; 28 Feb 2018 15:48:21 +0000 Received: from localhost ([127.0.0.1]:37674 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1er3xt-0001Mm-8m for submit@debbugs.gnu.org; Wed, 28 Feb 2018 10:48:21 -0500 Received: from dd26836.kasserver.com ([85.13.145.193]:37656) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1er3xr-0001Md-FE for 30649@debbugs.gnu.org; Wed, 28 Feb 2018 10:48:20 -0500 Received: from localhost (178.113.190.242.wireless.dyn.drei.com [178.113.190.242]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 8F3DA33603C4; Wed, 28 Feb 2018 16:48:17 +0100 (CET) Date: Wed, 28 Feb 2018 17:48:23 +0100 From: Danny Milosavljevic To: Andreas Enge Subject: Re: bug#30649: Cuirass service does not rotate its logs Message-ID: <20180228174823.5fec105f@scratchpost.org> In-Reply-To: <20180228145039.GA4589@jurong> References: <20180228145039.GA4589@jurong> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 30649 Cc: 30649@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: -0.7 (/) Hi Andreas, On Wed, 28 Feb 2018 15:50:39 +0100 Andreas Enge wrote: > $ ll /var/log/c* > -rw-r--r-- 1 root root 2003521 Feb 28 15:38 /var/log/cuirass.log > > I am sure this 2MB file was about 14MB big this morning, and indeed > any information dating from before this morning, when I rebooted the > machine and thus restarted the service, has gone. > > Notice also that there are no numbered files cuirass.log.1 etc.. The simplest and best way to fix that is to make cuirass use syslog. Not every program has to have its own private logging implementation, log rotator, log filterting, log rate limiter, kitchen sink etc. src/cuirass/logging.scm is prepared somewhat for this possiblity[2], but it doesn't yet log to syslog. There are guile syslog bindings[1] and we should use them and then apply a two-line patch to src/cuirass/logging.scm . [1] http://puszcza.gnu.org.ua/software/gamma/manual/html_section/Syslog.html [2] Replace current-logging-procedure From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 01 11:35:14 2018 Received: (at 30649) by debbugs.gnu.org; 1 Mar 2018 16:35:14 +0000 Received: from localhost ([127.0.0.1]:39528 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1erRAn-0005yi-R0 for submit@debbugs.gnu.org; Thu, 01 Mar 2018 11:35:14 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:39386) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1erRAl-0005yZ-IT for 30649@debbugs.gnu.org; Thu, 01 Mar 2018 11:35:12 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id E30421060E; Thu, 1 Mar 2018 17:35:10 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dMUQbN559_AO; Thu, 1 Mar 2018 17:35:10 +0100 (CET) Received: from ribbon (unknown [193.50.110.134]) by hera.aquilenet.fr (Postfix) with ESMTPSA id E6D3AFB15; Thu, 1 Mar 2018 17:35:09 +0100 (CET) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Danny Milosavljevic Subject: Re: bug#30649: Cuirass service does not rotate its logs References: <20180228145039.GA4589@jurong> <20180228174823.5fec105f@scratchpost.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 11 =?utf-8?Q?Vent=C3=B4se?= an 226 de la =?utf-8?Q?R?= =?utf-8?Q?=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: Thu, 01 Mar 2018 17:35:09 +0100 In-Reply-To: <20180228174823.5fec105f@scratchpost.org> (Danny Milosavljevic's message of "Wed, 28 Feb 2018 17:48:23 +0100") Message-ID: <87371j69fm.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 30649 Cc: Andreas Enge , 30649@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: 1.0 (+) Danny Milosavljevic skribis: > Hi Andreas, > > On Wed, 28 Feb 2018 15:50:39 +0100 > Andreas Enge wrote: > >> $ ll /var/log/c* >> -rw-r--r-- 1 root root 2003521 Feb 28 15:38 /var/log/cuirass.log >>=20 >> I am sure this 2MB file was about 14MB big this morning, and indeed >> any information dating from before this morning, when I rebooted the >> machine and thus restarted the service, has gone. >>=20 >> Notice also that there are no numbered files cuirass.log.1 etc.. > > The simplest and best way to fix that is to make cuirass use syslog. > > Not every program has to have its own private logging implementation, > log rotator, log filterting, log rate limiter, kitchen sink etc. > > src/cuirass/logging.scm is prepared somewhat for this possiblity[2], but = it > doesn't yet log to syslog. > > There are guile syslog bindings[1] and we should use them and then apply a > two-line patch to src/cuirass/logging.scm . Indeed. I wonder why we don=E2=80=99t have a Gamma package yet! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 01 11:35:58 2018 Received: (at 30649) by debbugs.gnu.org; 1 Mar 2018 16:35:58 +0000 Received: from localhost ([127.0.0.1]:39531 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1erRBW-0005zj-Aj for submit@debbugs.gnu.org; Thu, 01 Mar 2018 11:35:58 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:39398) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1erRBU-0005za-3R for 30649@debbugs.gnu.org; Thu, 01 Mar 2018 11:35:56 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 997B51060E; Thu, 1 Mar 2018 17:35:55 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cg_xRtVGotf8; Thu, 1 Mar 2018 17:35:54 +0100 (CET) Received: from ribbon (unknown [193.50.110.134]) by hera.aquilenet.fr (Postfix) with ESMTPSA id C57D5FB15; Thu, 1 Mar 2018 17:35:54 +0100 (CET) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Andreas Enge Subject: Re: bug#30649: Cuirass service does not rotate its logs References: <20180228145039.GA4589@jurong> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 11 =?utf-8?Q?Vent=C3=B4se?= an 226 de la =?utf-8?Q?R?= =?utf-8?Q?=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: Thu, 01 Mar 2018 17:35:54 +0100 In-Reply-To: <20180228145039.GA4589@jurong> (Andreas Enge's message of "Wed, 28 Feb 2018 15:50:39 +0100") Message-ID: <87y3jb4utx.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 30649 Cc: 30649@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: 1.0 (+) Andreas Enge skribis: > while testing the cuirass service on bayfront, I see the following: > > $ ll /var/log/c* > -rw-r--r-- 1 root root 2003521 Feb 28 15:38 /var/log/cuirass.log The cuirass service in GuixSD explicitly extends rottlog so that this file is rotated on a weekly basis. Perhaps you just need to wait a little longer? Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 01 11:36:48 2018 Received: (at 30649) by debbugs.gnu.org; 1 Mar 2018 16:36:48 +0000 Received: from localhost ([127.0.0.1]:39536 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1erRCK-00061G-K5 for submit@debbugs.gnu.org; Thu, 01 Mar 2018 11:36:48 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:39410) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1erRCI-000618-Ka for 30649@debbugs.gnu.org; Thu, 01 Mar 2018 11:36:46 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 27D1F117A5; Thu, 1 Mar 2018 17:36:46 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KpR9kcU8Fy4x; Thu, 1 Mar 2018 17:36:45 +0100 (CET) Received: from ribbon (unknown [193.50.110.134]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 6975B11631; Thu, 1 Mar 2018 17:36:45 +0100 (CET) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Andreas Enge Subject: Re: bug#30649: Cuirass service does not rotate its logs References: <20180228145039.GA4589@jurong> <87y3jb4utx.fsf@gnu.org> Date: Thu, 01 Mar 2018 17:36:45 +0100 In-Reply-To: <87y3jb4utx.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Thu, 01 Mar 2018 17:35:54 +0100") Message-ID: <87tvtz4usi.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 30649 Cc: 30649@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: 1.0 (+) ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > Andreas Enge skribis: > >> while testing the cuirass service on bayfront, I see the following: >> >> $ ll /var/log/c* >> -rw-r--r-- 1 root root 2003521 Feb 28 15:38 /var/log/cuirass.log > > The cuirass service in GuixSD explicitly extends rottlog so that this > file is rotated on a weekly basis. Perhaps you just need to wait a > little longer? I confirm that rotation works as expected on berlin. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 01 11:43:15 2018 Received: (at 30649) by debbugs.gnu.org; 1 Mar 2018 16:43:15 +0000 Received: from localhost ([127.0.0.1]:39549 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1erRIY-0006BC-Vh for submit@debbugs.gnu.org; Thu, 01 Mar 2018 11:43:15 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:39430) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1erRIX-0006B5-Sy for 30649@debbugs.gnu.org; Thu, 01 Mar 2018 11:43:14 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 3EBE2117A5; Thu, 1 Mar 2018 17:43:13 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MKP1RuZL47J5; Thu, 1 Mar 2018 17:43:12 +0100 (CET) Received: from jurong (nat-eduroam-36-gw-01-bso.bordeaux.inria.fr [194.199.1.36]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 99C0611631; Thu, 1 Mar 2018 17:43:12 +0100 (CET) Date: Thu, 1 Mar 2018 17:43:10 +0100 From: Andreas Enge To: Ludovic =?iso-8859-15?Q?Court=E8s?= Subject: Re: bug#30649: Cuirass service does not rotate its logs Message-ID: <20180301164310.GA13951@jurong> References: <20180228145039.GA4589@jurong> <87y3jb4utx.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87y3jb4utx.fsf@gnu.org> User-Agent: Mutt/1.9.3 (2018-01-21) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 30649 Cc: 30649@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: -0.0 (/) On Thu, Mar 01, 2018 at 05:35:54PM +0100, Ludovic Courtès wrote: > The cuirass service in GuixSD explicitly extends rottlog so that this > file is rotated on a weekly basis. Perhaps you just need to wait a > little longer? The problem is not that the file grows too large. The problem was that after rebooting the server, the file was *replaced* with newly written content. Maybe the problem is not rotation, but opening a file in "write" instead of "append" mode... Andreas From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 01 16:39:36 2018 Received: (at control) by debbugs.gnu.org; 1 Mar 2018 21:39:36 +0000 Received: from localhost ([127.0.0.1]:39812 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1erVvM-0006jb-0O for submit@debbugs.gnu.org; Thu, 01 Mar 2018 16:39:36 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:41492) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1erVvK-0006jU-Ei for control@debbugs.gnu.org; Thu, 01 Mar 2018 16:39:34 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id D9BB41179E for ; Thu, 1 Mar 2018 22:39:33 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FenTAM4Z8sJJ for ; Thu, 1 Mar 2018 22:39:33 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 175521010C for ; Thu, 1 Mar 2018 22:39:32 +0100 (CET) Date: Thu, 01 Mar 2018 22:39:31 +0100 Message-Id: <874llz4grw.fsf@gnu.org> To: control@debbugs.gnu.org From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: control message for bug #30649 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: control 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: 1.0 (+) retitle 30649 shepherd services with #:log-file overwrite their log file From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 02 08:00:21 2018 Received: (at 30649-done) by debbugs.gnu.org; 2 Mar 2018 13:00:21 +0000 Received: from localhost ([127.0.0.1]:40222 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1erkIP-0006RN-2H for submit@debbugs.gnu.org; Fri, 02 Mar 2018 08:00:21 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:45492) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1erkIN-0006Pj-R7 for 30649-done@debbugs.gnu.org; Fri, 02 Mar 2018 08:00:20 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 402DB11B38; Fri, 2 Mar 2018 14:00:19 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VTUnEne4vSv6; Fri, 2 Mar 2018 14:00:18 +0100 (CET) Received: from ribbon (unknown [193.50.110.134]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 016D52AA; Fri, 2 Mar 2018 14:00:17 +0100 (CET) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Andreas Enge Subject: Re: bug#30649: Cuirass service does not rotate its logs Date: Fri, 02 Mar 2018 00:47:55 +0100 References: <20180228145039.GA4589@jurong> <87y3jb4utx.fsf@gnu.org> <20180301164310.GA13951@jurong> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 11 =?utf-8?Q?Vent=C3=B4se?= an 226 de la =?utf-8?Q?R?= =?utf-8?Q?=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 Message-ID: <87606ehbtq.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Andreas Enge skribis: > On Thu, Mar 01, 2018 at 05:35:54PM +0100, Ludovic Courtès wrote: >> The cuirass service in GuixSD explicitly extends rottlog so that this >> file is rotated on a weekly basis. Perhaps you just need to wait a >> little longer? > > The problem is not that the file grows too large. > > The problem was that after rebooting the server, the file was *replaced* > with newly written content. Maybe the problem is not rotation, but opening > a file in "write" instead of "append" mode... [...] Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.8 DATE_IN_PAST_12_24 Date: is 12 to 24 hours before Received: date X-Debbugs-Envelope-To: 30649-done Cc: 30649-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: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Andreas Enge skribis: > On Thu, Mar 01, 2018 at 05:35:54PM +0100, Ludovic Courtès wrote: >> The cuirass service in GuixSD explicitly extends rottlog so that this >> file is rotated on a weekly basis. Perhaps you just need to wait a >> little longer? > > The problem is not that the file grows too large. > > The problem was that after rebooting the server, the file was *replaced* > with newly written content. Maybe the problem is not rotation, but opening > a file in "write" instead of "append" mode... [...] Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.8 DATE_IN_PAST_12_24 Date: is 12 to 24 hours before Received: date Andreas Enge skribis: > On Thu, Mar 01, 2018 at 05:35:54PM +0100, Ludovic Court=C3=A8s wrote: >> The cuirass service in GuixSD explicitly extends rottlog so that this >> file is rotated on a weekly basis. Perhaps you just need to wait a >> little longer? > > The problem is not that the file grows too large. > > The problem was that after rebooting the server, the file was *replaced* > with newly written content. Maybe the problem is not rotation, but opening > a file in "write" instead of "append" mode... Oh indeed, that=E2=80=99s a different thing. This is fixed by Shepherd commit 7b4c88bac70f0bad82ef70fd5b682a49bc227478, thanks! Ludo=E2=80=99. From unknown Sat Jun 21 10:39:15 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 31 Mar 2018 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