On Sun, Dec 07, 2014 at 04:21:46PM +0800, Paul Wise wrote:

> /etc/cron.daily/logrotate:
> gzip: stdin: file size changed while zipping

The difficulty is that the error comes from gzip itself, not from
logrotate.  As gzip exits with a zero error code, logrotate doesn't
add anything to the warning message from gzip.

To associate an error message with a particular script, logrotate
would have to capture stdout and stderr from its running of the
compressor and then prefix it with the name of the script or other
external program.

-- 
Paul Martin <[email protected]>

Attachment: signature.asc
Description: Digital signature

Reply via email to