martin f krafft
2004-Sep-13 11:47 UTC
[Logcheck-devel] Bug#271482: logcheck: should handle lack of permissions gracefully
Package: logcheck Version: 1.2.26 Severity: minor /usr/sbin/logcheck: line 383: /var/log/postgresql/postgres.log: Permission denied /usr/sbin/logcheck: line 383: [: -lt: unary operator expected Yeah, sure. But you *should* be using [[ and ]] instead of [ and ] (throughout) so avoid such problems. -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (600, 'testing'), (98, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.8-1-k7 Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 -- Please do not CC me when replying to lists; I read them! .''`. martin f. krafft <madduck at debian.org> : :' : proud Debian developer, admin, and user `. `'` `- Debian - when you have better things to do than fixing a system Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver! -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20040913/a6bcf27e/attachment.pgp
maks attems
2004-Sep-20 23:11 UTC
Bug#271482: [Logcheck-devel] Bug#271482: logcheck: should handle lack of permissions gracefully
tags 271482 pending thanks On Mon, 13 Sep 2004, martin f krafft wrote:> Package: logcheck > Version: 1.2.26 > Severity: minor > > /usr/sbin/logcheck: line 383: /var/log/postgresql/postgres.log: > Permission denied > /usr/sbin/logcheck: line 383: [: -lt: unary operator expected > > Yeah, sure. > > But you *should* be using [[ and ]] instead of [ and ] (throughout) > so avoid such problems.great hint, applied to cvs, will be in next logcheck version. -- maks
Debian Bug Tracking System
2004-Sep-20 23:33 UTC
Processed: Re: [Logcheck-devel] Bug#271482: logcheck: should handle lack of permissions gracefully
Processing commands for control at bugs.debian.org:> tags 271482 pendingBug#271482: logcheck: should handle lack of permissions gracefully There were no tags set. Tags added: pending> thanksStopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database)
Debian Bug Tracking System
2004-Sep-22 21:03 UTC
[Logcheck-devel] Bug#271482: marked as done (logcheck: should handle lack of permissions gracefully)
Your message dated Wed, 22 Sep 2004 16:47:06 -0400 with message-id <E1CAE14-0001N0-00 at newraff.debian.org> and subject line Bug#271482: fixed in logcheck 1.2.28 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; 13 Sep 2004 11:47:43 +0000>From madduck at cirrus.madduck.net Mon Sep 13 04:47:43 2004Return-path: <madduck at cirrus.madduck.net> Received: from armagnac.ifi.unizh.ch (albatross.madduck.net) [130.60.75.72] by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1C6pJ9-0004sW-00; Mon, 13 Sep 2004 04:47:43 -0700 Received: from localhost (albatross.madduck.net [127.0.0.1]) by albatross.madduck.net (postfix) with ESMTP id 8E347895D8B for <submit at bugs.debian.org>; Mon, 13 Sep 2004 13:47:31 +0200 (CEST) Received: from localhost (80-219-173-32.dclient.hispeed.ch [80.219.173.32]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "cirrus.madduck.net", Issuer "madduck.net CA" (verified OK)) by albatross.madduck.net (postfix) with ESMTP id 44E10895D8A for <submit at bugs.debian.org>; Mon, 13 Sep 2004 13:47:31 +0200 (CEST) Received: by localhost (Postfix, from userid 1000) id 8237325FB6D; Mon, 13 Sep 2004 13:47:31 +0200 (CEST) Date: Mon, 13 Sep 2004 13:47:31 +0200 From: martin f krafft <madduck at debian.org> To: Debian Bug Tracking System <submit at bugs.debian.org> Subject: logcheck: should handle lack of permissions gracefully Message-ID: <20040913114731.GA28791 at cirrus.madduck.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5mCyUwZo2JvN/JJP" Content-Disposition: inline X-Reportbug-Version: 2.63 Organization: Debian GNU/Linux X-OS: Debian GNU/Linux 3.1 kernel 2.6.8-1-k7 i686 X-Motto: Keep the good times rollin' X-Subliminal-Message: debian/rules! X-Debbugs-No-Ack: please spare me User-Agent: Mutt/1.5.6+20040818i X-Virus-Scanned: by albatross.madduck.net Delivered-To: submit at bugs.debian.org X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 (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_NO_ACK autolearn=ham version=2.60-bugs.debian.org_2004_03_25 X-Spam-Level: --5mCyUwZo2JvN/JJP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Package: logcheck Version: 1.2.26 Severity: minor /usr/sbin/logcheck: line 383: /var/log/postgresql/postgres.log: Permission denied /usr/sbin/logcheck: line 383: [: -lt: unary operator expected Yeah, sure. But you *should* be using [[ and ]] instead of [ and ] (throughout) so avoid such problems. -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (600, 'testing'), (98, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.8-1-k7 Locale: LANG=3Den_GB.UTF-8, LC_CTYPE=3Den_GB.UTF-8 --=20 Please do not CC me when replying to lists; I read them! =20 .''`. martin f. krafft <madduck at debian.org> : :' : proud Debian developer, admin, and user `. `'` `- Debian - when you have better things to do than fixing a system =20 Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver! --5mCyUwZo2JvN/JJP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFBRYjTIgvIgzMMSnURAtn1AJ9ro1UdHN0LDNqpl3N08ykoYXElGACgwjYa IolJ+wjwz2JUnEEO5z+WyDc=H5/T -----END PGP SIGNATURE----- --5mCyUwZo2JvN/JJP-- --------------------------------------- Received: (at 271482-close) by bugs.debian.org; 22 Sep 2004 20:58:38 +0000>From katie at ftp-master.debian.org Wed Sep 22 13:58:38 2004Return-path: <katie at ftp-master.debian.org> Received: from newraff.debian.org [208.185.25.31] (mail) by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1CAECE-0000MQ-00; Wed, 22 Sep 2004 13:58:38 -0700 Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian)) id 1CAE14-0001N0-00; Wed, 22 Sep 2004 16:47:06 -0400 From: Todd Troxell <ttroxell at debian.org> To: 271482-close at bugs.debian.org X-Katie: $Revision: 1.51 $ Subject: Bug#271482: fixed in logcheck 1.2.28 Message-Id: <E1CAE14-0001N0-00 at newraff.debian.org> Sender: Archive Administrator <katie at ftp-master.debian.org> Date: Wed, 22 Sep 2004 16:47:06 -0400 Delivered-To: 271482-close at bugs.debian.org X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER autolearn=no version=2.60-bugs.debian.org_2004_03_25 X-Spam-Level: X-CrossAssassin-Score: 4 Source: logcheck Source-Version: 1.2.28 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.28_all.deb to pool/main/l/logcheck/logcheck-database_1.2.28_all.deb logcheck_1.2.28.dsc to pool/main/l/logcheck/logcheck_1.2.28.dsc logcheck_1.2.28.tar.gz to pool/main/l/logcheck/logcheck_1.2.28.tar.gz logcheck_1.2.28_all.deb to pool/main/l/logcheck/logcheck_1.2.28_all.deb logtail_1.2.28_all.deb to pool/main/l/logcheck/logtail_1.2.28_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 271482 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: Wednesday, 22 Sep 2004 16:35:03 -0500 Source: logcheck Binary: logcheck logtail logcheck-database Architecture: source all Version: 1.2.28 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 - A database of system log rules for the use of log checkers logtail - Print log file lines that have not been read Closes: 260743 270398 271286 271482 Changes: logcheck (1.2.28) unstable; urgency=low . maks: * Small fixes: join 2 lines in ignore.d.server/postfix, add '^' for start-of-line ignore.d.server/scponly (Closes: #270398) * Small rule update oidentd (Closes: #271286) * Check if logcheck has the permissions to read the offsetfiles. * Allow Hostname for logcheck mail to be set by commandline switch for log hosts. thanks to Joerg Jaspert <joerg at debian.org> * Minor comment fixes for picky readers. * Handle lack of permissions gracefully. (Closes: #271482) * Small update dhcp for dyndns support. (Closes: #260743) * Add a sendfile rule at level workstation for its connect syslogging. Files: 8c637493c86f9837bf562948ab13b2c0 668 admin optional logcheck_1.2.28.dsc 6e4d2752d7d6ff9ce715b72f54008d5b 81327 admin optional logcheck_1.2.28.tar.gz d1ffd289685832e7996435d5ae3c45cb 39542 admin optional logcheck_1.2.28_all.deb 4826a618a56a8972fbeb8d5d9ddb38ff 48216 admin optional logcheck-database_1.2.28_all.deb 304d26bb982ee707fc522222ef6eb58b 23138 admin optional logtail_1.2.28_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBUeJd4u3oQ3FHP2YRArC7AKCDxvbr8v3stHMV4A0F8bPxs2F+NQCfck+7 pLnknmV272C+HIjbcLRTrPk=7w+3 -----END PGP SIGNATURE-----