[Logcheck-devel] Bug#330208: Mising write permisson on /var/lock/logcheck for group logcheck
Achim Schaefer
achim_schaefer at gmx.de
Mon Sep 26 18:18:57 UTC 2005
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:
More information about the Logcheck-devel
mailing list