Comment 7 for bug 606491

Revision history for this message
Ralph Corderoy (ralph-inputplus) wrote :

Just had another occurrence. Again, local time is 07:30:01.

    Return-Path: <email address hidden>
    Delivery-Date: Sat Apr 9 07:30:02 2011
    Return-Path: <email address hidden>
    X-Original-To: root
    Delivered-To: <email address hidden>
    Received: by orac.inputplus.co.uk (Postfix, from userid 0)
            id 0606532DE2; Sat, 9 Apr 2011 07:30:01 +0100 (BST)
    From: <email address hidden> (Cron Daemon)
    To: <email address hidden>
    Subject: Cron <root@orac> start -q anacron || :
    Content-Type: text/plain; charset=ANSI_X3.4-1968
    X-Cron-Env: <SHELL=/bin/sh>
    X-Cron-Env: <PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin>
    X-Cron-Env: <HOME=/root>
    X-Cron-Env: <LOGNAME=root>
    Message-Id: <email address hidden>
    Date: Sat, 9 Apr 2011 07:30:01 +0100 (BST)

    start: Job is already running: anacron

And it's caused by cron running /etc/cron.d/anacron.

    # /etc/cron.d/anacron: crontab entries for the anacron package

    SHELL=/bin/sh
    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 || :

Could it be that in the past `start -q' did not generate output with -q
if anacron was already running?

Also, has anyone else with this problem increased the delay in
/etc/anacrontab so things don't run so soon after boot-up? The delays
are normally 5, 10, and 15, but mine are now

    # /etc/anacrontab: configuration file for anacron

    # See anacron(8) and anacrontab(5) for details.

    SHELL=/bin/sh
    PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

    # These replace cron's entries
    1 125 cron.daily nice run-parts --report /etc/cron.daily
    7 130 cron.weekly nice run-parts --report /etc/cron.weekly
    @monthly 135 cron.monthly nice run-parts --report /etc/cron.monthly