As noted in a debian bug report [1] , this random sleep is for some kind
of time balance over the mirrors to not "get hammered at exactly the
same time when a lot of machines are switched on, e.g. 9:00 in the
morning."

So, if your machine is running 24/7, you wouldn't care about this sleep
time (you don't care if cron.daily jobs are run at 0600 AM or 0630 AM,
right?). If your machine is not always running, probably you won't care
about the delay, too.

Anyway, a comment in the /etc/cron.daily/apt noting the reason and a
link to the debian bug report wouldn't hurt anyone.

Some people might find interesting this thread in osdir forums [2].

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=483177
[2] http://osdir.com/answers/ubuntu/20842-etc-cron-daily-apt-hangs.html

-- 
apt cron.daily script sleeps a random amount of time twice
https://bugs.launchpad.net/bugs/262015
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to