[Bug 606491] Re: start: Job is already running: anacron
Daniel Richard G.
skunk at iskunk.org
Fri Jan 6 23:13:02 UTC 2012
The following change should address this bug:
--- /etc/cron.d/anacron.orig 2010-06-20 04:11:29.000000000 -0400
+++ /etc/cron.d/anacron 2012-01-06 18:03:48.000000000 -0500
@@ -4,4 +4,4 @@
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
#30 7 * * * root test -x /etc/init.d/anacron && /usr/sbin/invoke-rc.d anacron start >/dev/null
-30 7 * * * root start -q anacron || :
+30 7 * * * root start --quiet anacron 2>/dev/null || :
The cron-job command is written to disregard failure of the start(8) command, but it was not absorbing the error message that would be produced in such an instance.
(I also changed -q to --quiet, as the former is not documented in the
initctl(8) man page.)
Of course, this does nothing for the apt bug that appears to be
associated with this one.
--
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:
Confirmed
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