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
I had this too over a year on testing/unstable. I did put --verbose to
logrotate, it seems samba nmbd is causing it.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=702201
There is already bug reported about it.
From Cron message:
rotating pattern: /var/log/samba/log.nmbd weekly (7 rotations)
empty log files are not rotated, old logs are removed
considering log /var/log/samba/log.nmbd
log needs rotating
rotating log /var/log/samba/log.nmbd, log->rotateCount is 7
dateext suffix '-20130818'
glob pattern '-[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]'
renaming /var/log/samba/log.nmbd.7.gz to /var/log/samba/log.nmbd.8.gz
(rotatecount 7, logstart 1, i 7),
renaming /var/log/samba/log.nmbd.6.gz to /var/log/samba/log.nmbd.7.gz
(rotatecount 7, logstart 1, i 6),
renaming /var/log/samba/log.nmbd.5.gz to /var/log/samba/log.nmbd.6.gz
(rotatecount 7, logstart 1, i 5),
renaming /var/log/samba/log.nmbd.4.gz to /var/log/samba/log.nmbd.5.gz
(rotatecount 7, logstart 1, i 4),
renaming /var/log/samba/log.nmbd.3.gz to /var/log/samba/log.nmbd.4.gz
(rotatecount 7, logstart 1, i 3),
renaming /var/log/samba/log.nmbd.2.gz to /var/log/samba/log.nmbd.3.gz
(rotatecount 7, logstart 1, i 2),
renaming /var/log/samba/log.nmbd.1.gz to /var/log/samba/log.nmbd.2.gz
(rotatecount 7, logstart 1, i 1),
renaming /var/log/samba/log.nmbd.0.gz to /var/log/samba/log.nmbd.1.gz
(rotatecount 7, logstart 1, i 0),
old log /var/log/samba/log.nmbd.0.gz does not exist
renaming /var/log/samba/log.nmbd to /var/log/samba/log.nmbd.1
creating new /var/log/samba/log.nmbd mode = 0644 uid = 0 gid = 0
running postrotate script
compressing log with: /bin/gzip
gzip: stdin: file size changed while zipping
removing old log /var/log/samba/log.nmbd.8.gz
End of /var/log/samba/log.nmbd.1.gz:
[2013/08/18 06:25:03, 0] nmbd/nmbd.c:128(nmbd_sig_hup_handler)
Got SIGHUP dumping debug info.
[2013/08/18 06:25:03, 0] nmbd/nmbd_workgroupdb.c:276(dump_workgroups)
dump_workgroups()
dump workgroup on subnet 10.0.0.1: netmask= 255.255.255.0:
WORKGROUP(1) current master browser = FIREWALL
FIREWALL 40849a03 (firewall server)
SERVER 40801a03 ()
[2013/08/18 06:25:03, 0] nmbd/nmbd_workgroupdb.c:276(dump_workgroups)
dump_workgroups()
dump workgroup on subnet UNICAST_SUBNET: netmask= 10.0.0.1:
WORKGROUP(1) current master browser = UNKNOWN
FIREWALL 40819a03 (firewall server)
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/52108d29.8030...@pp.nic.fi