John Li
2008-May-04 05:15 UTC
[Logcheck-devel] Bug#479278: logcheck: sending results as attachments uses the "nail" program to mail output
Package: logcheck Version: 1.2.63 Severity: important Setting MAILASATTACH=1 in /etc/logcheck/logcheck.conf causes /usr/sbin/logcheck to run line 300. Line 300 is this: echo -e "Report at the attachment" | nail -s "$subject" -a "$TMPDIR/report" "$SENDMAILTO" This means that instead of getting mailed a logcheck message, I get a cron error message: /usr/sbin/logcheck: line 300: nail: command not found I won't bother attaching the patch =). Thanks! -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (990, 'testing'), (300, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages logcheck depends on: ii adduser 3.107 add and remove users and groups ii bsd-mailx [mailx] 8.1.2-0.20071201cvs-2 A simple mail user agent ii cron 3.0pl1-104 management of regular background p ii lockfile-progs 0.1.11-0.1 Programs for locking and unlocking ii logtail 1.2.63 Print log file lines that have not ii postfix [mail-tran 2.5.2~rc2-1 High-performance mail transport ag ii sysklogd [system-l 1.5-2 System Logging Daemon Versions of packages logcheck recommends: ii logcheck-database 1.2.63 database of system log rules for t -- no debconf information
martin f krafft
2008-May-04 09:16 UTC
[Logcheck-devel] Bug#479278: Bug#479278: logcheck: sending results as attachments uses the "nail" program to mail output
tags 479278 patch thanks also sprach John Li <debbug at deadbox.ath.cx> [2008.05.04.0615 +0100]:> I won't bother attaching the patch =).That's a shame. So try mine, attached, and please report back. -- .''`. martin f. krafft <madduck at debian.org> : :' : proud Debian developer, author, administrator, and user `. `'` http://people.debian.org/~madduck - http://debiansystem.info `- Debian - when you have better things to do than fixing systems -------------- next part -------------- A non-text attachment was scrubbed... Name: logcheck-nail-missing.patch Type: text/x-diff Size: 888 bytes Desc: not available Url : http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20080504/0f9c4591/attachment.patch -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature (see http://martin-krafft.net/gpg/) Url : http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20080504/0f9c4591/attachment.pgp
Debian Bug Tracking System
2008-May-04 09:18 UTC
[Logcheck-devel] Processed: Re: Bug#479278: logcheck: sending results as attachments uses the "nail" program to mail output
Processing commands for control at bugs.debian.org:> tags 479278 patchBug#479278: logcheck: sending results as attachments uses the "nail" program to mail output There were no tags set. Tags added: patch> thanksStopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database)
Debian Bug Tracking System
2008-Jun-03 22:54 UTC
[Logcheck-devel] Bug#479278: marked as done (logcheck: sending results as attachments uses the "nail" program to mail output)
Your message dated Tue, 03 Jun 2008 22:47:04 +0000 with message-id <E1K3fHU-0000Mn-Pu at ries.debian.org> and subject line Bug#479278: fixed in logcheck 1.2.64 has caused the Debian Bug report #479278, regarding logcheck: sending results as attachments uses the "nail" program to mail output 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 this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner at bugs.debian.org immediately.) -- 479278: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=479278 Debian Bug Tracking System Contact owner at bugs.debian.org with problems -------------- next part -------------- An embedded message was scrubbed... From: John Li <debbug at deadbox.ath.cx> Subject: logcheck: sending results as attachments uses the "nail" program to mail output Date: Sun, 04 May 2008 01:15:41 -0400 Size: 2982 Url: http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20080603/e34c25a1/attachment.eml -------------- next part -------------- An embedded message was scrubbed... From: maximilian attems <maks at debian.org> Subject: Bug#479278: fixed in logcheck 1.2.64 Date: Tue, 03 Jun 2008 22:47:04 +0000 Size: 9508 Url: http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20080603/e34c25a1/attachment-0001.eml