Bug#600262: apt: random_sleep should not be executed if anacron has started the cron.daily script

2016-02-04 Thread Mathias Koehrer
Hi, I am running into the same issue. When starting the system with anacron, the /etc/cron.daily/apt may block the whole cron.daily jobs. My proposal is to detect if /etc/cron.daily/apt has been started by cron or just by anacron. The attached patch should fix this by checking (by using pst

Bug#600262: apt: random_sleep should not be executed if anacron has started the cron.daily script

2014-05-06 Thread rpnpif
Package: apt Version: 0.9.7.9+deb7u1 Followup-For: Bug #600262 Hello, Another reason to modify the behaviour of this random running is that this script locks all the scripts following alphabetically in /etc/cron.daily/. I known no reason for this. So I suggest that a structure as below should b

Bug#600262: apt: random_sleep should not be executed if anacron has started the cron.daily script

2010-12-07 Thread Teodor MICU
Hi, On Mon, Oct 25, 2010 at 3:59 PM, Teodor MICU wrote: > Ok, I see. So the first version of the patch avoids the first > problematic time. For the second problematic time I could prepare a > new patch to: > [..] > 2) check for the current hour and if less or equal to 7 to also > execute "random_

Bug#600262: apt: random_sleep should not be executed if anacron has started the cron.daily script

2010-10-25 Thread Teodor MICU
Hi, On Sun, Oct 24, 2010 at 1:45 PM, Goswin von Brederlow wrote: > There ae 2 problematic times. The first is 6:25 without anacron > installed. The second is 7:35 with anacron installed. Ok, I see. So the first version of the patch avoids the first problematic time. For the second problematic ti

Bug#600262: apt: random_sleep should not be executed if anacron has started the cron.daily script

2010-10-24 Thread Goswin von Brederlow
Teodor MICU writes: > Hi, > > On Wed, Oct 20, 2010 at 3:33 PM, Goswin von Brederlow > wrote: >>> Please apply this patch to avoid 'random_sleep' if the script was started >>> by anacron. >> >> But if the system stays up all night then the jobs are also started by >> anacron. This time at the p

Bug#600262: apt: random_sleep should not be executed if anacron has started the cron.daily script

2010-10-22 Thread Teodor MICU
Hi, On Wed, Oct 20, 2010 at 3:33 PM, Goswin von Brederlow wrote: >> Please apply this patch to avoid 'random_sleep' if the script was started by >> anacron. > > But if the system stays up all night then the jobs are also started by > anacron. This time at the problematic time though. I don't kn

Bug#600262: apt: random_sleep should not be executed if anacron has started the cron.daily script

2010-10-20 Thread Goswin von Brederlow
Teodor writes: > Package: apt > Version: 0.8.6 > Severity: wishlist > Tags: patch > > Hi, > > Currently a 'random_sleep' function is implemented in /etc/cron.daily/apt to > avoid > a DoS on the mirrors. However, on desktop and workstation systems the script > is not > executed at 6:xx in the mo

Bug#600262: apt: random_sleep should not be executed if anacron has started the cron.daily script

2010-10-15 Thread Teodor
Package: apt Version: 0.8.6 Severity: wishlist Tags: patch Hi, Currently a 'random_sleep' function is implemented in /etc/cron.daily/apt to avoid a DoS on the mirrors. However, on desktop and workstation systems the script is not executed at 6:xx in the morning but later at random times after b