Hi Paul,

On Samstag, 22. Mai 2010, Paul Martin wrote:
> These error messages are correct. Logrotate is complaining that the
> directory is missing, not that the files are missing. Logrotate
> doesn't fail in this situation (even though it shouldn't occur with
> correctly installed packages that have had time to accumulate logs),
> but complains on stderr. A message on stderr is not a sign of the
> failure of logrotate.

True, but wouldnt it be nicer if logrotate intercepted that error and thus 
surpresses the message? The logrotate config file used says its ok if the log 
is missing, so IMHO it should be ok too, if the directory is missing.

> The correct thing to do in this situation is to purge the package
> concerned, not just remove it.

I consider this to be a workaround. A removed package should not generate 
noise.

As it is, I consider removing this piuparts test alltogether, which I think 
would be sad, as the test can catch other, more severe problems.


cheers,
        Holger

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to