[Logcheck-devel] logcheck fails: failed to get lockfile

Gunter Winkler guwi17 at gmx.de
Tue Feb 1 13:07:23 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 01 February 2005 13:21, maximilian attems wrote:
> could you please send the output on you system of:
> ls -ld /var/lock

root at ares:~# ls -ld /var/lock/
drwxr-xr-t  5 root root 4096 Feb  1 10:29 /var/lock/

root at ares:~# ls -l /var/lock/
total 12
drwxr-xr-x  2 logcheck logcheck 4096 Feb  1 13:02 logcheck
drwxr-xr-x  2 root     root     4096 Feb  1 13:55 mrtg
drwxr-xr-x  2 root     root     4096 Feb  1 10:30 subsys

I looked at another host, but there was no logcheck subdir in /var/lock. Maybe 
an earlier version of the logcheck package created this. After manually 
creating /var/lock/logcheck and changing the owner to logcheck, the error 
disappeared and logcheck now runs fine.
Both hosts were installed about a year ago with sarge.

On a third host, which was installed a few weeks ago (sarge) the lock dir is 
world writable:

root at achilles:~# ls -ld /var/lock/
drwxrwxrwt  2 root root 1024 2005-02-01 14:02 /var/lock/

Maybe these permission had been changed in the meantime.

mfg
Gunter
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFB/38TghsXb/J0PcERAqofAJ9fJBlO8gWTqGt6AIOHtdHMB8qVWwCeOHQa
uoJG1OB1Xrw5uLGS/FVykxA=
=2igp
-----END PGP SIGNATURE-----




More information about the Logcheck-devel mailing list