Your message dated Tue, 25 Oct 2005 15:23:06 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Closing bugs
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 30 Aug 2005 14:29:20 +0000
>From [EMAIL PROTECTED] Tue Aug 30 07:29:20 2005
Return-path: <[EMAIL PROTECTED]>
Received: from amsfep15-int.chello.nl [213.46.243.27]
by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
id 1EA771-0000yV-00; Tue, 30 Aug 2005 07:29:19 -0700
Received: from zoot.hiccup.nl ([62.195.27.249]) by amsfep16-int.chello.nl
(InterMail vM.6.01.04.04 201-2131-118-104-20050224) with ESMTP
id <[EMAIL PROTECTED]>;
Tue, 30 Aug 2005 15:39:14 +0200
Received: from sneeze.hiccup.nl (unknown [192.168.1.3])
by zoot.hiccup.nl (Postfix) with ESMTP id 7FD416D8A;
Tue, 30 Aug 2005 15:39:13 +0200 (CEST)
Received: by sneeze.hiccup.nl (Postfix, from userid 1000)
id 26DA798B; Tue, 30 Aug 2005 15:39:12 +0200 (CEST)
Content-Type: multipart/mixed; boundary="===============0081476563=="
MIME-Version: 1.0
From: Bart Cortooms <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: aide: cronjob leaves behind temporary files in quiet mode
X-Mailer: reportbug 3.17
Date: Tue, 30 Aug 2005 15:39:12 +0200
Message-Id: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2005_01_02
This is a multi-part MIME message sent by reportbug.
--===============0081476563==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Package: aide
Severity: minor
Tags: patch
At every run of /etc/cron.daily/aide, a temporary file in /tmp gets
left behind when AIDE is set to run in quiet mode. This results in
lots of /tmp/error* files after a while.
$ ls /tmp/error* | wc -l
35
The cause is an 'exit 0' statement in the cronjob, which gets
executed before the cleanup of the temporary file when quiet mode
is enabled.
Here's a small patch which removes the temporary file for two
additional exit paths in the cronjob.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12.5
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
--===============0081476563==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="aide-tmp-cleanup.patch"
--- debian/aide.cron.old 2005-08-30 15:23:15.000000000 +0200
+++ debian/aide.cron 2005-08-30 15:23:48.000000000 +0200
@@ -31,6 +31,7 @@
echo "Fatal error: The AIDE database does not exist!"
echo "This may mean you haven't created it, or it may mean that someone
has removed it."
) | /usr/bin/mail -s "Daily AIDE report for $FQDN" $MAILTO
+ rm -f "$ERRORTMP"
exit 0
fi
@@ -42,6 +43,7 @@
if [ -n "$QUIETREPORTS" ] && [ $QUIETREPORTS -a \! -s $LOGDIR/$LOGFILE -a \!
-s $ERRORTMP ]; then
# Bail now because there was no output and QUIETREPORTS is set
+ rm -f "$ERRORTMP"
exit 0
fi
--===============0081476563==--
---------------------------------------
Received: (at 325731-done) by bugs.debian.org; 25 Oct 2005 13:23:08 +0000
>From [EMAIL PROTECTED] Tue Oct 25 06:23:08 2005
Return-path: <[EMAIL PROTECTED]>
Received: from 5301d.unt0.torres.l21.ma.zugschlus.de (torres.zugschlus.de)
[217.151.83.1] (Debian-exim)
by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
id 1EUOlf-0003hg-00; Tue, 25 Oct 2005 06:23:08 -0700
Received: from mh by torres.zugschlus.de with local (Exim 4.54)
id 1EUOle-0007RP-7c; Tue, 25 Oct 2005 15:23:06 +0200
Date: Tue, 25 Oct 2005 15:23:06 +0200
From: Marc Haber <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED], [EMAIL PROTECTED],
[EMAIL PROTECTED], [EMAIL PROTECTED],
[EMAIL PROTECTED], [EMAIL PROTECTED],
[EMAIL PROTECTED]
Subject: Closing bugs
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[EMAIL PROTECTED]>
User-Agent: Mutt/1.5.9i
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-2.0 required=4.0 tests=BAYES_00,SORTED_RECIPS
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 4
Version: 0.10.99.20051025-1
The bugs mentioned in the To: line have been fixed in experimental
with upload of Version 0.10.99.20051025-1 and are thus version tracked
as closed.
Greetings
Marc
--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]