Hello community,
here is the log from the commit of package device-mapper for openSUSE:Factory
checked in at Fri Feb 18 13:38:20 CET 2011.
--------
--- device-mapper/device-mapper.changes 2011-01-14 11:08:50.000000000 +0100
+++ /mounts/work_src_done/STABLE/device-mapper/device-mapper.changes 2011-02-15 10:00:39.000000000 +0100
@@ -1,0 +2,10 @@
+Tue Feb 15 08:57:07 UTC 2011 - xwhu@novell.com
+
+- Update to device mapper 1.2.63
+ - Add configure --with-device-nodes-on=create for previous
+ behaviour.
+ - Move creation of device nodes from 'create' to 'resume'.
+ - Add dmeventd -R to restart dmeventd without losing monitoring
+ state
+
+-------------------------------------------------------------------
--- device-mapper/lvm2.changes 2010-11-11 13:24:19.000000000 +0100
+++ /mounts/work_src_done/STABLE/device-mapper/lvm2.changes 2011-02-15 10:00:44.000000000 +0100
@@ -1,0 +2,14 @@
+Tue Feb 15 08:48:48 UTC 2011 - xwhu@novell.com
+
+- Update to LVM 2.02.84
+ - Fix handling of simultaneous mirror image and mirrored log
+ image failure.
+ - Fix vgremove to allow removal of VG with missing PVs
+ - Remove log directly if all mirror images of a mirrored log fail
+ - Fix potential for corruption during cluster mirror device
+ failure
+ - Allow internal suspend and resume of origin without its
+ snapshots
+ - Allow exclusive activation of snapshots in a cluster
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
LVM2.2.02.67.tgz
fix-typo.diff
New:
----
LVM2.2.02.84.tgz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ device-mapper.spec ++++++
--- /var/tmp/diff_new_pack.Ws0cUk/_old 2011-02-18 13:38:04.000000000 +0100
+++ /var/tmp/diff_new_pack.Ws0cUk/_new 2011-02-18 13:38:04.000000000 +0100
@@ -26,10 +26,10 @@
Obsoletes: device-mapper-64bit
%endif
#
-Version: 1.02.49
-Release: 13
+Version: 1.02.63
+Release: 1
Summary: Device Mapper Tools
-Source: LVM2.2.02.67.tgz
+Source: LVM2.2.02.84.tgz
Source1: boot.device-mapper
Source2: mkinitrd-devmapper-setup.sh
Source3: mkinitrd-devmapper-boot.sh
@@ -43,7 +43,6 @@
Patch66: device-mapper-type_punning.diff
Patch67: udev-rules_update.diff
#Patch68: device-mapper-pkgconfig.patch
-Patch69: fix-typo.diff
Patch70: sleep-try-open-count.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libselinux-devel libudev-devel
@@ -63,7 +62,7 @@
Files needed for software development using the device mapper
%prep
-%setup -n LVM2.2.02.67
+%setup -n LVM2.2.02.84
%patch60 -p1
%patch61 -p1
%patch62 -p1
@@ -72,7 +71,6 @@
%patch66 -p0
%patch67 -p1
#%patch68 -p0
-%patch69 -p1
%patch70 -p1
#%patch80 -p0
@@ -131,6 +129,7 @@
/sbin/dmeventd
#/sbin/devmap_mknod.sh
%{_mandir}/man8/dmsetup.8.gz
+%{_mandir}/man8/dmeventd.8.gz
%dir /lib/mkinitrd
%dir /lib/mkinitrd/scripts
/lib/mkinitrd/scripts/setup-dm.sh
++++++ lvm2-clvm.spec ++++++
--- /var/tmp/diff_new_pack.Ws0cUk/_old 2011-02-18 13:38:04.000000000 +0100
+++ /var/tmp/diff_new_pack.Ws0cUk/_new 2011-02-18 13:38:04.000000000 +0100
@@ -23,8 +23,8 @@
BuildRequires: libselinux-devel
License: GPLv2+ ; LGPLv2.1+
Group: System/Base
-Version: 2.02.67
-Release: 11
+Version: 2.02.84
+Release: 1
Requires: device-mapper >= 1.02.25 lvm2 = %{version} openais
Provides: clvm
PreReq: %fillup_prereq %insserv_prereq
++++++ lvm2.spec ++++++
--- /var/tmp/diff_new_pack.Ws0cUk/_old 2011-02-18 13:38:04.000000000 +0100
+++ /var/tmp/diff_new_pack.Ws0cUk/_new 2011-02-18 13:38:04.000000000 +0100
@@ -27,8 +27,8 @@
Provides: lvm
PreReq: %fillup_prereq %insserv_prereq
AutoReqProv: on
-Version: 2.02.67
-Release: 13
+Version: 2.02.84
+Release: 1
Summary: LVM2 Tools
Source: LVM2.%{version}.tgz
Source1: lvm.conf
@@ -56,7 +56,6 @@
Patch61: device-mapper-dmsetup-export.patch
Patch62: device-mapper-gcc-warning.diff
Patch65: device-mapper-dmsetup-deps-export.patch
-Patch69: fix-typo.diff
Patch81: udev-rules_update.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -90,7 +89,6 @@
%patch62 -p1
#%patch63 -p1
%patch65 -p1
-%patch69 -p1
#%patch80 -p0
%patch81 -p1
@@ -278,5 +276,8 @@
%{_mandir}/man8/vgs.8.gz
%{_mandir}/man8/vgscan.8.gz
%{_mandir}/man8/vgsplit.8.gz
+%{_mandir}/man8/lvmconf.8.gz
+%{_mandir}/man8/lvmsadc.8.gz
+%{_mandir}/man8/lvmsar.8.gz
%changelog
++++++ LVM2.2.02.67.tgz -> LVM2.2.02.84.tgz ++++++
++++ 67881 lines of diff (skipped)
++++++ cmdline_large_minor.diff ++++++
--- /var/tmp/diff_new_pack.Ws0cUk/_old 2011-02-18 13:38:04.000000000 +0100
+++ /var/tmp/diff_new_pack.Ws0cUk/_new 2011-02-18 13:38:04.000000000 +0100
@@ -1,14 +1,14 @@
Index: tools/lvmcmdline.c
===================================================================
---- tools/lvmcmdline.c.orig 2010-01-12 03:19:17.000000000 +0800
-+++ tools/lvmcmdline.c 2010-02-04 13:59:18.000000000 +0800
-@@ -371,8 +371,8 @@
- if (!_get_int_arg(a, &ptr) || (*ptr) || (a->sign == SIGN_MINUS))
+--- tools/lvmcmdline.c.orig 2011-01-13 23:00:29.000000000 +0800
++++ tools/lvmcmdline.c 2011-02-15 14:59:30.000000000 +0800
+@@ -380,8 +380,8 @@
+ if (!_get_int_arg(av, &ptr) || (*ptr) || (av->sign == SIGN_MINUS))
return 0;
-- if (a->i_value > 255) {
+- if (av->i_value > 255) {
- log_error("Minor number outside range 0-255");
-+ if (a->i_value > 1048575) {
++ if (av->i_value > 1048575) {
+ log_error("Minor number outside range 0-1048575");
return 0;
}
++++++ device-mapper-dmsetup-deps-export.patch ++++++
--- /var/tmp/diff_new_pack.Ws0cUk/_old 2011-02-18 13:38:04.000000000 +0100
+++ /var/tmp/diff_new_pack.Ws0cUk/_new 2011-02-18 13:38:04.000000000 +0100
@@ -1,8 +1,8 @@
-Index: LVM2.2.02.67/tools/dmsetup.c
+Index: LVM2.2.02.84/tools/dmsetup.c
===================================================================
---- LVM2.2.02.67.orig/tools/dmsetup.c 2010-07-05 16:35:06.000000000 +0800
-+++ LVM2.2.02.67/tools/dmsetup.c 2010-07-05 17:21:39.000000000 +0800
-@@ -1610,6 +1610,7 @@
+--- LVM2.2.02.84.orig/tools/dmsetup.c 2011-02-15 15:00:52.000000000 +0800
++++ LVM2.2.02.84/tools/dmsetup.c 2011-02-15 15:00:54.000000000 +0800
+@@ -1645,6 +1645,7 @@
const char *name = NULL;
const char *uuid = NULL;
struct dm_info info;
@@ -10,7 +10,7 @@
if (data)
name = names->name;
-@@ -1679,6 +1680,28 @@
+@@ -1714,6 +1715,28 @@
printf("\n");
}
++++++ device-mapper-dmsetup-export.patch ++++++
--- /var/tmp/diff_new_pack.Ws0cUk/_old 2011-02-18 13:38:04.000000000 +0100
+++ /var/tmp/diff_new_pack.Ws0cUk/_new 2011-02-18 13:38:04.000000000 +0100
@@ -1,8 +1,8 @@
-Index: LVM2.2.02.58/tools/dmsetup.c
+Index: LVM2.2.02.84/tools/dmsetup.c
===================================================================
---- LVM2.2.02.58.orig/tools/dmsetup.c 2010-01-14 18:15:23.000000000 +0800
-+++ LVM2.2.02.58/tools/dmsetup.c 2010-02-04 11:23:23.000000000 +0800
-@@ -1457,6 +1457,94 @@
+--- LVM2.2.02.84.orig/tools/dmsetup.c 2011-02-05 06:17:55.000000000 +0800
++++ LVM2.2.02.84/tools/dmsetup.c 2011-02-15 14:44:42.000000000 +0800
+@@ -1633,6 +1633,94 @@
return r;
}
@@ -95,9 +95,9 @@
+}
+
/* Show target names and their version numbers */
- static int _targets(int argc __attribute((unused)), char **argv __attribute((unused)), void *data __attribute((unused)))
+ static int _targets(int argc __attribute__((unused)), char **argv __attribute__((unused)), void *data __attribute__((unused)))
{
-@@ -2556,6 +2644,7 @@
+@@ -2735,6 +2823,7 @@
{"info", "[<device>]", 0, 1, _info},
{"deps", "[<device>]", 0, 1, _deps},
{"status", "[<device>] [--target ]", 0, 1, _status},
@@ -105,11 +105,11 @@
{"table", "[<device>] [--target ] [--showkeys]", 0, 1, _status},
{"wait", "<device> []", 0, 2, _wait},
{"mknodes", "[<device>]", 0, 1, _mknodes},
-Index: LVM2.2.02.58/man/dmsetup.8.in
+Index: LVM2.2.02.84/man/dmsetup.8.in
===================================================================
---- LVM2.2.02.58.orig/man/dmsetup.8.in 2010-01-08 03:45:12.000000000 +0800
-+++ LVM2.2.02.58/man/dmsetup.8.in 2010-02-04 11:23:23.000000000 +0800
-@@ -46,6 +46,9 @@
+--- LVM2.2.02.84.orig/man/dmsetup.8.in 2011-02-05 03:33:54.000000000 +0800
++++ LVM2.2.02.84/man/dmsetup.8.in 2011-02-15 14:44:42.000000000 +0800
+@@ -50,6 +50,9 @@
.I [--noheadings] [--separator separator] [-o fields] [-O|--sort sort_fields]
.I [device_name]
.br
@@ -119,7 +119,7 @@
.B dmsetup deps
.I [device_name]
.br
-@@ -174,6 +177,10 @@
+@@ -200,6 +203,10 @@
If successful a device will appear as
/dev/device-mapper/<device-name>.
See below for information on the table format.
++++++ device-mapper-gcc-warning.diff ++++++
--- /var/tmp/diff_new_pack.Ws0cUk/_old 2011-02-18 13:38:04.000000000 +0100
+++ /var/tmp/diff_new_pack.Ws0cUk/_new 2011-02-18 13:38:04.000000000 +0100
@@ -1,7 +1,7 @@
-Index: LVM2.2.02.67/libdm/datastruct/hash.c
+Index: LVM2.2.02.84/libdm/datastruct/hash.c
===================================================================
---- LVM2.2.02.67.orig/libdm/datastruct/hash.c 2009-11-03 08:45:35.000000000 +0800
-+++ LVM2.2.02.67/libdm/datastruct/hash.c 2010-06-23 13:39:59.000000000 +0800
+--- LVM2.2.02.84.orig/libdm/datastruct/hash.c 2010-10-01 05:06:52.000000000 +0800
++++ LVM2.2.02.84/libdm/datastruct/hash.c 2011-02-15 14:45:59.000000000 +0800
@@ -19,7 +19,7 @@
struct dm_hash_node *next;
void *data;
@@ -11,7 +11,7 @@
};
struct dm_hash_table {
-@@ -140,7 +140,7 @@
+@@ -136,7 +136,7 @@
static struct dm_hash_node **_find(struct dm_hash_table *t, const char *key,
uint32_t len)
{
@@ -20,22 +20,22 @@
struct dm_hash_node **c;
for (c = &t->slots[h]; *c; c = &((*c)->next)) {
-@@ -239,7 +239,7 @@
- char *dm_hash_get_key(struct dm_hash_table *t __attribute((unused)),
+@@ -235,7 +235,7 @@
+ char *dm_hash_get_key(struct dm_hash_table *t __attribute__((unused)),
struct dm_hash_node *n)
{
- return n->key;
+ return (char*)n->key;
}
- void *dm_hash_get_data(struct dm_hash_table *t __attribute((unused)),
-Index: LVM2.2.02.67/libdm/ioctl/libdm-iface.c
+ void *dm_hash_get_data(struct dm_hash_table *t __attribute__((unused)),
+Index: LVM2.2.02.84/libdm/ioctl/libdm-iface.c
===================================================================
---- LVM2.2.02.67.orig/libdm/ioctl/libdm-iface.c 2010-06-02 00:08:13.000000000 +0800
-+++ LVM2.2.02.67/libdm/ioctl/libdm-iface.c 2010-06-23 13:40:37.000000000 +0800
-@@ -1884,7 +1884,8 @@
- dmt->no_flush ? 'N' : 'F',
+--- LVM2.2.02.84.orig/libdm/ioctl/libdm-iface.c 2011-02-05 05:26:33.000000000 +0800
++++ LVM2.2.02.84/libdm/ioctl/libdm-iface.c 2011-02-15 14:45:59.000000000 +0800
+@@ -1983,7 +1983,8 @@
dmt->skip_lockfs ? "S " : "",
+ dmt->secure_data ? "W " : "",
dmt->query_inactive_table ? "I " : "",
- dmt->sector, _sanitise_message(dmt->message),
+ (unsigned long long int)dmt->sector,
++++++ improve_probing.diff ++++++
--- /var/tmp/diff_new_pack.Ws0cUk/_old 2011-02-18 13:38:04.000000000 +0100
+++ /var/tmp/diff_new_pack.Ws0cUk/_new 2011-02-18 13:38:04.000000000 +0100
@@ -1,7 +1,7 @@
Index: lib/filters/filter.c
===================================================================
---- lib/filters/filter.c.orig 2010-06-23 13:29:26.000000000 +0800
-+++ lib/filters/filter.c 2010-06-23 13:29:27.000000000 +0800
+--- lib/filters/filter.c.orig 2011-01-27 08:21:37.000000000 +0800
++++ lib/filters/filter.c 2011-02-15 14:56:43.000000000 +0800
@@ -13,6 +13,12 @@
* Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
@@ -15,17 +15,16 @@
#include "lib.h"
#include "dev-cache.h"
#include "filter.h"
-@@ -139,11 +145,18 @@
+@@ -147,11 +153,18 @@
}
/* Check it's accessible */
-- if (!dev_open_flags(dev, O_RDONLY, 0, 1)) {
-+ if (!dev_open_flags(dev, O_RDONLY|O_NONBLOCK, 0, 1)) {
+- if (!dev_open_flags(dev, O_RDONLY, 1, 1)) {
++ if (!dev_open_flags(dev, O_RDONLY|O_NONBLOCK, 1, 1)) {
log_debug("%s: Skipping: open failed", name);
return 0;
}
--
-+
+
+ /* Skip cdrom device */
+ #define CDROM_GET_CAPABILITY 0x5331
+ if (ioctl(dev->fd, CDROM_GET_CAPABILITY) >= 0) {
++++++ no_buildroot_shared.diff ++++++
--- /var/tmp/diff_new_pack.Ws0cUk/_old 2011-02-18 13:38:04.000000000 +0100
+++ /var/tmp/diff_new_pack.Ws0cUk/_new 2011-02-18 13:38:04.000000000 +0100
@@ -1,10 +1,10 @@
Index: tools/Makefile.in
===================================================================
---- tools/Makefile.in.orig 2010-06-23 13:29:26.000000000 +0800
-+++ tools/Makefile.in 2010-06-23 13:29:59.000000000 +0800
-@@ -106,7 +106,7 @@
-
- LVMLIBS += -ldevmapper
+--- tools/Makefile.in.orig 2011-02-15 14:57:28.000000000 +0800
++++ tools/Makefile.in 2011-02-15 14:57:32.000000000 +0800
+@@ -109,7 +109,7 @@
+ EXPORTED_HEADER = $(srcdir)/lvm2cmd.h
+ EXPORTED_FN_PREFIX = lvm2
-DEFS += -DLVM_SHARED_PATH=\"$(exec_prefix)/sbin/lvm\"
+DEFS += -DLVM_SHARED_PATH=\"/sbin/lvm\"
++++++ udev-rules_update.diff ++++++
--- /var/tmp/diff_new_pack.Ws0cUk/_old 2011-02-18 13:38:04.000000000 +0100
+++ /var/tmp/diff_new_pack.Ws0cUk/_new 2011-02-18 13:38:04.000000000 +0100
@@ -1,64 +1,8 @@
-Index: LVM2.2.02.67/udev/10-dm.rules.in
+Index: LVM2.2.02.84/udev/10-dm.rules.in
===================================================================
---- LVM2.2.02.67.orig/udev/10-dm.rules.in 2010-06-25 11:35:12.000000000 +0800
-+++ LVM2.2.02.67/udev/10-dm.rules.in 2010-06-25 11:38:54.000000000 +0800
-@@ -37,11 +37,16 @@
- # kernels >= 2.6.31 only.
- ENV{DM_COOKIE}=="?*", IMPORT{program}="$env{DM_SBIN_PATH}/dmsetup udevflags $env{DM_COOKIE}"
-
--# Normally, we would test for DM_UDEV_DISABLE_DM_RULES_FLAG here and skip
--# the rules if set. However, we need to set DM_* environment variables
--# for now to properly filter out inappropriate events. This dependency
--# might be removed in the future.
--
-+# Device created, major and minor number assigned - "add" event generated.
-+# Table loaded - no event generated.
-+# Device resumed (or renamed) - "change" event generated.
-+# Device removed - "remove" event generated.
-+#
-+# The dm-X nodes are always created, even on "add" event, we can't suppress
-+# that (the node is created even earlier with devtmpfs). All the symlinks
-+# (e.g. /dev/mapper) are created in right time after a device has its table
-+# loaded and is properly resumed. For this reason, direct use of dm-X nodes
-+# is not recommended.
- ACTION!="add|change", GOTO="dm_end"
-
- # There is no cookie set nor any flags encoded in events not originating
-@@ -55,6 +60,7 @@
- IMPORT{db}="DM_UDEV_DISABLE_OTHER_RULES_FLAG"
- IMPORT{db}="DM_UDEV_LOW_PRIORITY_FLAG"
- IMPORT{db}="DM_UDEV_DISABLE_LIBRARY_FALLBACK_FLAG"
-+IMPORT{db}="DM_UDEV_PRIMARY_SOURCE_FLAG"
- IMPORT{db}="DM_UDEV_FLAG7"
- IMPORT{db}="DM_SUBSYSTEM_UDEV_FLAG0"
- IMPORT{db}="DM_SUBSYSTEM_UDEV_FLAG1"
-@@ -66,12 +72,19 @@
- IMPORT{db}="DM_SUBSYSTEM_UDEV_FLAG7"
- LABEL="dm_flags_done"
-
--# Normally, we operate on "change" events only. But when
--# coldplugging, there's an "add" event present. We have to
--# recognize this and do our actions in this particular
--# situation, too. Also, we don't want the nodes to be
--# created prematurely on "add" events while not coldplugging.
--ACTION=="add", ENV{STARTUP}!="1", NAME="", GOTO="dm_end"
-+# Normally, we operate on "change" events. But when coldplugging, there's an
-+# "add" event present. We have to recognize this and do our actions in this
-+# particular situation, too. Also, we don't want the nodes to be created
-+# prematurely on "add" events while not coldplugging. We check
-+# DM_UDEV_PRIMARY_SOURCE_FLAG to see if the device was activated correctly
-+# before and if not, we ignore the "add" event totally. This way we can support
-+# udev triggers generating "add" events (e.g. "udevadm trigger --action=add" or
-+# "echo add > /sys/block//uevent"). The trigger with "add" event is
-+# also used at boot to reevaluate udev rules for all existing devices activated
-+# before (e.g. in initrd). If udev is used in initrd, we require the udev init
-+# script to not remove the existing udev database so we can reuse the information
-+# stored at the time of device activation in the initrd.
-+ACTION=="add", ENV{DM_UDEV_PRIMARY_SOURCE_FLAG}!="1", GOTO="dm_disable"
-
- # "dm" sysfs subdirectory is available in newer versions of DM
- # only (kernels >= 2.6.29). We have to check for its existence
-@@ -84,6 +97,10 @@
+--- LVM2.2.02.84.orig/udev/10-dm.rules.in 2011-01-28 19:41:52.000000000 +0800
++++ LVM2.2.02.84/udev/10-dm.rules.in 2011-02-15 14:50:19.000000000 +0800
+@@ -94,6 +94,10 @@
TEST!="dm", IMPORT{program}="$env{DM_SBIN_PATH}/dmsetup info -j %M -m %m -c --nameprefixes --noheadings --rows -o name,uuid,suspended"
ENV{DM_SUSPENDED}!="?*", IMPORT{program}="$env{DM_SBIN_PATH}/dmsetup info -j %M -m %m -c --nameprefixes --noheadings --rows -o suspended"
@@ -69,10 +13,10 @@
# dmsetup tool provides suspended state information in textual
# form with values "Suspended"/"Active". We translate it to
# 0/1 respectively to be consistent with sysfs values.
-Index: LVM2.2.02.67/udev/13-dm-disk.rules
+Index: LVM2.2.02.84/udev/13-dm-disk.rules
===================================================================
---- LVM2.2.02.67.orig/udev/13-dm-disk.rules 2010-06-25 11:35:12.000000000 +0800
-+++ LVM2.2.02.67/udev/13-dm-disk.rules 2010-06-25 11:35:17.000000000 +0800
+--- LVM2.2.02.84.orig/udev/13-dm-disk.rules 2009-11-13 20:33:27.000000000 +0800
++++ LVM2.2.02.84/udev/13-dm-disk.rules 2011-02-15 14:51:31.000000000 +0800
@@ -14,13 +14,16 @@
ENV{DM_UDEV_RULES_VSN}!="?*", GOTO="dm_end"
ENV{DM_UDEV_DISABLE_DISK_RULES_FLAG}=="1", GOTO="dm_end"
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org