Bug 531030

Summary: log file sized increased by "compression"
Product: [Fedora] Fedora Reporter: Ulrich Drepper <drepper>
Component: libvirtAssignee: Mark McLoughlin <markmc>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: berrange, clalance, crobinso, itamar, jforbes, markmc, veillard, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: libvirt-0.7.1-15.fc12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-10-30 12:37:31 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 498969    

Description Ulrich Drepper 2009-10-26 11:20:55 EDT
Description of problem:
Many log files libvirt creates in /var/log/libvirt/qemu/ have no content.  Still libvirt (or its helpers) "compress" them.  The result are nonzero-sized files.  Just don't do this, test for empty files first.  This will also prevent triggering other bugs (less, for instance, currently has problems showing such files).

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.run domain without any action for a few days
Actual results:
compress empty files

Expected results:
leave empty files alone

Additional info:
Comment 1 Cole Robinson 2009-10-26 11:30:07 EDT
FYI this is already fixed upstream:

Comment 2 Daniel Berrange 2009-10-26 15:22:07 EDT
Switching to POST as per Cole's comment.
Comment 3 Mark McLoughlin 2009-10-29 13:27:41 EDT
Worth fixing for Fedora 12, but probably not worth the effort for Fedora 11.

Building now:

* Thu Oct 29 2009 Mark McLoughlin <markmc@redhat.com> - 0.7.1-15
- Avoid compressing small log files (#531030)

Will request tagging later
Comment 4 Mark McLoughlin 2009-10-30 11:46:01 EDT
tag request: https://fedorahosted.org/rel-eng/ticket/2927