Error in cron logrotate 'gzip: stdin: file size changed while zipping'

Bug #1381939 reported by Diego
74
This bug affects 16 people
Affects Status Importance Assigned to Milestone
munin (Ubuntu)
Confirmed
Medium
Unassigned
Trusty
Won't Fix
Undecided
Unassigned
Bionic
Confirmed
Undecided
Unassigned
Focal
Confirmed
Undecided
Unassigned
Hirsute
Won't Fix
Undecided
Unassigned
Impish
Won't Fix
Medium
Unassigned

Bug Description

Hi

Sometimes, I get error messages from the logrotate cron daemon:
  /etc/cron.daily/logrotate:
  gzip: stdin: file size changed while zipping

This error can be solved adding delaycompress in the logrotate configuration file (/etc/logrotate.d/munin-node).

The same problem was corrected for server log files in version 2.0.13-1, but the patch was not applied to munin-node

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=705515

Thanks

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: munin-node 2.0.19-3
ProcVersionSignature: Ubuntu 3.13.0-37.64-generic 3.13.11.7
Uname: Linux 3.13.0-37-generic x86_64
NonfreeKernelModules: nvidia wl
ApportVersion: 2.14.1-0ubuntu3.5
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Oct 16 10:26:54 2014
InstallationDate: Installed on 2014-08-14 (62 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
PackageArchitecture: all
SourcePackage: munin
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.munin.plugin.conf.d.munin.node: [deleted]

Revision history for this message
Diego (diegorf) wrote :
Robie Basak (racb)
Changed in munin (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in munin (Ubuntu):
status: New → Confirmed
Revision history for this message
Sorin Sbarnea (ssbarnea) wrote :

I get the same error and I do not have munin installed and it seems that logrotate is missing to specify on which file it does encounter this.

Revision history for this message
The_Raven (originalraven) wrote :

Run this command to see what happens:
logrotate --force --debug /etc/logrotate.conf
Maybe you see what goes wrong.

Revision history for this message
Jon Ribbens (jribbens-r) wrote :

It would be nice if this bug were fixed some day. It's presumably affecting all Ubuntu users.

Revision history for this message
Alex Malinovich (alexmalinovich) wrote :

I've been running into the same issue. There's been no movement on the upstream Debian bug (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=702201) since 2014 so it should at least be addressed here.

Revision history for this message
Nish Aravamudan (nacc) wrote :

@Diego, has a new bug report been sent to Debian for munin-node?

@alexmalinovich: The samba bug is already fixed in Debian, and this bug report is for munin, afaict. Are you saying you are seeing the issue for samba as well?

Changed in munin (Ubuntu Hirsute):
status: New → Confirmed
Changed in munin (Ubuntu Focal):
status: New → Confirmed
Changed in munin (Ubuntu Bionic):
status: New → Confirmed
Changed in munin (Ubuntu Trusty):
status: New → Won't Fix
Revision history for this message
Miriam España Acebal (mirespace) wrote (last edit ):

Hi,

Trusty reached EOSS (End of Standard Support) so I'm afraid it can't be fixed. It is unfortunate that we were unable to resolve this defect, however, there appears to be no further action possible at this time because it's not a security bug.

By the way, I checked that the bug is present in the active Ubuntu series (delaycompress is only present in debian/munin.logrotate file, not in debian/munin-node.logrotate file), so I'm marking the bug as "Confirmed" for Impish, Hirsute, Groovy, Focal and Bionic.

tags: added: bionic focal groovy hirsute impish
removed: trusty
Revision history for this message
Brian Murray (brian-murray) wrote :

The Hirsute Hippo has reached End of Life, so this bug will not be fixed for that release.

Changed in munin (Ubuntu Hirsute):
status: Confirmed → Won't Fix
Revision history for this message
Brian Murray (brian-murray) wrote :

Ubuntu 21.10 (Impish Indri) has reached end of life, so this bug will not be fixed for that specific release.

Changed in munin (Ubuntu Impish):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.