Re: What does 'apt' in /etc/cron.daily do?

2013-10-09 Thread Jochen Spieker
Harry Putnam: Ok, maybe a bit of a lamer here but: What is the /etc/cron.daily/apt script supposed to do? I agree that this is underdocumented. But you can deduce some bits of that it does by the apt settings it honours. Part of my /etc/apt/apt.conf.d/local: APT { // see:

Re: What does 'apt' in /etc/cron.daily do?

2013-10-08 Thread Harry Putnam
Bob Proulx b...@proulx.com writes: Thanks for the in depth explanations and advice. Very helpful. Of course there are other ways, like removing the /etc/cron.daily/logrotate script altogether and running logrotate from roots' crontab. Under the principle of where do you stop I think that is

Re: What does 'apt' in /etc/cron.daily do?

2013-10-07 Thread Curt
On 2013-10-06, Bob Proulx b...@proulx.com wrote: I think that comment was basically that /etc/cron.daily/apt doesn't have anything to do with log rotation. So you are barking up the wrong tree. Maybe he thought that given the apt script is run before the logrotate script in cron.daily (if

Re: What does 'apt' in /etc/cron.daily do?

2013-10-07 Thread Chris Bannister
On Mon, Oct 07, 2013 at 07:57:46AM +, Curt wrote: On 2013-10-06, Bob Proulx b...@proulx.com wrote: I think that comment was basically that /etc/cron.daily/apt doesn't have anything to do with log rotation. So you are barking up the wrong tree. Maybe he thought that given the apt

Re: What does 'apt' in /etc/cron.daily do?

2013-10-07 Thread Curt
On 2013-10-07, Chris Bannister cbannis...@slingshot.co.nz wrote: Maybe he thought that given the apt script is run before the logrotate script in cron.daily (if indeed they're handled in alphabetical order? (apparently, yes, they're run in 'lexical sort order' order according to the

Re: What does 'apt' in /etc/cron.daily do?

2013-10-07 Thread Chris Bannister
On Mon, Oct 07, 2013 at 12:09:27PM +, Curt wrote: On 2013-10-07, Chris Bannister cbannis...@slingshot.co.nz wrote: Remember what Benny Hill said: https://www.youtube.com/watch?v=R6jaKkE0RsI but not an assumption a statement that is assumed to be true and from which a conclusion

Re: What does 'apt' in /etc/cron.daily do?

2013-10-07 Thread Harry Putnam
Curt cu...@free.fr writes: On 2013-10-06, Bob Proulx b...@proulx.com wrote: I think that comment was basically that /etc/cron.daily/apt doesn't have anything to do with log rotation. So you are barking up the wrong tree. Maybe he thought that given the apt script is run before the

Re: What does 'apt' in /etc/cron.daily do?

2013-10-07 Thread Bob Proulx
Harry Putnam wrote: Further testing... first take anacron out of play as BobP suggests. I removed the the anacron part of the line in /etc/crontab original(except dates) : Just for the record I was suggesting: apt-get remove anacron That by itself should be sufficient. And then if you

Re: What does 'apt' in /etc/cron.daily do?

2013-10-07 Thread Bob Proulx
Harry Putnam wrote: One final question: I decided to rename the /etc/cron.daily/logrotate script to /etc/cron.daily/00logrotate, so that it runs first. Just in case what ever caused my problem ... comes up again. At least 00logrotate will have the best chance of getting run. I just find it

Re: What does 'apt' in /etc/cron.daily do?

2013-10-06 Thread Chris Bannister
On Sat, Oct 05, 2013 at 10:39:38AM -0400, Harry Putnam wrote: Logrotation is not happening for some reason, so stumbling around What is output of: apt-cache policy logrotate investigating and ran up on /etc/cron.daily/apt Are we on the same page here? What is the /etc/cron.daily/apt script

Re: What does 'apt' in /etc/cron.daily do?

2013-10-06 Thread Harry Putnam
Chris Bannister cbannis...@slingshot.co.nz writes: On Sat, Oct 05, 2013 at 10:39:38AM -0400, Harry Putnam wrote: Logrotation is not happening for some reason, so stumbling around What is output of: apt-cache policy logrotate , | logrotate: | Installed: 3.8.6-1 | Candidate: 3.8.6-1 |

Re: What does 'apt' in /etc/cron.daily do?

2013-10-06 Thread Bob Proulx
Harry Putnam wrote: Chris Bannister writes: Harry Putnam wrote: Logrotation is not happening for some reason, so stumbling around A cron related problem. What is output of: apt-cache policy logrotate Just to show that you do have logrotate installed. You do. So it is on the cron side

Re: What does 'apt' in /etc/cron.daily do?

2013-10-06 Thread Jonathan
On Sun, 06 Oct 2013 13:19:35 -0400 Harry Putnam rea...@newsguy.com wrote: Is 25.5 minutes normal for that script? The script has a sleep for up to 30 minutes, so everybody's script does not hit the mirrors at the same time. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org

What does 'apt' in /etc/cron.daily do?

2013-10-05 Thread Harry Putnam
Logrotation is not happening for some reason, so stumbling around investigating and ran up on /etc/cron.daily/apt Ok, maybe a bit of a lamer here but: What is the /etc/cron.daily/apt script supposed to do? Looking thru the script, I couldn't make heads or tails of it. -- To UNSUBSCRIBE,