[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: logrotate: file size changed while zipping



Hi,

Dňa Thu, 26 Jul 2012 15:21:34 +0000 (UTC) Camaleón <noelamac@gmail.com>
napísal:

> On Thu, 26 Jul 2012 10:42:30 +0200, Slavko wrote:
> 
> > in last days (perhaps weeks) i get daily mail from cron's logrotate
> > task with this:
> > 
> > /etc/cron.daily/logrotate:
> > gzip: stdin: file size changed while zipping
> 
> The error seems coming from "zip.c" library. Have you installed the
> stock version?

I am not sure, are you mean the gzip package? My gzip is from official repo:

LANG=C aptpo gzip
gzip:
  Installed: 1.5-1.1
  Candidate: 1.5-1.1
  Version table:
 *** 1.5-1.1 0
        500 http://ftp.cz.debian.org/debian/ testing/main amd64 Packages
        100 /var/lib/dpkg/status

> Also, have you edited any of the logrotate routines at "/etc/logrotate.d/
> *" or have you added a self-made one?

Yes, i have modified (one) and my own (two) routines there, but i have them
a long time before this message appears. They are untouched a long time
too. I check this now, and they last changes are some months ago (both
modified & custom) - march and older. The newest one
is /etc/logrotate.d/tor from 2012-07-06.

> If the warning can be reproduced consistently (every day) and you have 
> the official packages with no other editions/configurations made by you, 
> I would consider in filing a bug report.

Yes, they are daily here. Filling bugreport is no problem for me, but
first i want (need) to identify the source of this message, as you
properly pointed, they can come from my own or customized routines
(probably not, because they was a long time untouched).

Can i check this by finding the ungzipped old log files? Or is there way
to disable particular logrotate routine? Or some another way? I don't
know...

regards

-- 
Slavko
http://slavino.sk

Attachment: signature.asc
Description: PGP signature


Reply to: