[fedora-virt-maint] rpms/libvirt/F-12 libvirt-change-logrotate-config-to-weekly.patch, NONE, 1.1 libvirt.spec, 1.186, 1.187

Mark McLoughlin markmc at fedoraproject.org
Tue Oct 6 09:43:53 UTC 2009


Author: markmc

Update of /cvs/pkgs/rpms/libvirt/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19681

Modified Files:
	libvirt.spec 
Added Files:
	libvirt-change-logrotate-config-to-weekly.patch 
Log Message:
* Tue Oct  6 2009 Mark McLoughlin <markmc at redhat.com> - 0.7.1-9
- Change logrotate config to weekly (#526769)


libvirt-change-logrotate-config-to-weekly.patch:
 libvirtd.logrotate.in |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

--- NEW FILE libvirt-change-logrotate-config-to-weekly.patch ---
>From bcd4180124afa20580d720912e2179b3a2f9295a Mon Sep 17 00:00:00 2001
From: Daniel Veillard <veillard at redhat.com>
Date: Mon, 5 Oct 2009 17:03:14 +0200
Subject: [PATCH] 526769 change logrotate config default to weekly

* daemon/libvirtd.logrotate.in: change to weekly rotation of logs,
  keep a month worth of data and also extend to cover LXC and UML
  domain logs

(cherry picked from commit 529325bbdd050af89bda5a5c1a01b5553c49a57e)

Fedora-patch: libvirt-change-logrotate-config-to-weekly.patch
---
 qemud/libvirtd.logrotate.in |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/qemud/libvirtd.logrotate.in b/qemud/libvirtd.logrotate.in
index 9b42630..093651c 100644
--- a/qemud/libvirtd.logrotate.in
+++ b/qemud/libvirtd.logrotate.in
@@ -1,7 +1,7 @@
- at localstatedir@/log/libvirt/qemu/*.log {
-        daily
+ at localstatedir@/log/libvirt/qemu/*.log @localstatedir@/log/libvirt/uml/*.log @localstatedir@/log/libvirt/lxc/*.log {
+        weekly
         missingok
-        rotate 7
+        rotate 4
         compress
         delaycompress
         copytruncate
-- 
1.6.2.5



Index: libvirt.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libvirt/F-12/libvirt.spec,v
retrieving revision 1.186
retrieving revision 1.187
diff -u -p -r1.186 -r1.187
--- libvirt.spec	1 Oct 2009 15:17:32 -0000	1.186
+++ libvirt.spec	6 Oct 2009 09:43:52 -0000	1.187
@@ -151,7 +151,7 @@
 Summary: Library providing a simple API virtualization
 Name: libvirt
 Version: 0.7.1
-Release: 8%{?dist}%{?extra_release}
+Release: 9%{?dist}%{?extra_release}
 License: LGPLv2+
 Group: Development/Libraries
 Source: http://libvirt.org/sources/libvirt-%{version}.tar.gz
@@ -175,6 +175,9 @@ Patch06: libvirt-disable-audio-backend.p
 # Re-label qcow2 backing files (#497131)
 Patch07: libvirt-svirt-relabel-qcow2-backing-files.patch
 
+# Change logrotate config to weekly (#526769)
+Patch08: libvirt-change-logrotate-config-to-weekly.patch
+
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 URL: http://libvirt.org/
 BuildRequires: python-devel
@@ -394,6 +397,7 @@ of recent versions of Linux (and other O
 %patch05 -p1
 %patch06 -p1
 %patch07 -p1
+%patch08 -p1
 
 %build
 %if ! %{with_xen}
@@ -784,6 +788,9 @@ fi
 %endif
 
 %changelog
+* Tue Oct  6 2009 Mark McLoughlin <markmc at redhat.com> - 0.7.1-9
+- Change logrotate config to weekly (#526769)
+
 * Thu Oct  1 2009 Mark McLoughlin <markmc at redhat.com> - 0.7.1-8
 - Disable sound backend, even when selinux is disabled (#524499)
 - Re-label qcow2 backing files (#497131)




More information about the Fedora-virt-maint mailing list