Achim Schaefer
2005-Sep-26 18:18 UTC
[Logcheck-devel] Bug#330208: Mising write permisson on /var/lock/logcheck for group logcheck
Package: logcheck Version: 1.2.41 Severity: minor if a user is part of the group logcheck, he should be able to run logcheck. Currently you get this: achim at server:~$ /usr/sbin/logcheck rm: too few arguments Try `rm --help' for more information. achim at server:~$ groups achim dialout cdrom floppy audio video plugdev logcheck achim at server:~$ /usr/sbin/logcheck -d D: [1127758580] Turning debug mode on D: [1127758580] Sourcing - /etc/logcheck/logcheck.conf D: [1127758580] Finished getopts c:dhH:l:L:m:opr:RsS:tTuvw D: [1127758580] Trying to get lockfile: /var/lock/logcheck/logcheck.lock D: [1127758580] error: Not removing lockfile D: [1127758580] Error: Failed to get lockfile: /var/lock/logcheck/logcheck.lock D: [1127758580] Cleanup: Removing - rm: too few arguments Try `rm --help' for more information. achim at server:~$ ls -ld /var/lock/logcheck drwxr-xr-x 2 logcheck logcheck 4096 Sep 26 20:03 /var/lock/logcheck achim at server:~$ after a: achim at server:~$ logout server:/etc/cron.d# chmod 775 /var/lock/logcheck server:/etc/cron.d# su - achim achim at server:~$ /usr/sbin/logcheck achim at server:~$ everything is fine. -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (500, 'testing'), (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.4.31-ct-1 Locale: LANG=de_DE at euro, LC_CTYPE=de_DE at euro (charmap=ISO-8859-15) Versions of packages logcheck depends on: ii adduser 3.63 Add and remove users and groups ii cron 3.0pl1-86 management of regular background p ii debconf [debconf 1.4.30.13 Debian configuration management sy ii debianutils 2.8.4 Miscellaneous utilities specific t ii exim4 4.52-2 metapackage to ease exim MTA (v4) ii exim4-daemon-lig 4.52-2 lightweight exim MTA (v4) daemon ii grep 2.5.1.ds1-4 GNU grep, egrep and fgrep ii lockfile-progs 0.1.10 Programs for locking and unlocking ii logcheck-databas 1.2.41 database of system log rules for t ii logtail 1.2.41 Print log file lines that have not ii mailx 1:8.1.2-0.20050715cvs-1 A simple mail user agent ii sysklogd [system 1.4.1-17 System Logging Daemon logcheck recommends no packages. -- debconf information: logcheck/changes: * logcheck/install-note:
Jamie L. Penman-Smithson
2005-Oct-15 23:06 UTC
Bug#330208: [Logcheck-devel] Bug#330208: Mising write permisson on /var/lock/logcheck for group logcheck
package logcheck tags 330208 pending thanks On Mon, 2005-09-26 at 20:18 +0200, Achim Schaefer wrote:> if a user is part of the group logcheck, he should be able to run > logcheck.This will be fixed in the next release. Thanks for your bug report. -- -Jamie L. Penman-Smithson <jamie at silverdream.org> t: +44 1273 424795; f: +44 1273 424795 PGP: C0A7 955E EED6 A309 23D7 863B C76A 26A3 F0DC FCA8 never send mail to: oubliette.z at gmail.com -------------- 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/20051016/ab3b3b76/attachment.pgp
Debian Bug Tracking System
2005-Oct-15 23:33 UTC
Processed: Re: [Logcheck-devel] Bug#330208: Mising write permisson on /var/lock/logcheck for group logcheck
Processing commands for control at bugs.debian.org:> package logcheckIgnoring bugs not assigned to: logcheck> tags 330208 pendingBug#330208: Mising write permisson on /var/lock/logcheck for group logcheck 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
2005-Oct-23 04:48 UTC
[Logcheck-devel] Bug#330208: marked as done (Mising write permisson on /var/lock/logcheck for group logcheck)
Your message dated Sat, 22 Oct 2005 21:32:06 -0700 with message-id <E1ETXWg-0003n5-00 at spohr.debian.org> and subject line Bug#330208: fixed in logcheck 1.2.42 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; 26 Sep 2005 18:19:18 +0000>From achim_schaefer at gmx.de Mon Sep 26 11:19:18 2005Return-path: <achim_schaefer at gmx.de> Received: from pop.gmx.de (mail.gmx.net) [213.165.64.20] by spohr.debian.org with smtp (Exim 3.36 1 (Debian)) id 1EJxZN-0000fG-00; Mon, 26 Sep 2005 11:19:18 -0700 Received: (qmail invoked by alias); 26 Sep 2005 18:18:44 -0000 Received: from d212-66-65-97.cust.tele2.lu (EHLO server.zuhause.xx) [212.66.65.97] by mail.gmx.net (mp012) with SMTP; 26 Sep 2005 20:18:44 +0200 X-Authenticated: #1283321 Received: from achim by server.zuhause.xx with local (Exim 4.52) id 1EJxZ4-0001NE-1C; Mon, 26 Sep 2005 20:18:58 +0200 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Achim Schaefer <achim_schaefer at gmx.de> To: Debian Bug Tracking System <submit at bugs.debian.org> Subject: Mising write permisson on /var/lock/logcheck for group logcheck X-Mailer: reportbug 3.17 Date: Mon, 26 Sep 2005 20:18:57 +0200 Message-Id: <E1EJxZ4-0001NE-1C at server.zuhause.xx> X-Y-GMX-Trusted: 0 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-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 Package: logcheck Version: 1.2.41 Severity: minor if a user is part of the group logcheck, he should be able to run logcheck. Currently you get this: achim at server:~$ /usr/sbin/logcheck rm: too few arguments Try `rm --help' for more information. achim at server:~$ groups achim dialout cdrom floppy audio video plugdev logcheck achim at server:~$ /usr/sbin/logcheck -d D: [1127758580] Turning debug mode on D: [1127758580] Sourcing - /etc/logcheck/logcheck.conf D: [1127758580] Finished getopts c:dhH:l:L:m:opr:RsS:tTuvw D: [1127758580] Trying to get lockfile: /var/lock/logcheck/logcheck.lock D: [1127758580] error: Not removing lockfile D: [1127758580] Error: Failed to get lockfile: /var/lock/logcheck/logcheck.lock D: [1127758580] Cleanup: Removing - rm: too few arguments Try `rm --help' for more information. achim at server:~$ ls -ld /var/lock/logcheck drwxr-xr-x 2 logcheck logcheck 4096 Sep 26 20:03 /var/lock/logcheck achim at server:~$ after a: achim at server:~$ logout server:/etc/cron.d# chmod 775 /var/lock/logcheck server:/etc/cron.d# su - achim achim at server:~$ /usr/sbin/logcheck achim at server:~$ everything is fine. -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (500, 'testing'), (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.4.31-ct-1 Locale: LANG=de_DE at euro, LC_CTYPE=de_DE at euro (charmap=ISO-8859-15) Versions of packages logcheck depends on: ii adduser 3.63 Add and remove users and groups ii cron 3.0pl1-86 management of regular background p ii debconf [debconf 1.4.30.13 Debian configuration management sy ii debianutils 2.8.4 Miscellaneous utilities specific t ii exim4 4.52-2 metapackage to ease exim MTA (v4) ii exim4-daemon-lig 4.52-2 lightweight exim MTA (v4) daemon ii grep 2.5.1.ds1-4 GNU grep, egrep and fgrep ii lockfile-progs 0.1.10 Programs for locking and unlocking ii logcheck-databas 1.2.41 database of system log rules for t ii logtail 1.2.41 Print log file lines that have not ii mailx 1:8.1.2-0.20050715cvs-1 A simple mail user agent ii sysklogd [system 1.4.1-17 System Logging Daemon logcheck recommends no packages. -- debconf information: logcheck/changes: * logcheck/install-note: --------------------------------------- Received: (at 330208-close) by bugs.debian.org; 23 Oct 2005 04:38:29 +0000>From katie at spohr.debian.org Sat Oct 22 21:38:29 2005Return-path: <katie at spohr.debian.org> Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian)) id 1ETXWg-0003n5-00; Sat, 22 Oct 2005 21:32:06 -0700 From: Todd Troxell <ttroxell at debian.org> To: 330208-close at bugs.debian.org X-Katie: $Revision: 1.56 $ Subject: Bug#330208: fixed in logcheck 1.2.42 Message-Id: <E1ETXWg-0003n5-00 at spohr.debian.org> Sender: Archive Administrator <katie at spohr.debian.org> Date: Sat, 22 Oct 2005 21:32:06 -0700 Delivered-To: 330208-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: 19 Source: logcheck Source-Version: 1.2.42 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.42_all.deb to pool/main/l/logcheck/logcheck-database_1.2.42_all.deb logcheck_1.2.42.dsc to pool/main/l/logcheck/logcheck_1.2.42.dsc logcheck_1.2.42.tar.gz to pool/main/l/logcheck/logcheck_1.2.42.tar.gz logcheck_1.2.42_all.deb to pool/main/l/logcheck/logcheck_1.2.42_all.deb logtail_1.2.42_all.deb to pool/main/l/logcheck/logtail_1.2.42_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 330208 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: Sat, 22 Oct 2005 23:14:54 -0400 Source: logcheck Binary: logcheck logtail logcheck-database Architecture: source all Version: 1.2.42 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: 312393 324347 324451 324613 324615 324751 325800 325801 325874 327088 327100 327114 328251 328632 330208 331282 332707 332807 333233 333456 333461 334342 334415 335021 Changes: logcheck (1.2.42) unstable; urgency=low . [ maximilian attems ] * Add dccproc timeout rule. * Only source the conffile if we can read it. Should enable logcheck runs directly out of the logcheck source. * Default to send mail to local root otherwise messages go to Nirvana. * Check if conffile with list of logfiles is readable. * Fallback to read syslog if no logfile is provided. * Enhance bind rules ignore NSTATS loglines, remove dup. (Closes: #324751) * Add rule for recent nfs mountd messages. Thanks to toby cabot <toby at caboteria.org>. (Closes: #325800) * Move imap file to server level, not appropriate for paranoid. * Add imap ignore rule for moved bytes, seems pretty normal imap usage. Thanks to toby cabot <toby at caboteria.org>. (Closes: #325801) * Add rule for Postponed keyboard-interactive ssh logins. * Update some usb rules for usb-storage and phone devices. (Closes: #324347) * Update horde3 rules the identifier can be changed by the user to any char. Thanks to Martin Lohmeier <martin at mein-horde.de> (Closes: #324613) * Add imp4 rule for successful logins. Thanks to Martin Lohmeier <martin at mein-horde.de> (Closes: #324615) * Bumped standards to 3.6.2. * Fix exim4 rule for more modern tls string. * logcheck.8 fix add full path to README.logcheck-database.gz. (Closes: #328632) . [ Jamie Penman-Smithson ] * Add the first rules for mon. Thanks to Robbert Muller <muller at muze.nl>. (Closes: #324451) * Modify dovecot rules to match ipv6 addresses too. (Closes: #327088) * Add first polypaudio rules in workstation to suppress module-alsa-sink.c messages. (Closes: #331282) * Add first rules for tftpd, suppress 'connect' and 'get file' messages. (Closes: #333456) * Fix dovecot rules to match the new format log messages in 1.0. (Closes: #332707, #333461) * Fix proftpd rules to match ipv6 addresses. Thanks to Elmar Hoffmann <elho at elho.net> (Closes: #332807) * Update ssh rules to suppress reverse DNS warnings. Thanks to Elmar Hoffmann <elho at elho.net> (Closes: #333233) * Update nagios rules to match host UNREACHABLE notification messages. (Closes: #325874) * Add the first rules for popa3d. (Closes: #328251) * Fix group permissions for /var/lock/logcheck on install or upgrade so logcheck can be executed by the logcheck group. (Closes: #330208) * Add Swedish translation, thanks to Daniel Nylander <yeager at lidkoping.net>. (Closes: #334415) * Fix anvil max rate rule to match statistics messages when postfix is bound to a specific IP. (Closes: #334342) * Modify spamd rules to match log message format in 3.1. (Closes: #335021) . [ Todd Troxell ] * Add check for lockfile-progs to aid non-debian installations. * Set logcheck to remove cleanup trap if an error occours while getting lockfile. This will prevent many confusing error messages. * Add error reporting on -o option * Add IPv6 support to bind rules. Thanks Marco Nenciarin <mnencia at prato.linux.it> (Closes: #327100) * Add IPV6 support to postfix rules. Thanks Marco Nenciarin <mnencia at prato.linux.it> (Closes: #327114) * Add INSTALL documentation for manual/non-Debian installation. * Add 5 receive rules for hylafax's FaxGetty. * Call adduser without --home flag in postinst. (Closes: #312393) Files: bb7c028e97c78ab67d9c8417de1d1d3b 736 admin optional logcheck_1.2.42.dsc a17f485774e5c00cb314b74c30d0929c 104787 admin optional logcheck_1.2.42.tar.gz e06b1c7bea38cf6b8a6977df05997481 48606 admin optional logcheck_1.2.42_all.deb 54f5ed99e3e602561f69e39cf5236800 66628 admin optional logcheck-database_1.2.42_all.deb f2875097308d99e0663d9d583b1548b5 30976 admin optional logtail_1.2.42_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDWw344u3oQ3FHP2YRAm+4AJ4g+FoIjbpI67yD8N9sBXE+Gok5pQCfRF7+ K2Akj9p3eKdJdHqBKRFJjfA=lJbY -----END PGP SIGNATURE-----