John A. Martin
2005-May-29 23:06 UTC
[Logcheck-devel] Bug#311216: logcheck: mails "egrep: Invalid content of \{\}"
A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 154 bytes Desc: not available Url : http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20050529/844bcdd0/attachment.pgp
Jamie L. Penman-Smithson
2005-May-29 23:43 UTC
[Logcheck-devel] Bug#311216: logcheck: mails "egrep: Invalid content of \{\}"
On Sun, 2005-05-29 at 19:06 -0400, John A. Martin wrote:> Mail sent by logcheck > > ,---- > From: root at lists.jamux.org (Cron Daemon) > Subject: Cron <logcheck at lists> if [ -x /usr/sbin/logcheck ]; then > nice -n10 /usr/sbin/logcheck; fi > To: root at lists.jamux.org > Date: Sun, 29 May 2005 18:02:09 -0400 (EDT) > > egrep: Invalid content of \{\} > `----Can you run logcheck -odt, the output of that should help pin it down somewhat.. -j -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20050530/027be7cc/attachment.pgp
John A. Martin
2005-May-30 13:32 UTC
[Logcheck-devel] Bug#311216: logcheck: mails "egrep: Invalid content of \{\}"
A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 154 bytes Desc: not available Url : http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20050530/c1d6ef09/attachment.pgp
John A. Martin
2005-May-30 21:40 UTC
[Logcheck-devel] Bug#311216: logcheck: mails "egrep: Invalid content of \{\}"
>>>>> "Jamie" == Jamie L Penman-Smithson >>>>> "Re: Bug#311216: logcheck: mails "egrep: Invalid content of \{\}"" >>>>> Mon, 30 May 2005 17:58:30 +0100Jamie> Hi John, >> Mail sent by logcheck >> >> ,---- >> From: root at lists.jamux.org (Cron Daemon) >> Subject: Cron <logcheck at lists> if [ -x /usr/sbin/logcheck ]; then >> nice -n10 /usr/sbin/logcheck; fi >> To: root at lists.jamux.org >> Date: Sun, 29 May 2005 18:02:09 -0400 (EDT) >> >> egrep: Invalid content of \{\} >> `---- >> >> egrep: Invalid content of \{\} `---- Jamie> I can't reproduce this at all, which makes me think there's Jamie> something different on your system that is causing this Jamie> bug. Jamie> ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ squid\[[0-9]+\]: Jamie> WARNING: found whitespace in HTTP header name {Cache Jamie> Control: no-cache}$ Jamie> With this rule, egrep parses it fine: Jamie> D: [1117469713] cleanchecked - dir - /tmp/logcheck.fb7dSc/ignore/spamd Jamie> D: [1117469713] cleanchecked - dir - /tmp/logcheck.fb7dSc/ignore/squid Jamie> D: [1117469714] cleanchecked - dir - /tmp/logcheck.fb7dSc/ignore/ssh Jamie> However, since there is nothing to lose by escaping the Jamie> {}'s, I've modified that rule in CVS. Maybe it just depende upon what you depend upon. :) A mixed box $ COLUMNS=200 dpkg -l|egrep 'egrep' ii grep 2.4.2-3 GNU grep, egrep and fgrep. $ echo foo|egrep 'name {Cache Control: no-cache}$' egrep: Invalid content of \{\} A Sid box $ COLUMNS=200 dpkg -l|egrep 'egrep' ii grep 2.5.1.ds1-4 GNU grep, egrep and fgrep $ echo foo|egrep 'name {Cache Control: no-cache}$' $ HTH jam -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 154 bytes Desc: not available Url : http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20050530/25517cba/attachment.pgp
Debian Bug Tracking System
2005-Aug-22 21:03 UTC
[Logcheck-devel] Bug#311216: marked as done (logcheck: mails "egrep: Invalid content of \{\}")
Your message dated Mon, 22 Aug 2005 13:32:38 -0700 with message-id <E1E7IyE-0002xn-00 at spohr.debian.org> and subject line Bug#311216: fixed in logcheck 1.2.41 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; 29 May 2005 23:07:09 +0000>From jam at jamux.com Sun May 29 16:07:09 2005Return-path: <jam at jamux.com> Received: from athene.jamux.com [65.222.215.34] by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1DcWs9-0003ec-00; Sun, 29 May 2005 16:07:09 -0700 Received: from localhost (localhost [127.0.0.1]) by athene.jamux.com (Postfix) with ESMTP id 024763B901 for <submit at bugs.debian.org>; Sun, 29 May 2005 19:07:07 -0400 (EDT) Received: from athene.jamux.com ([127.0.0.1]) by localhost (athene [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 15273-04 for <submit at bugs.debian.org>; Sun, 29 May 2005 19:07:07 -0400 (EDT) Received: by athene.jamux.com (Postfix, from userid 1000) id 8A0923B902; Sun, 29 May 2005 19:07:06 -0400 (EDT) From: "John A. Martin" <jam at jamux.com> To: Debian Bug Tracking System <submit at bugs.debian.org> Subject: logcheck: mails "egrep: Invalid content of \{\}" X-Debbugs-CC: John A. Martin <jam at jamux.com> X-Attribution: jam X-Request-PGP: http://www.tux.org/~jam/jam-gpg-keys.html X-PGP-Fingerprint: 5F05 15CF 05D2 E8D3 E7FA 8C6A 504B EFD5 BFE2 5F2F Date: Sun, 29 May 2005 19:06:56 -0400 Message-ID: <8764x1vdgv.fsf at athene.jamux.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" 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=-11.0 required=4.0 tests=BAYES_00,HAS_PACKAGE, X_DEBBUGS_CC autolearn=ham version=2.60-bugs.debian.org_2005_01_02 X-Spam-Level: --=-=- Package: logcheck Version: 1.2.40 Severity: grave Mail sent by logcheck ,---- From: root at lists.jamux.org (Cron Daemon) Subject: Cron <logcheck at lists> if [ -x /usr/sbin/logcheck ]; then nice -n10 /usr/sbin/logcheck; fi To: root at lists.jamux.org Date: Sun, 29 May 2005 18:02:09 -0400 (EDT) egrep: Invalid content of \{\} `---- -- System Information: Debian Release: 3.0 APT prefers unstable APT policy: (800, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.4.27-2-686 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages logcheck depends on: ii adduser 3.63 Add and remove users and groups ii cron 3.0pl1-72 management of regular background p ii debconf [debconf 1.4.50 Debian configuration management sy ii debianutils 2.13.2 Miscellaneous utilities specific t ii lockfile-progs 0.1.9 Programs for locking and unlocking ii logcheck-databas 1.2.40 A database of system log rules for ii logtail 1.2.40 Print log file lines that have not ii mailx 1:8.1.2-0.20020411cvs-1 A simple mail user agent. ii postfix [mail-tr 2.2.3-3 A high-performance mail transport ii syslog-ng [syste 1.6.7-2 Next generation logging daemon -- debconf information: * logcheck/noroot: logcheck/changes: * logcheck/install-note: jam --=-=-Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- iD8DBQBCmksZUEvv1b/iXy8RAkXHAJ9y0SPkis8WYWnnVZlOjm9FZ0gEZQCeJ6EQ rClFnPdiG1ELiWxP3etevy4=o4lb -----END PGP SIGNATURE----- --=-=-=-- --------------------------------------- Received: (at 311216-close) by bugs.debian.org; 22 Aug 2005 20:49:25 +0000>From katie at spohr.debian.org Mon Aug 22 13:49:25 2005Return-path: <katie at spohr.debian.org> Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian)) id 1E7IyE-0002xn-00; Mon, 22 Aug 2005 13:32:38 -0700 From: Todd Troxell <ttroxell at debian.org> To: 311216-close at bugs.debian.org X-Katie: $Revision: 1.56 $ Subject: Bug#311216: fixed in logcheck 1.2.41 Message-Id: <E1E7IyE-0002xn-00 at spohr.debian.org> Sender: Archive Administrator <katie at spohr.debian.org> Date: Mon, 22 Aug 2005 13:32:38 -0700 Delivered-To: 311216-close 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 X-CrossAssassin-Score: 8 Source: logcheck Source-Version: 1.2.41 We believe that the bug you reported is fixed in the latest version of logcheck, which is due to be installed in the Debian FTP archive: logcheck-database_1.2.41_all.deb to pool/main/l/logcheck/logcheck-database_1.2.41_all.deb logcheck_1.2.41.dsc to pool/main/l/logcheck/logcheck_1.2.41.dsc logcheck_1.2.41.tar.gz to pool/main/l/logcheck/logcheck_1.2.41.tar.gz logcheck_1.2.41_all.deb to pool/main/l/logcheck/logcheck_1.2.41_all.deb logtail_1.2.41_all.deb to pool/main/l/logcheck/logtail_1.2.41_all.deb A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 311216 at bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Todd Troxell <ttroxell at debian.org> (supplier of updated logcheck package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster at debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Mon, 22 Aug 2005 15:27:45 -0500 Source: logcheck Binary: logcheck logtail logcheck-database Architecture: source all Version: 1.2.41 Distribution: unstable Urgency: low Maintainer: Debian logcheck Team <logcheck-devel at lists.alioth.debian.org> Changed-By: Todd Troxell <ttroxell at debian.org> Description: logcheck - mails anomalies in the system logfiles to the administrator logcheck-database - database of system log rules for the use of log checkers logtail - Print log file lines that have not been read Closes: 311216 312597 312598 312729 313601 313603 314951 315507 316612 317642 317741 317772 318500 318731 320009 321506 322036 322179 322570 Changes: logcheck (1.2.41) unstable; urgency=low . [ Jamie Penman-Smithson ] * Fix postfix rule to match "setting up TLS connection" messages again. * Fix innd rule for "ME time" messages, add rule for innfeed "ME time" messages. * Fix rules for gps to match messages with the null sender (<>). * Update cyrus/notifyd rule to match destination folders and subfolders too. * Update cyrus rules to suppress DBERROR db3: n lockers messages when it's only 1-2 lockers, these messages are harmless as long as the number doesn't increase. * Update postfix lmtp rule to match messages given by amavis when discarding UBE and viruses. * Fix bug in the squid rule for "found whitespace" messages which caused grep to choke due to unescaped { and } characters. (Closes: #311216) * Update innd nnrpd rule for latest version of INN. * Add a versioned dependency on grep to prevent bugs like #311216 happening in the first place. * Added Vietnamese translation, thanks to Clytie Siddall. (Closes: #312597) * Fix minor typo in logcheck-database.templates. (Closes: #312598) * Modify rules for successful ssh login messages to match when ssh/ssh2 is not specified at the end. (Closes: #312729) * Modified ignore.d.workstation/kernel to ignore nfs warnings about mount version. (Closes: #313601) * Fix postfix anvil rules to match max message/recipient rate and count messages. * Add the first rules for dkfilter, which implements domainkeys signing and verification for postfix. * Add rule for openssh-krb5 and add gssapi-with-mic to the list of auth alternatives. (Closes: #318500) * Add ovpn-tunnel rule to suppress "VERIFY OK: nsCertType=SERVER" messages. Thanks to Martin Lohmeier <martin at mein-horde.de>. (Closes: #320009) . [ Maximilian Attems ] * Suppress error message if hostname not set. (Closes: #314951) * Add another sshd rule for PARANOID /etc/hosts.deny setting. * Fix postfix rule concerning Service unavailable. (Closes: #315507) * Add some initial support for exim4 log messages. Pretty rudimentary stuff still, will need further refinements. (Closes: #316612) * First rule for amandad. (Closes: #313603) * Remention how to invoke logcheck with sudo. * Add an examples section to the manpage with my most usual invocation. * Fix rules for gconfd loglines. * Add rule for mailman admin loglines in violations.ignore.d/logcheck-postfix thanks toby cabot <toby at caboteria.org>. (Closes: #317772) * Fix hostname match in rbldnsd rule thanks sistemas at dedaloingenieros.com. (Closes: #317741) * Unifiy gdm rules, add a rule for X restart. * Beautify README.logcheck-database, uses markdown(1) syntax now. Added testing rules header to carify sections. (Closes: #317642, #318731) * Small manpage fixes. * Add 2 courier rules for ACCEPTED usernames and the started client module. * Add pdns rule for duplicate packets from recursor. * Fix cvs rule for exit code != 0. thanks Martin Lohmeier <martin at mein-horde.de> (Closes: #321506) * Fix hostname match in cups-lpd rules thanks Gilbert Laycock <gtl1 at mcs.le.ac.uk> (Closes: #322179) * Add horde3 rules for users login/logout thanks Martin Lohmeier <martin at mein-horde.de> (Closes: #322570) * Fix logcheck.8 rendering of docbook-to-man. (Closes: #322036) . [Todd Troxell] * Tweak descriptions to satisfy litian. Files: 1885143b4845e7da6dc748ef4f2ec7fb 736 admin optional logcheck_1.2.41.dsc 1a946e45f82a0dc98838c896510dfca9 101085 admin optional logcheck_1.2.41.tar.gz 4ec4e8c0a9227a8c06a716675f8a0d3f 47870 admin optional logcheck_1.2.41_all.deb 3bf53f05bfb119af9e2c1da3c8130f12 67460 admin optional logcheck-database_1.2.41_all.deb 078148d37c693d7dd9511355d70e7d40 29826 admin optional logtail_1.2.41_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFDCijR4u3oQ3FHP2YRAjnTAJwL7ztRs3iUx4sltg+pROJaxdf/QgCgtall nSanCABtCnyTfEYFeoyVZQ4=M6Pk -----END PGP SIGNATURE-----