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

Kevin McCormick 606491 at bugs.launchpad.net
Fri Feb 22 01:21:03 UTC 2013


It seems like I may be in the minority here, but I am not experiencing
any problems with APT or other things hanging.

My problem is simply that I boot my machine slightly before 7:30 local
time, and anacron is still running as expected when cron tries to start
it. I think the proper way to fix this is to have cron not directly
start anacron, but rather emit an event. That way upstart automatically
handles starting anacron if it is not already running, and ignores the
event if it is. I've attached a patch to do so.

** Patch added: "Fix only the issue of warnings from cron when anacron is already running"
   https://bugs.launchpad.net/ubuntu/+source/anacron/+bug/606491/+attachment/3540873/+files/anacron.606491.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