r910 - in lvm2/trunk/debian: . patches

Bastian Blank waldi at alioth.debian.org
Sun May 27 12:27:52 UTC 2012


Author: waldi
Date: Sun May 27 12:27:52 2012
New Revision: 910

Log:
Disable monitoring by default.

* debian/changelog: Update.
* debian/patches: Add patch.

Added:
   lvm2/trunk/debian/patches/monitoring-default-off.patch
Modified:
   lvm2/trunk/debian/changelog
   lvm2/trunk/debian/patches/series

Modified: lvm2/trunk/debian/changelog
==============================================================================
--- lvm2/trunk/debian/changelog	Sun May 27 12:17:24 2012	(r909)
+++ lvm2/trunk/debian/changelog	Sun May 27 12:27:52 2012	(r910)
@@ -2,6 +2,7 @@
 
   * Force building with -j1.
   * Add dmeventd and libdevmapper-event packages. (closes: #514706)
+    - Disable monitoring by default.
 
  -- Bastian Blank <waldi at debian.org>  Sun, 27 May 2012 13:51:57 +0200
 

Added: lvm2/trunk/debian/patches/monitoring-default-off.patch
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ lvm2/trunk/debian/patches/monitoring-default-off.patch	Sun May 27 12:27:52 2012	(r910)
@@ -0,0 +1,17 @@
+Description: default to not monitoring so that regular LVM operation does not
+ require dmeventd running.
+Author: Kees Cook <kees at ubuntu.com>
+
+Index: trunk/lib/config/defaults.h
+===================================================================
+--- trunk.orig/lib/config/defaults.h
++++ trunk/lib/config/defaults.h
+@@ -57,7 +57,7 @@
+ #define DEFAULT_DMEVENTD_RAID_LIB "libdevmapper-event-lvm2raid.so"
+ #define DEFAULT_DMEVENTD_MIRROR_LIB "libdevmapper-event-lvm2mirror.so"
+ #define DEFAULT_DMEVENTD_SNAPSHOT_LIB "libdevmapper-event-lvm2snapshot.so"
+-#define DEFAULT_DMEVENTD_MONITOR 1
++#define DEFAULT_DMEVENTD_MONITOR -1
+ #define DEFAULT_BACKGROUND_POLLING 1
+ 
+ #define DEFAULT_UMASK 0077

Modified: lvm2/trunk/debian/patches/series
==============================================================================
--- lvm2/trunk/debian/patches/series	Sun May 27 12:17:24 2012	(r909)
+++ lvm2/trunk/debian/patches/series	Sun May 27 12:27:52 2012	(r910)
@@ -5,3 +5,4 @@
 #libdm-atomic.patch
 implicit-pointer.patch
 dm-event-api.patch
+monitoring-default-off.patch



More information about the pkg-lvm-commits mailing list