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

Bug#479141: apt: cron.daily script delays other cron tasks



Package: apt
Version: 0.7.12
Severity: normal

In the last few days I was wondering whether my system was
broken. Saw messages like that in xconsole:

,----
| May  3 06:40:19 debian anacron[2600]: Job `cron.daily' started
| May  3 06:40:19 debian anacron[2745]: Updated timestamp for job `cron.daily' to 2008-05-03
`----

and then nothing happened for quite some time.  You probably can figure
out more easily than me why that is the case, it would be nice if your
cron.daily script could check whether it should do anything *before*
sleeping up to 30 minutes and holding up everyone else.

Don't know if cron runs the scripts in parallel to avoid the problem,
but anacron is a bit dump:

,----
| May  3 06:35:19 debian anacron[2600]: Will run job `cron.daily' in 5 min.
| May  3 06:35:19 debian anacron[2600]: Jobs will be executed sequentially
`----


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.24.6
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages apt depends on:
ii  debian-archive-keyring   2008.04.16+nmu1 GnuPG archive keys of the Debian a
ii  libc6                    2.7-10          GNU C Library: Shared libraries
ii  libgcc1                  1:4.3.0-4       GCC support library
ii  libstdc++6               4.3.0-4         The GNU Standard C++ Library v3

apt recommends no packages.

-- no debconf information



Reply to: