[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: logcheck and bug #657641



Thanks for this Brian, I've patched logcheck as you suggested and left it running overnight to see what happens. There is no change in its behaviour, so later on I'll  reboot and see if that fixes it. 

Thanks again
Sharon.


On 3 January 2013 18:13, Brian <ad44@cityscape.co.uk> wrote:
On Thu 03 Jan 2013 at 17:27:56 +0000, Sharon Kimble wrote:

> I am seeing lots of emails like this from logcheck '/usr/sbin/logcheck:
> line 100: kill: (10554) - No such process' which is bug  #657641, and there
> is a patch provided. How do I apply that patch please to my 'logcheck' in
> wheezy please?

Open /sbin/logcheck in an editor. Find

        if [ -n "$LOCK" ]; then
            debug "cleanup: Killing lockfile-touch - $LOCK"
            kill "$LOCK" && unset LOCK
        fi

Replace the third line with

        kill -0 $LOCK && kill "$LOCK" && unset LOCK


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: [🔎] 20130103181305.GE32121@desktop" target="_blank">http://lists.debian.org/[🔎] 20130103181305.GE32121@desktop




--
A taste of linux = http://www.sharons.org.uk/taste/index.html
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
Debian Wheezy, LXDE 2 LibreOffice 3.5.4.2
Registered Linux user 334501




Reply to: