[Bug 606491] Re: start: Job is already running: anacron

Kevin McCormick 606491 at bugs.launchpad.net
Fri Feb 22 01:31:32 UTC 2013


This patch hits the needs of people having problems with anacron
hanging.

For the issues with hanging, and causing a notification if anacron is
still running long after it should be, I think a separate process is in
order. I could not find any way within upstart to do this, so I wrote a
short script to launch from cron daily and squawk if anacron has been
running >12 hours.

I've tried to make my script as portable as possible, but I'm not sure
how portable my ps(1) and date(1) syntax is, or on how many platforms
anacron is used.

** Patch added: "Notify if anacron seems hung"
   https://bugs.launchpad.net/ubuntu/+source/anacron/+bug/606491/+attachment/3540877/+files/anacron.notify_stuck.patch

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to anacron in Ubuntu.
https://bugs.launchpad.net/bugs/606491

Title:
  start: Job is already running: anacron

Status in “anacron” package in Ubuntu:
  Triaged

Bug description:
  Binary package hint: anacron

  Every day cron sends me this email:

    Date: Sat, 17 Jul 2010 07:30:01 +1200
    From: Cron Daemon <root at hostname>
    To: root at hostname
    Subject: Cron <root at hostname> start -q anacron || :

    start: Job is already running: anacron

  I've tried to find out why it was running twice, but I could only find
  one copy of anacron in the cron directories...

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/anacron/+bug/606491/+subscriptions




More information about the foundations-bugs mailing list