[distcc] Re: Bug#203747: distcc should rotate distccd logs

Dag Wieers dag at wieers.com
Tue Aug 5 01:09:02 GMT 2003


On Tue, 5 Aug 2003, Martin Pool wrote:

> On  1 Aug 2003, Dag Wieers <dag at wieers.com> wrote:
>  
> > My package had a logrotate file, but it seems not to work using 
> > copytruncate and I'm not sure why. Is distcc just appending to the file ?
> 
> Yes, I think so.
> 
> > 	/var/log/distccd.log {
> > 	        missingok
> > 	        copytruncate
> > 	        notifempty
> > 	}
> 
> Let me test this.

Hmm, I just dug further into the problem. It seems that logrotate had a 
problem with the rcd logrotate configuration (red carpet, something I 
don't even use) and stops. Uninstalling that package even has a rpm 
scriptlet failing. logrotate shouldn't stop when one of its config files 
has an error of any kind (syntax, missing logfile, ...)

On other systems it has been succesfully rotating its logfiles. So it was 
just the wrong system I picked ;) I won't use my laptop as sample machine 
anymore...

Sorry for the confusion, the logrotate works.
--   dag wieers,  dag at wieers.com,  http://dag.wieers.com/   --
[Any errors in spelling, tact or fact are transmission errors]




More information about the distcc mailing list