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

maximilian attems debian at sternwelten.at
Tue Feb 1 12:21:17 UTC 2005


On Tue, 01 Feb 2005, Gunter Winkler wrote:

> Hallo,
> 
> after upgrading logcheck to 1.2.34 it fails to run with the error:
> 
> > Details:
> > Failed to get lockfile: /var/lock/logcheck.lock

could you please send the output on you system of:
ls -ld /var/lock
 
> The error is caused by the new cron job, because logcheck now runs as user 
> logcheck, which has no write permissions to /var/lock. The installer already 
> created the directory /var/lock/logcheck with correct permissions but did not 
> add
> 
> LOCKFILE="/var/lock/logcheck/logcheck"
> 
> to /etc/logcheck/logcheck.conf.

$ dpkg -L logcheck | grep lock
returns nothing.
/var/lock/logcheck is not created by current logcheck,
was it done in the older versions?
 
> Maybe you use the above as default in /usr/sbin/logcheck to avoid this error.

thanks for your feedback

--
maks





More information about the Logcheck-devel mailing list