[Pkg-ceph-commits] [ceph] 02/04: new patch to avoid rotate empty logs

Dmitry Smirnov onlyjob at moszumanska.debian.org
Tue Mar 25 22:00:10 UTC 2014


This is an automated email from the git hooks/post-receive script.

onlyjob pushed a commit to branch experimental
in repository ceph.

commit b6222f6
Author: Dmitry Smirnov <onlyjob at member.fsf.org>
Date:   Tue Mar 25 18:01:10 2014

    new patch to avoid rotate empty logs
---
 debian/changelog               |  1 +
 debian/patches/logrotate.patch | 15 +++++++++++++++
 debian/patches/series          |  1 +
 3 files changed, 17 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 97da941..d358b7f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ ceph (0.78-2) experimental; urgency=low
   * Patchworks:
     + refreshed/renamed/reordered "virtualenv-never-download.patch".
     + new "init.patch" for init.d scripts lintianisation.
+    + new "logrotate.patch" to avoid rotating empty logs.
     + new "fix-defaultweight.patch" to fix weight calculation on OSD start.
   * Use symlinks to simplify installation of init.d and logrotate scripts.
   * Added retrospective changelog entry to mention new B-D "libblkid-dev".
diff --git a/debian/patches/logrotate.patch b/debian/patches/logrotate.patch
new file mode 100644
index 0000000..d804236
--- /dev/null
+++ b/debian/patches/logrotate.patch
@@ -0,0 +1,15 @@
+Last-Update: 2014-03-25
+Forwarded: no
+Author: Dmitry Smirnov <onlyjob at member.fsf.org>
+Description: logrotate improvement
+ * do not rotate empty logs
+
+--- a/src/logrotate.conf
++++ b/src/logrotate.conf
+@@ -24,5 +24,6 @@
+             done
+         fi
+     endscript
+     missingok
++    notifempty
+ }
diff --git a/debian/patches/series b/debian/patches/series
index 1c30ba0..ff7416a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,4 +1,5 @@
 fix-defaultweight.patch
 init.patch
+logrotate.patch
 modules.patch
 virtualenv-never-download.patch

-- 
Alioth's hooks/post-receive on /srv/git.debian.org/git/pkg-ceph/ceph.git



More information about the Pkg-ceph-commits mailing list