Grahame white
2005-Jun-07 23:13 UTC
[Logcheck-devel] Bug#312412: logcheck: Fails to read files under /var/log/mail/
Package: logcheck Severity: normal Since upgrading from woody to sarge I've been getting the following apperaring in the reports sent by logcheck: E: File could not be read: /var/log/mail/mail.err E: File could not be read: /var/log/mail/mail.warn E: File could not be read: /var/log/mail/mail.info E: File could not be read: /var/log/mail/mail.log The permissions for these files are: -rw-r----- 1 root adm 2748 Jun 7 18:28 mail.err -rw-r----- 1 root adm 1983524 Jun 8 00:07 mail.info -rw-r----- 1 root adm 2268687 Jun 8 00:07 mail.log -rw-r----- 1 root adm 2748 Jun 7 18:28 mail.warn and the user logcheck is a member of the adm group. -- System Information: Debian Release: 3.1 Architecture: i386 (i686) Kernel: Linux 2.4.27 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
maximilian attems
2005-Jun-08 12:11 UTC
Bug#312412: [Logcheck-devel] Bug#312412: logcheck: Fails to read files under /var/log/mail/
On Wed, 08 Jun 2005, Grahame white wrote:> Since upgrading from woody to sarge I've been getting the following apperaring > in the reports sent by logcheck: > > E: File could not be read: /var/log/mail/mail.err > E: File could not be read: /var/log/mail/mail.warn > E: File could not be read: /var/log/mail/mail.info > E: File could not be read: /var/log/mail/mail.log > > The permissions for these files are: > > -rw-r----- 1 root adm 2748 Jun 7 18:28 mail.err > -rw-r----- 1 root adm 1983524 Jun 8 00:07 mail.info > -rw-r----- 1 root adm 2268687 Jun 8 00:07 mail.log > -rw-r----- 1 root adm 2748 Jun 7 18:28 mail.warn > > and the user logcheck is a member of the adm group.what version of logtail do you have installed? dpkg -l logtail could you please send us the debug output of logcheck: logcheck -d -o thanks for your feedback. -- maks
Grahame White
2005-Jun-22 05:20 UTC
Bug#312412: [Logcheck-devel] Bug#312412: logcheck: Fails to read files under /var/log/mail/
On Tuesday 21 June 2005 23:14, maximilian attems wrote:> thanks for your provided feedback. > saw no direct hint in the debug info there. > > but i had another idea of what could go wrong. > could you please send the output of belows command as root > # ls -l /var/lib/logcheck >Sure. # ls -l /var/lib/logcheck/ total 14 drwx------ 4 logcheck logcheck 1024 Apr 17 2004 cleaned -rw------- 1 logcheck logcheck 13 Jun 22 06:02 offset.var.log.auth.log -rw------- 1 logcheck logcheck 13 Jun 22 06:02 offset.var.log.daemon.log -rw------- 1 logcheck logcheck 11 Jun 20 07:02 offset.var.log.debug -rw------- 1 logcheck logcheck 8 Apr 24 07:02 offset.var.log.kern.log -rw------- 1 logcheck logcheck 8 Jun 19 07:02 offset.var.log.lpr.log -rw------- 1 logcheck logcheck 8 Feb 27 07:02 offset.var.log.mail.mail.err -rw------- 1 logcheck logcheck 14 Jun 7 18:02 offset.var.log.mail.mail.info -rw------- 1 logcheck logcheck 14 Jun 7 18:02 offset.var.log.mail.mail.log -rw------- 1 logcheck logcheck 8 Feb 27 07:02 offset.var.log.mail.mail.warn -rw------- 1 logcheck logcheck 11 Jun 22 06:02 offset.var.log.messages -rw------- 1 logcheck logcheck 13 Jun 22 06:02 offset.var.log.syslog -rw------- 1 logcheck logcheck 8 Sep 5 2004 offset.var.log.user.log -rw------- 1 logcheck logcheck 8 Oct 16 2003 offset.var.log.uucp.log> > -- > maks
Debian Bug Tracking System
2005-Jul-19 18:03 UTC
[Logcheck-devel] Bug#312412: marked as done (logcheck: Fails to read files under /var/log/mail/)
Your message dated Tue, 19 Jul 2005 19:53:19 +0200 with message-id <20050719175319.GA7264 at sputnik.stro.at> and subject line Bug#312412: [Logcheck-devel] Bug#312412: logcheck: Fails to read files under /var/log/mail/ 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; 7 Jun 2005 23:13:20 +0000>From grahame at regress.homelinux.org Tue Jun 07 16:13:20 2005Return-path: <grahame at regress.homelinux.org> Received: from spc1-cosh5-3-0-cust36.cosh.broadband.ntl.com (central.regress.homelinux.org) [81.102.80.36] by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1DfnG3-0004mJ-00; Tue, 07 Jun 2005 16:13:19 -0700 Received: from grahame by central.regress.homelinux.org with local (Exim 3.36 #1 (Debian)) id 1DfnG0-00070C-00 for <submit at bugs.debian.org>; Wed, 08 Jun 2005 00:13:16 +0100 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Grahame white <grahame at regress.homelinux.org> To: Debian Bug Tracking System <submit at bugs.debian.org> Subject: logcheck: Fails to read files under /var/log/mail/ X-Mailer: reportbug 3.8 Date: Wed, 08 Jun 2005 00:13:15 +0100 Message-Id: <E1DfnG0-00070C-00 at central.regress.homelinux.org> Sender: Grahame white <grahame at central.regress.homelinux.org> X-BadReturnPath: grahame at central.regress.homelinux.org rewritten as grahame at regress.homelinux.org using "From" header Delivered-To: submit at bugs.debian.org 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-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE autolearn=no version=2.60-bugs.debian.org_2005_01_02 X-Spam-Level: Package: logcheck Severity: normal Since upgrading from woody to sarge I've been getting the following apperaring in the reports sent by logcheck: E: File could not be read: /var/log/mail/mail.err E: File could not be read: /var/log/mail/mail.warn E: File could not be read: /var/log/mail/mail.info E: File could not be read: /var/log/mail/mail.log The permissions for these files are: -rw-r----- 1 root adm 2748 Jun 7 18:28 mail.err -rw-r----- 1 root adm 1983524 Jun 8 00:07 mail.info -rw-r----- 1 root adm 2268687 Jun 8 00:07 mail.log -rw-r----- 1 root adm 2748 Jun 7 18:28 mail.warn and the user logcheck is a member of the adm group. -- System Information: Debian Release: 3.1 Architecture: i386 (i686) Kernel: Linux 2.4.27 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) --------------------------------------- Received: (at 312412-done) by bugs.debian.org; 19 Jul 2005 17:53:26 +0000>From max at stro.at Tue Jul 19 10:53:26 2005Return-path: <max at stro.at> Received: from baikonur.stro.at [213.239.196.228] by spohr.debian.org with esmtp (Exim 3.36 1 (Debian)) id 1DuwHV-0003N2-00; Tue, 19 Jul 2005 10:53:26 -0700 Received: from sputnik (stallburg.stro.at [128.131.216.190]) by baikonur.stro.at (Postfix) with ESMTP id E2E8A5C013 for <312412-done at bugs.debian.org>; Tue, 19 Jul 2005 19:53:14 +0200 (CEST) Received: from max by sputnik with local (Exim 4.52) id 1DuwHP-0007gx-Mo for 312412-done at bugs.debian.org; Tue, 19 Jul 2005 19:53:19 +0200 Date: Tue, 19 Jul 2005 19:53:19 +0200 From: maximilian attems <debian at sternwelten.at> To: 312412-done at bugs.debian.org Subject: Re: Bug#312412: [Logcheck-devel] Bug#312412: logcheck: Fails to read files under /var/log/mail/ Message-ID: <20050719175319.GA7264 at sputnik.stro.at> References: <E1DfnG0-00070C-00 at central.regress.homelinux.org> <200507191758.24954.grahame at regress.homelinux.org> <20050719170420.GB26545 at sputnik.stro.at> <200507191809.12952.grahame at regress.homelinux.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200507191809.12952.grahame at regress.homelinux.org> User-Agent: Mutt/1.5.9i X-Virus-Scanned: by Amavis (ClamAV) at stro.at Delivered-To: 312412-done at bugs.debian.org 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=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER autolearn=no version=2.60-bugs.debian.org_2005_01_02 On Tue, 19 Jul 2005, Grahame White wrote:> On Tuesday 19 July 2005 18:04, maximilian attems wrote: > > On Tue, 19 Jul 2005, Grahame White wrote: > > > On Tuesday 19 July 2005 17:48, maximilian attems wrote: > > > > ok. > > but does look like removed and not purged after install. > > you can check the dpkg status, what does that show: > > dpkg -l sendmail > > rc sendmail 8.12.3-6.6 A > powerful, efficient, and scalable Mail Transport Agent > > Hmm, looks like I did have it installed at some point.ok closing bug, as the log dir with wrong permission was from stale old install. i don't know of complaints of sendmail users concerning logcheck runs. so i assume until other notice that it's working. you may want to remove those logfiles from your /etc/logcheck/logcheck.logfiles thanks for your feedback. -- maks