--- devmapper-1.02.27.orig/debian/dmeventd.manpages +++ devmapper-1.02.27/debian/dmeventd.manpages @@ -0,0 +1 @@ +debian/dmeventd.8 --- devmapper-1.02.27.orig/debian/patches/type-kernel_dev_t.patch +++ devmapper-1.02.27/debian/patches/type-kernel_dev_t.patch @@ -0,0 +1,43 @@ +--- devmapper-1.02.20.orig/lib/ioctl/libdm-compat.h ++++ devmapper-1.02.20/lib/ioctl/libdm-compat.h +@@ -19,6 +19,7 @@ + #include "kdev_t.h" + #include + #include ++#include + #include + + struct dm_task; +@@ -40,7 +41,7 @@ + int32_t open_count; /* out */ + uint32_t flags; /* in/out */ + +- __kernel_dev_t dev; /* in/out */ ++ devmapper_kernel_dev_t dev; /* in/out */ + + char name[DM_NAME_LEN]; /* device name */ + char uuid[DM_UUID_LEN]; /* unique identifier for +@@ -60,7 +61,7 @@ + struct dm_target_deps_v1 { + uint32_t count; + +- __kernel_dev_t dev[0]; /* out */ ++ devmapper_kernel_dev_t dev[0]; /* out */ + }; + + enum { +--- devmapper-1.02.20.orig/include/kdev_t.h ++++ devmapper-1.02.20/include/kdev_t.h +@@ -15,8 +15,12 @@ + #ifndef _DM_KDEV_H + #define _DM_KDEV_H + ++#include ++ + #define MAJOR(dev) ((dev & 0xfff00) >> 8) + #define MINOR(dev) ((dev & 0xff) | ((dev >> 12) & 0xfff00)) + #define MKDEV(ma,mi) ((mi & 0xff) | (ma << 8) | ((mi & ~0xff) << 12)) + ++typedef __u32 devmapper_kernel_dev_t; ++ + #endif --- devmapper-1.02.27.orig/debian/patches/devmapper-event-static.patch +++ devmapper-1.02.27/debian/patches/devmapper-event-static.patch @@ -0,0 +1,23 @@ +diff -urN devmapper-1.02.25/dmeventd/Makefile.in devmapper-1.02.25.new/dmeventd/Makefile.in +--- devmapper-1.02.25/dmeventd/Makefile.in 2008-08-18 11:32:51.000000000 +1000 ++++ devmapper-1.02.25.new/dmeventd/Makefile.in 2008-08-18 11:34:49.000000000 +1000 +@@ -40,7 +40,8 @@ + .PHONY: install_dynamic install_static install_include \ + install_pkgconfig install_dmeventd + +-INSTALL_TYPE = install_dynamic ++INSTALL_TYPE = install_dynamic install_static ++ + + ifeq ("@STATIC_LINK@", "yes") + INSTALL_TYPE += install_static +@@ -67,8 +68,7 @@ + $(INSTALL) -D -m 644 libdevmapper-event.pc $(usrlibdir)/pkgconfig/devmapper-event.pc + + install_static: libdevmapper-event.a +- $(INSTALL) -D $< $(libdir)/libdevmapper-event.a.$(LIB_VERSION) +- $(LN_S) -f libdevmapper-event.a.$(LIB_VERSION) $(libdir)/libdevmapper-event.a ++ $(INSTALL) -D $< $(libdir)/libdevmapper-event.a + + .PHONY: distclean_lib distclean + --- devmapper-1.02.27.orig/debian/patches/pkgconfig.patch +++ devmapper-1.02.27/debian/patches/pkgconfig.patch @@ -0,0 +1,8 @@ +--- trunk.orig/lib/libdevmapper.pc.in ++++ trunk/lib/libdevmapper.pc.in +@@ -8,4 +8,4 @@ + Version: @DM_LIB_VERSION@ + Cflags: -I${includedir} + Libs: -L${libdir} -ldevmapper +-Libs.private: -lselinux -lsepol ++Requires.private: libselinux --- devmapper-1.02.27.orig/debian/patches/libs-cleanup.patch +++ devmapper-1.02.27/debian/patches/libs-cleanup.patch @@ -0,0 +1,143 @@ +--- trunk.orig/dmsetup/Makefile.in ++++ trunk/dmsetup/Makefile.in +@@ -18,7 +18,7 @@ + + TARGETS = dmsetup + INSTALL_TYPE = install_dynamic +-LIB_PTHREAD = @LIB_PTHREAD@ ++LDFLAGS_STATIC = @LDFLAGS_SELINUX_STATIC@ + + ifeq ("@STATIC_LINK@", "yes") + TARGETS += dmsetup.static +@@ -32,12 +32,11 @@ + + dmsetup: $(OBJECTS) $(interfacedir)/libdevmapper.$(LIB_SUFFIX) + $(CC) -o $@ $(OBJECTS) $(CFLAGS) $(LDFLAGS) \ +- -L$(interfacedir) -L$(DESTDIR)/lib -ldevmapper $(LIBS) ++ -L$(interfacedir) -L$(DESTDIR)/lib -ldevmapper + + dmsetup.static: $(OBJECTS) $(interfacedir)/libdevmapper.a + $(CC) -o $@ $(OBJECTS) $(CFLAGS) $(LDFLAGS) -static \ +- -L$(interfacedir) -L$(DESTDIR)/lib -ldevmapper $(LIBS) \ +- $(LIB_PTHREAD) ++ -L$(interfacedir) -L$(DESTDIR)/lib -ldevmapper $(LDFLAGS_STATIC) + + install: $(INSTALL_TYPE) + +--- trunk.orig/configure.in ++++ trunk/configure.in +@@ -264,29 +264,18 @@ + if test x$HAVE_SEPOL = xyes; then + AC_DEFINE([HAVE_SEPOL], 1, + [Define to 1 if sepol_check_context is available.]) +- LIBS="-lsepol $LIBS" ++ LDFLAGS_SEPOL="-lsepol" + fi + + AC_CHECK_LIB(selinux, is_selinux_enabled, HAVE_SELINUX=yes, HAVE_SELINUX=no) + + if test x$HAVE_SELINUX = xyes; then + AC_DEFINE([HAVE_SELINUX], 1, [Define to 1 to include support for selinux.]) +- LIBS="-lselinux $LIBS" ++ LDFLAGS_SELINUX="-lselinux" ++ LDFLAGS_SELINUX_STATIC="$LDFLAGS_SELINUX $LDFLAGS_SEPOL -lpthread" + else + AC_MSG_WARN(Disabling selinux) + fi +- +- # With --enable-static_link and selinux enabled, linking +- # fails on at least Debian unstable due to unsatisfied references +- # to pthread_mutex_lock and _unlock. See if we need -lpthread. +- if test "$STATIC_LINK-$HAVE_SELINUX" = yes-yes; then +- lvm_saved_libs=$LIBS +- LIBS="$LIBS -static" +- AC_SEARCH_LIBS([pthread_mutex_lock], [pthread], +- [test "$ac_cv_search_pthread_mutex_lock" = "none required" || +- LIB_PTHREAD=-lpthread]) +- LIBS=$lvm_saved_libs +- fi + fi + + ################################################################################ +@@ -473,7 +462,8 @@ + AC_SUBST(INTL_PACKAGE) + AC_SUBST(JOBS) + AC_SUBST(LDDEPS) +-AC_SUBST(LIBS) ++AC_SUBST(LDFLAGS_SELINUX) ++AC_SUBST(LDFLAGS_SELINUX_STATIC) + AC_SUBST(LIB_SUFFIX) + AC_SUBST(LOCALEDIR) + AC_SUBST(LVM1) +@@ -488,7 +478,6 @@ + AC_SUBST(SNAPSHOTS) + AC_SUBST(STATICDIR) + AC_SUBST(STATIC_LINK) +-AC_SUBST([LIB_PTHREAD]) + AC_SUBST(interface) + AC_SUBST(kerneldir) + AC_SUBST(missingkernel) +--- trunk.orig/dmeventd/Makefile.in ++++ trunk/dmeventd/Makefile.in +@@ -35,7 +35,7 @@ + + dmeventd: $(LIB_SHARED) dmeventd.o + $(CC) -o $@ dmeventd.o $(CFLAGS) $(LDFLAGS) \ +- -L. -ldevmapper-event $(LIBS) -rdynamic ++ -L. -ldevmapper-event + + .PHONY: install_dynamic install_static install_include \ + install_pkgconfig install_dmeventd +--- trunk.orig/lib/Makefile.in ++++ trunk/lib/Makefile.in +@@ -43,6 +43,8 @@ + endif + VERSIONED_SHLIB = libdevmapper.$(LIB_SUFFIX).$(LIB_VERSION) + ++LDFLAGS += @LDFLAGS_SELINUX@ ++ + DEFS += -DDM_DEVICE_UID=@DM_DEVICE_UID@ -DDM_DEVICE_GID=@DM_DEVICE_GID@ \ + -DDM_DEVICE_MODE=@DM_DEVICE_MODE@ + +--- trunk.orig/make.tmpl.in ++++ trunk/make.tmpl.in +@@ -23,7 +23,6 @@ + INSTALL = @INSTALL@ + MSGFMT = @MSGFMT@ + LN_S = @LN_S@ +-LIBS = @LIBS@ + DEFS += @DEFS@ + CFLAGS += @CFLAGS@ + CLDFLAGS += @CLDFLAGS@ +@@ -75,7 +74,6 @@ + endif + + LDFLAGS += -L$(interfacedir) +-CLDFLAGS += -L$(interfacedir) + + ifeq ("@DM_COMPAT@", "yes") + DEFS += -DDM_COMPAT +@@ -89,7 +87,6 @@ + #DEFS += -DBOUNDS_CHECK + + #CFLAGS += -pg +-#LDFLAGS += -pg + + STRIP= + #STRIP = -s +@@ -163,13 +160,13 @@ + ifeq ("@LIB_SUFFIX@","so") + $(LIB_SHARED): $(OBJECTS) $(LDDEPS) + $(CC) -shared -Wl,-soname,$(notdir $@).$(LIB_VERSION) \ +- $(CFLAGS) $(CLDFLAGS) $(OBJECTS) $(LIBS) -o $@ ++ $(CFLAGS) $(LDFLAGS) $(CLDFLAGS) $(OBJECTS) -o $@ + endif + + ifeq ("@LIB_SUFFIX@","dylib") + $(LIB_SHARED): $(OBJECTS) $(LDDEPS) + $(CC) -dynamiclib -dylib_current_version,$(LIB_VERSION) \ +- $(CFLAGS) $(CLDFLAGS) $(OBJECTS) $(LIBS) -o $@ ++ $(CFLAGS) $(LDFLAGS) $(CLDFLAGS) $(OBJECTS) -o $@ + endif + + $(LIB_STATIC): $(OBJECTS) --- devmapper-1.02.27.orig/debian/patches/dmsetup-export.patch +++ devmapper-1.02.27/debian/patches/dmsetup-export.patch @@ -0,0 +1,93 @@ +--- a/dmsetup/dmsetup.c ++++ b/dmsetup/dmsetup.c +@@ -1076,6 +1076,82 @@ + return r; + } + ++/* ++ * Export device infos ++ */ ++static int _export(int argc, char **argv, void *data) ++{ ++ int r = 0; ++ struct dm_task *dmt; ++ const char *name = NULL; ++ const char *uuid; ++ struct dm_info info; ++ void *next = NULL; ++ uint64_t start, length; ++ char *target_type; ++ char *params; ++ ++ if (argc == 1 && !_switches[UUID_ARG] && !_switches[MAJOR_ARG]) ++ return 0; ++ if (argc == 2) ++ name = argv[1]; ++ ++ if (!(dmt = dm_task_create(DM_DEVICE_STATUS))) ++ return 0; ++ ++ if (!_set_task_device(dmt, name, 0)) ++ goto out; ++ ++ if (!dm_task_no_open_count(dmt)) ++ goto out; ++ ++ if (!dm_task_run(dmt)) ++ goto out; ++ ++ if (!dm_task_get_info(dmt, &info) || !info.exists) ++ goto out; ++ ++ printf("DM_NAME=\"%s\"\n", dm_task_get_name(dmt)); ++ ++ printf("DM_STATE=%s\n", info.suspended ? "SUSPENDED" : "ACTIVE"); ++ if (!info.suspended) ++ printf("DM_STATE_ACTIVE=1\n"); ++ if (info.read_only) ++ printf("DM_STATE_READONLY=1\n"); ++ if (info.live_table) ++ printf("DM_TABLE_LIVE=1\n"); ++ if (info.inactive_table) ++ printf("DM_TABLE_INACTIVE=1\n"); ++ ++ printf("DM_LAST_EVENT_NR=%" PRIu32 "\n", info.event_nr); ++ printf("DM_MAJOR=%d\n", info.major); ++ printf("DM_MINOR=%d\n", info.minor); ++ ++ if (info.target_count != -1) ++ printf("DM_TARGET_COUNT=%d\n", info.target_count); ++ ++ next = dm_get_next_target(dmt, next, &start, &length, &target_type, ¶ms); ++ if (target_type) { ++ printf("DM_TARGET_TYPES=%s", target_type); ++ while (next) { ++ next = dm_get_next_target(dmt, next, &start, &length, ++ &target_type, ¶ms); ++ if (target_type) ++ printf(",%s", target_type); ++ } ++ printf("\n"); ++ } ++ ++ if ((uuid = dm_task_get_uuid(dmt)) && *uuid) ++ printf("DM_UUID=\"%s\"\n", uuid); ++ ++ r = 1; ++ ++ out: ++ dm_task_destroy(dmt); ++ return r; ++} ++ + /* Show target names and their version numbers */ + static int _targets(int argc __attribute((unused)), char **argv __attribute((unused)), void *data __attribute((unused))) + { +@@ -2122,6 +2198,7 @@ + {"targets", "", 0, 0, _targets}, + {"version", "", 0, 0, _version}, + {"setgeometry", " ", 5, 5, _setgeometry}, ++ {"export", " | -j|--major -m|--minor ", 0, 1, _export}, + {NULL, NULL, 0, 0, NULL} + }; + --- devmapper-1.02.27.orig/debian/patches/series +++ devmapper-1.02.27/debian/patches/series @@ -0,0 +1,8 @@ +type-kernel_dev_t.patch +libs-cleanup.patch +install.patch +pkgconfig.patch +abi.patch +atomic.patch +dmsetup-export.patch +devmapper-event-static.patch --- devmapper-1.02.27.orig/debian/patches/abi.patch +++ devmapper-1.02.27/debian/patches/abi.patch @@ -0,0 +1,35 @@ +--- trunk.orig/lib/libdm-common.c ++++ trunk/lib/libdm-common.c +@@ -233,9 +233,9 @@ + return 1; + } + +-#ifdef HAVE_SELINUX + int dm_set_selinux_context(const char *path, mode_t mode) + { ++#ifdef HAVE_SELINUX + security_context_t scontext; + + if (is_selinux_enabled() <= 0) +@@ -256,9 +256,9 @@ + } + + freecon(scontext); ++#endif + return 1; + } +-#endif + + static int _add_dev_node(const char *dev_name, uint32_t major, uint32_t minor, + uid_t uid, gid_t gid, mode_t mode) +@@ -302,10 +302,8 @@ + + log_debug("Created %s", path); + +-#ifdef HAVE_SELINUX + if (!dm_set_selinux_context(path, S_IFBLK)) + return 0; +-#endif + + return 1; + } --- devmapper-1.02.27.orig/debian/patches/install.patch +++ devmapper-1.02.27/debian/patches/install.patch @@ -0,0 +1,93 @@ +--- trunk.orig/lib/Makefile.in ++++ trunk/lib/Makefile.in +@@ -54,11 +54,7 @@ + install_ioctl install_ioctl_static \ + install_pkgconfig + +-INSTALL_TYPE = install_dynamic +- +-ifeq ("@STATIC_LINK@", "yes") +- INSTALL_TYPE += install_static +-endif ++INSTALL_TYPE = install_dynamic install_static + + ifeq ("@PKGCONFIG@", "yes") + INSTALL_TYPE += install_pkgconfig +@@ -67,27 +63,22 @@ + install: $(INSTALL_TYPE) install_include + + install_include: +- $(INSTALL) -D $(OWNER) $(GROUP) -m 444 libdevmapper.h \ +- $(includedir)/libdevmapper.h ++ $(INSTALL) -D -m 644 libdevmapper.h $(includedir)/libdevmapper.h + + install_dynamic: install_@interface@ + $(LN_S) -f libdevmapper.$(LIB_SUFFIX).$(LIB_VERSION) \ + $(libdir)/libdevmapper.$(LIB_SUFFIX) + + install_static: install_@interface@_static +- $(LN_S) -f libdevmapper.a.$(LIB_VERSION) $(libdir)/libdevmapper.a + + install_ioctl: ioctl/libdevmapper.$(LIB_SUFFIX) +- $(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(STRIP) $< \ +- $(libdir)/libdevmapper.$(LIB_SUFFIX).$(LIB_VERSION) ++ $(INSTALL) -D $< $(libdir)/libdevmapper.$(LIB_SUFFIX).$(LIB_VERSION) + + install_pkgconfig: +- $(INSTALL) -D $(OWNER) $(GROUP) -m 444 libdevmapper.pc \ +- $(usrlibdir)/pkgconfig/devmapper.pc ++ $(INSTALL) -D -m 644 libdevmapper.pc $(usrlibdir)/pkgconfig/devmapper.pc + + install_ioctl_static: ioctl/libdevmapper.a +- $(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(STRIP) $< \ +- $(libdir)/libdevmapper.a.$(LIB_VERSION) ++ $(INSTALL) -D -m 644 $< $(libdir)/libdevmapper.a + + $(VERSIONED_SHLIB): %.$(LIB_SUFFIX).$(LIB_VERSION): $(interface)/%.$(LIB_SUFFIX) + rm -f $@ +--- trunk.orig/dmeventd/Makefile.in ++++ trunk/dmeventd/Makefile.in +@@ -53,25 +53,21 @@ + install: $(INSTALL_TYPE) install_include install_dmeventd + + install_include: +- $(INSTALL) -D $(OWNER) $(GROUP) -m 444 libdevmapper-event.h \ +- $(includedir)/libdevmapper-event.h ++ $(INSTALL) -D -m 644 libdevmapper-event.h $(includedir)/libdevmapper-event.h + + install_dynamic: libdevmapper-event.$(LIB_SUFFIX) +- $(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(STRIP) $< \ +- $(libdir)/libdevmapper-event.$(LIB_SUFFIX).$(LIB_VERSION) ++ $(INSTALL) -D $< $(libdir)/libdevmapper-event.$(LIB_SUFFIX).$(LIB_VERSION) + $(LN_S) -f libdevmapper-event.$(LIB_SUFFIX).$(LIB_VERSION) \ + $(libdir)/libdevmapper-event.$(LIB_SUFFIX) + + install_dmeventd: dmeventd +- $(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(STRIP) $< $(sbindir)/$< ++ $(INSTALL) -D $< $(sbindir)/$< + + install_pkgconfig: +- $(INSTALL) -D $(OWNER) $(GROUP) -m 444 libdevmapper-event.pc \ +- $(usrlibdir)/pkgconfig/devmapper-event.pc ++ $(INSTALL) -D -m 644 libdevmapper-event.pc $(usrlibdir)/pkgconfig/devmapper-event.pc + + install_static: libdevmapper-event.a +- $(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(STRIP) $< \ +- $(libdir)/libdevmapper-event.a.$(LIB_VERSION) ++ $(INSTALL) -D $< $(libdir)/libdevmapper-event.a.$(LIB_VERSION) + $(LN_S) -f libdevmapper-event.a.$(LIB_VERSION) $(libdir)/libdevmapper-event.a + + .PHONY: distclean_lib distclean +--- trunk.orig/dmsetup/Makefile.in ++++ trunk/dmsetup/Makefile.in +@@ -43,8 +43,8 @@ + .PHONY: install_dynamic install_static + + install_dynamic: dmsetup +- $(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(STRIP) $< $(sbindir)/$< ++ $(INSTALL) -D $< $(sbindir)/$< + + install_static: dmsetup.static +- $(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(STRIP) $< $(sbindir)/$< ++ $(INSTALL) -D $< $(sbindir)/$< + --- devmapper-1.02.27.orig/debian/patches/atomic.patch +++ devmapper-1.02.27/debian/patches/atomic.patch @@ -0,0 +1,73 @@ +--- a/lib/libdm-common.c ++++ b/lib/libdm-common.c +@@ -263,12 +263,19 @@ + static int _add_dev_node(const char *dev_name, uint32_t major, uint32_t minor, + uid_t uid, gid_t gid, mode_t mode) + { +- char path[PATH_MAX]; ++ char path[PATH_MAX], tmppath[PATH_MAX]; + struct stat info; + dev_t dev = MKDEV(major, minor); + mode_t old_mask; + + _build_dev_path(path, sizeof(path), dev_name); ++ _build_dev_path(tmppath, sizeof(tmppath), ".XXXXXX"); ++ ++ mktemp(tmppath); ++ if (strlen(tmppath) == 0) { ++ log_error("Unable to create name of temporary file"); ++ return 0; ++ } + + if (stat(path, &info) >= 0) { + if (!S_ISBLK(info.st_mode)) { +@@ -280,32 +287,35 @@ + /* If right inode already exists we don't touch uid etc. */ + if (info.st_rdev == dev) + return 1; +- +- if (unlink(path) < 0) { +- log_error("Unable to unlink device node for '%s'", +- dev_name); +- return 0; +- } + } + + old_mask = umask(0); +- if (mknod(path, S_IFBLK | mode, dev) < 0) { ++ if (mknod(tmppath, S_IFBLK | mode, dev) < 0) { + log_error("Unable to make device node for '%s'", dev_name); +- return 0; ++ goto error; + } + umask(old_mask); + +- if (chown(path, uid, gid) < 0) { ++ if (chown(tmppath, uid, gid) < 0) { + log_sys_error("chown", path); +- return 0; ++ goto error; + } + +- log_debug("Created %s", path); +- +- if (!dm_set_selinux_context(path, S_IFBLK)) +- return 0; ++ if (!dm_set_selinux_context(tmppath, S_IFBLK)) ++ goto error; + ++ if (rename(tmppath, path) < 0) { ++ log_error("Unable to replace device node for '%s'", dev_name); ++ goto error; ++ } ++ ++ log_debug("Created %s", path); ++ + return 1; ++ ++error: ++ unlink(tmppath); ++ return 0; + } + + static int _rename_dev_node(const char *old_name, const char *new_name) --- devmapper-1.02.27.orig/debian/dmsetup.udev +++ devmapper-1.02.27/debian/dmsetup.udev @@ -0,0 +1,33 @@ +SUBSYSTEM!="block", GOTO="device_mapper_end" +KERNEL!="dm-*", GOTO="device_mapper_end" +ACTION!="add|change", GOTO="device_mapper_end" + +# Obtain device status +IMPORT{program}="/sbin/dmsetup export -j%M -m%m" +ENV{DM_NAME}!="?*", GOTO="device_mapper_end" + +# these are temporary devices created by cryptsetup, we want to ignore them +# and also hide them from HAL +ENV{DM_NAME}=="temporary-cryptsetup-*", OPTIONS="ignore_device" + +# Make the device take the /dev/mapper name +OPTIONS+="string_escape=none", NAME="mapper/$env{DM_NAME}" +SYMLINK+="disk/by-id/dm-name-$env{DM_NAME}" +ENV{DM_UUID}=="?*", SYMLINK+="disk/by-id/dm-uuid-$env{DM_UUID}" + +ENV{DM_STATE}=="SUSPENDED", GOTO="device_mapper_end" +ENV{DM_TARGET_TYPES}=="|*error*", GOTO="device_mapper_end" + +# by-uuid and by-label symlinks +IMPORT{program}="vol_id --export $tempnode" + +OPTIONS+="link_priority=-100" +ENV{DM_UUID}=="DMRAID-*", OPTIONS="link_priority=100" +ENV{DM_TARGET_TYPES}=="*snapshot-origin*", OPTIONS+="link_priority=-90" + +ENV{ID_FS_UUID_ENC}=="?*", ENV{ID_FS_USAGE}=="filesystem|other|crypto", \ + SYMLINK+="disk/by-uuid/$env{ID_FS_UUID_ENC}" +ENV{ID_FS_LABEL_ENC}=="?*", ENV{ID_FS_USAGE}=="filesystem|other", \ + SYMLINK+="disk/by-label/$env{ID_FS_LABEL_ENC}" + +LABEL="device_mapper_end" --- devmapper-1.02.27.orig/debian/control +++ devmapper-1.02.27/debian/control @@ -0,0 +1,111 @@ +Source: devmapper +Section: admin +Priority: optional +Maintainer: Ubuntu Core Developers +XSBC-Original-Maintainer: Debian LVM Team +Uploaders: Bastian Blank +Build-Depends: debhelper (>= 5.0.22), automake, libselinux1-dev, quilt +Standards-Version: 3.7.3 + +Package: libdevmapper-dev +Section: libdevel +Architecture: any +Depends: libdevmapper1.02.1 (= ${binary:Version}), libdevmapper-event1.02.1 (= ${binary:Version}) +Description: The Linux Kernel Device Mapper header files + The Linux Kernel Device Mapper is the LVM (Linux Logical Volume Management) + Team's implementation of a minimalistic kernel-space driver that handles + volume management, while keeping knowledge of the underlying device layout + in user-space. This makes it useful for not only LVM, but EVMS, software + raid, and other drivers that create "virtual" block devices. + . + This package contains the (user-space) header files for accessing the + device-mapper; it allow usage of the device-mapper through a clean, + consistent interface (as opposed to through kernel ioctls). + +Package: libdevmapper1.02.1 +Section: libs +Priority: required +Architecture: any +Depends: ${shlibs:Depends} +Recommends: dmsetup (>= 2:1.02.08-1ubuntu2) +Provides: libdevmapper +Description: The Linux Kernel Device Mapper userspace library + The Linux Kernel Device Mapper is the LVM (Linux Logical Volume Management) + Team's implementation of a minimalistic kernel-space driver that handles + volume management, while keeping knowledge of the underlying device layout + in user-space. This makes it useful for not only LVM, but EVMS, software + raid, and other drivers that create "virtual" block devices. + . + This package contains the (user-space) shared library for accessing the + device-mapper; it allows usage of the device-mapper through a clean, + consistent interface (as opposed to through kernel ioctls). + +Package: libdevmapper1.02.1-udeb +XC-Package-Type: udeb +Section: debian-installer +Architecture: any +Depends: ${shlibs:Depends} +Recommends: dmsetup-udeb +Description: The Linux Kernel Device Mapper userspace library + This is a udeb, or a microdeb, for the debian-installer. + . + The Linux Kernel Device Mapper is the LVM (Linux Logical Volume Management) + Team's implementation of a minimalistic kernel-space driver that handles + volume management, while keeping knowledge of the underlying device layout + in user-space. This makes it useful for not only LVM, but EVMS, software + raid, and other drivers that create "virtual" block devices. + +Package: dmsetup +Section: admin +Architecture: any +Depends: ${shlibs:Depends} +Description: The Linux Kernel Device Mapper userspace library + The Linux Kernel Device Mapper is the LVM (Linux Logical Volume Management) + Team's implementation of a minimalistic kernel-space driver that handles + volume management, while keeping knowledge of the underlying device layout + in user-space. This makes it useful for not only LVM, but EVMS, software + raid, and other drivers that create "virtual" block devices. + . + This package contains a utility for modifying device mappings. + +Package: dmsetup-udeb +XC-Package-Type: udeb +Section: debian-installer +Architecture: any +Depends: ${shlibs:Depends} +Description: The Linux Kernel Device Mapper userspace library + The Linux Kernel Device Mapper is the LVM (Linux Logical Volume Management) + Team's implementation of a minimalistic kernel-space driver that handles + volume management, while keeping knowledge of the underlying device layout + in user-space. This makes it useful for not only LVM, but EVMS, software + raid, and other drivers that create "virtual" block devices. + . + This package contains a utility for modifying device mappings. + +Package: libdevmapper-event1.02.1 +Section: libs +Priority: optional +Architecture: any +Depends: ${shlibs:Depends} +Description: The Linux Kernel Device Mapper userspace library + The Linux Kernel Device Mapper is the LVM (Linux Logical Volume Management) + Team's implementation of a minimalistic kernel-space driver that handles + volume management, while keeping knowledge of the underlying device layout + in user-space. This makes it useful for not only LVM, but EVMS, software + raid, and other drivers that create "virtual" block devices. + . + This package contains the userspace library to help with event monitoring + for devmapper devices, in conjunction with the dmevent daemon. + +Package: dmeventd +Section: admin +Architecture: any +Depends: ${shlibs:Depends} +Description: The Linux Kernel Device Mapper userspace library + The Linux Kernel Device Mapper is the LVM (Linux Logical Volume Management) + Team's implementation of a minimalistic kernel-space driver that handles + volume management, while keeping knowledge of the underlying device layout + in user-space. This makes it useful for not only LVM, but EVMS, software + raid, and other drivers that create "virtual" block devices. + . + This package contains a daemon to monitor events of devmapper devices. --- devmapper-1.02.27.orig/debian/libdevmapper1.02.1-udeb.install +++ devmapper-1.02.27/debian/libdevmapper1.02.1-udeb.install @@ -0,0 +1 @@ +usr/lib/libdevmapper.so.* lib --- devmapper-1.02.27.orig/debian/dmsetup.install +++ devmapper-1.02.27/debian/dmsetup.install @@ -0,0 +1,3 @@ +usr/sbin/dmsetup sbin +usr/share/man/man8/dmsetup.8 +usr/share/initramfs-tools/hooks/dmsetup --- devmapper-1.02.27.orig/debian/libdevmapper1.02.1.preinst +++ devmapper-1.02.27/debian/libdevmapper1.02.1.preinst @@ -0,0 +1,10 @@ +#!/bin/sh + +if [ "$1" = "upgrade" ] && dpkg --compare-versions "$2" "<<" "2:1.02.24"; then + update-rc.d -f libdevmapper1.02.1 remove >/dev/null || exit $? + rm /etc/init.d/libdevmapper1.02.1 +fi + +#DEBHELPER# + +exit 0 --- devmapper-1.02.27.orig/debian/dmsetup.udev.moved +++ devmapper-1.02.27/debian/dmsetup.udev.moved @@ -0,0 +1,32 @@ +# This file causes devicemapper devices to be assigned names by udev +# based on the name given to dmsetup. +# See udev(8) for syntax. + +SUBSYSTEM!="block", GOTO="dmsetup_end" +KERNEL!="dm-*", GOTO="dmsetup_end" +ACTION!="add|change", GOTO="dmsetup_end" + +# Obtain device status +IMPORT{program}="/sbin/dmsetup export -j%M -m%m" +ENV{DM_NAME}!="?*", GOTO="dmsetup_end" + +# Make the device take the /dev/mapper name +OPTIONS+="string_escape=none", NAME="mapper/$env{DM_NAME}" +SYMLINK+="disk/by-id/dm-name-$env{DM_NAME}" +ENV{DM_UUID}=="?*", SYMLINK+="disk/by-id/dm-uuid-$env{DM_UUID}" + +# Skip vol_id for suspended devices and those with empty or error tables +ENV{DM_STATE}=="SUSPENDED", GOTO="dmsetup_end" +ENV{DM_TARGET_TYPES}=="|*error*", GOTO="dmsetup_end" + +# by-uuid and by-label symlinks +IMPORT{program}="vol_id --export $tempnode" +OPTIONS="link_priority=-100" +ENV{DM_UUID}=="DMRAID-*", OPTIONS="link_priority=100" +ENV{DM_TARGET_TYPES}=="*snapshot-origin*", OPTIONS="link_priority=-90" +ENV{ID_FS_USAGE}=="filesystem|other|crypto", ENV{ID_FS_UUID_ENC}=="?*", \ + SYMLINK+="disk/by-uuid/$env{ID_FS_UUID_ENC}" +ENV{ID_FS_USAGE}=="filesystem|other", ENV{ID_FS_LABEL_ENC}=="?*", \ + SYMLINK+="disk/by-label/$env{ID_FS_LABEL_ENC}" + +LABEL="dmsetup_end" --- devmapper-1.02.27.orig/debian/dmsetup-udeb.install +++ devmapper-1.02.27/debian/dmsetup-udeb.install @@ -0,0 +1 @@ +usr/sbin/dmsetup sbin --- devmapper-1.02.27.orig/debian/libdevmapper-event1.02.1.install +++ devmapper-1.02.27/debian/libdevmapper-event1.02.1.install @@ -0,0 +1 @@ +usr/lib/libdevmapper-event.so.* --- devmapper-1.02.27.orig/debian/dmsetup.initramfs +++ devmapper-1.02.27/debian/dmsetup.initramfs @@ -0,0 +1,24 @@ +#!/bin/sh -e +# initramfs hook for dmsetup + +PREREQ="udev" + +# Output pre-requisites +prereqs() +{ + echo "$PREREQ" +} + +case "$1" in + prereqs) + prereqs + exit 0 + ;; +esac + + +. /usr/share/initramfs-tools/hook-functions + +copy_exec /sbin/dmsetup /sbin + +cp -p /etc/udev/rules.d/65-dmsetup.rules ${DESTDIR}/etc/udev/rules.d --- devmapper-1.02.27.orig/debian/bin/genorig.py +++ devmapper-1.02.27/debian/bin/genorig.py @@ -0,0 +1,74 @@ +#!/usr/bin/env python + +import os, os.path, re, shutil, sys + +class GenOrig(object): + log = sys.stdout.write + + source = 'devmapper' + + def __init__(self, input_tar, version): + self.input_tar, self.version = input_tar, version + + def __call__(self): + import tempfile + self.dir = tempfile.mkdtemp(prefix = 'genorig', dir = 'debian') + try: + self.orig_dir = "%s-%s" % (self.source, self.version) + self.orig_tar = "%s_%s.orig.tar.gz" % (self.source, self.version) + + self.do_upstream() + self.do_orig() + finally: + shutil.rmtree(self.dir) + + def do_upstream(self): + self.log("Extracting tarball %s\n" % self.input_tar) + match = re.match(r'(^|.*/)(?Pdevice-mapper\.\d+\.\d+\.\d+)\.t(?P(gz|bz2))$', self.input_tar) + if not match: + raise RuntimeError("Can't identify name of tarball") + cmdline = ['tar -xf', self.input_tar, '-C', self.dir] + extension = match.group('extension') + if extension == 'bz2': + cmdline.append('-j') + elif extension == 'gz': + cmdline.append('-z') + if os.spawnv(os.P_WAIT, '/bin/sh', ['sh', '-c', ' '.join(cmdline)]): + raise RuntimeError("Can't extract tarball") + os.rename(os.path.join(self.dir, match.group('dir')), os.path.join(self.dir, self.orig_dir)) + + def do_orig(self): + out = "../orig/%s" % self.orig_tar + + try: + os.mkdir("../orig") + except OSError: pass + try: + os.stat(out) + except OSError: pass + else: + raise RuntimeError("Destination already exists") + + self.log("Generate tarball %s\n" % out) + cmdline = ['tar -czf', out, '-C', self.dir, self.orig_dir] + try: + if os.spawnv(os.P_WAIT, '/bin/sh', ['sh', '-c', ' '.join(cmdline)]): + raise RuntimeError("Can't patch source") + os.chmod(out, 0644) + except: + try: + os.unlink(out) + except OSError: + pass + raise + +if __name__ == '__main__': + from optparse import OptionParser + p = OptionParser() + #p.add_option("-v", "--version", dest = "version") + options, args = p.parse_args(sys.argv) + + input_tar = args[1] + version = args[2] + + GenOrig(input_tar, version)() --- devmapper-1.02.27.orig/debian/copyright +++ devmapper-1.02.27/debian/copyright @@ -0,0 +1,52 @@ +This package was debianized by Andres Salomon on +Mon, 18 Feb 2002 15:46:08 -0500. + +It was downloaded from ftp://sources.redhat.com/pub/dm/. + +Upstream Author: LVM Development Team + +Copyright (C) 2001-2004 Sistina Software (UK) Limited. +Copyright (C) 2004 Red Hat, Inc. + +device-mapper has portions licensed under the GPLv2, and other +portions licensed under the LGPLv2.1. + + +The following license applies to dmsetup: + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License version 2 as +published by the Free Software Foundation. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the full text of the GPLv2 can be found in +/usr/share/common-licenses/GPL-2. + + +The following license applies to the device-mapper library (libdevmapper), +and all headers included in this package (including kernel headers): + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License version 2.1 as published by the Free Software Foundation. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the full text of the LGPLv2.1 can be found in +/usr/share/common-licenses/LGPL-2.1. + --- devmapper-1.02.27.orig/debian/dmeventd.install +++ devmapper-1.02.27/debian/dmeventd.install @@ -0,0 +1 @@ +usr/sbin/dmeventd --- devmapper-1.02.27.orig/debian/libdevmapper-dev.install +++ devmapper-1.02.27/debian/libdevmapper-dev.install @@ -0,0 +1,3 @@ +usr/include/libdevmapper*.h +usr/lib/libdevmapper*.a +usr/lib/pkgconfig --- devmapper-1.02.27.orig/debian/dmeventd.8 +++ devmapper-1.02.27/debian/dmeventd.8 @@ -0,0 +1,27 @@ +.TH DMEVENTD 8 "Aug 18 2008" +.SH NAME +dmeventd \- Device-mapper event monitoring daemon. +.SH SYNOPSIS +.ad l +.B dmsetup +.I [-V|-d|-h] +.ad b +.SH DESCRIPTION +dmeventd is the event monitoring daemon for device-mapper devices. +.SH OPTIONS +.TP +.B -V +Show version of dmeventd +.TP +.B -d +Don't fork, run in the foreground +.TP +.B -h +Display command-line arguments +.SH AUTHORS +Original author: Joe Thornber (thornber@sistina.com) +.PP +This manual page was written by Luke Yelavich , for the Ubuntu project (but may be used by others). + +.SH SEE ALSO +Device-mapper resource page: http://sources.redhat.com/dm/ --- devmapper-1.02.27.orig/debian/dmsetup.docs +++ devmapper-1.02.27/debian/dmsetup.docs @@ -0,0 +1 @@ +INTRO --- devmapper-1.02.27.orig/debian/rules +++ devmapper-1.02.27/debian/rules @@ -0,0 +1,181 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +SOURCE := $(shell dpkg-parsechangelog | sed -ne 's,^Source: *\(.*\)$$,\1,p') +VERSION_DEBIAN := $(shell dpkg-parsechangelog | sed -ne 's,^Version: *\(.*\)$$,\1,p') +VERSION := $(shell echo "$(VERSION_DEBIAN)" | sed -e 's,^[0-9]*:,,' -e 's,-[^-]*$$,,') + +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) +CFLAGS += -g +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) +INSTALL_PROGRAM += -s +endif + +LIBDEVMAPPER_ABINAME = 1.02.1 + +BUILD_DIR = debian/build +STAMPS_DIR = debian/stamps + +PACKAGES_DEB := libdevmapper-dev libdevmapper$(LIBDEVMAPPER_ABINAME) dmsetup libdevmapper-event$(LIBDEVMAPPER_ABINAME) dmeventd +PACKAGES_UDEB := libdevmapper$(LIBDEVMAPPER_ABINAME)-udeb dmsetup-udeb + +CONFIGURE_FLAGS = --build $(DEB_BUILD_GNU_TYPE) +ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) +CONFIGURE_FLAGS += --host $(DEB_HOST_GNU_TYPE) +endif + +CONFIGURE_FLAGS += \ + --prefix=/usr \ + --mandir=\$${prefix}/share/man \ + --infodir=\$${prefix}/share/info + +setup: $(STAMPS_DIR)/setup +$(STAMPS_DIR)/setup: $(BUILD_DIR) $(STAMPS_DIR) $(STAMPS_DIR)/setup-deb $(STAMPS_DIR)/setup-udeb + +$(STAMPS_DIR)/setup-deb: DIR = $(BUILD_DIR)/build-deb +$(STAMPS_DIR)/setup-deb: + @rm -rf $(DIR) + mkdir -p $(DIR) + cp -al $(filter-out debian .svk .svn, $(wildcard .[^]* *)) $(DIR) + cp --remove-destination /usr/share/misc/config.sub /usr/share/misc/config.guess $(DIR)/autoconf + cd $(DIR); QUILT_PATCHES=$(CURDIR)/debian/patches quilt --quiltrc /dev/null push -a || test $$? = 2 + cd $(DIR); autoreconf + cd $(DIR); \ + ./configure \ + $(CONFIGURE_FLAGS) \ + --enable-compat \ + --enable-pkgconfig \ + --with-device-uid=0 \ + --with-device-gid=6 \ + --with-device-mode=0660 \ + --enable-dmeventd + + cp po/device-mapper.po po/device-mapper.pot + touch $@ + +$(STAMPS_DIR)/setup-udeb: DIR = $(BUILD_DIR)/build-udeb +$(STAMPS_DIR)/setup-udeb: + dh_testdir + rm -rf $(DIR) + mkdir -p $(DIR) + cp -al $(filter-out debian, $(wildcard *)) $(DIR) + cp --remove-destination /usr/share/misc/config.sub /usr/share/misc/config.guess $(DIR)/autoconf + cd $(DIR); QUILT_PATCHES=$(CURDIR)/debian/patches quilt --quiltrc /dev/null push -a || test $$? = 2 + cd $(DIR); autoreconf + cd $(DIR); \ + ./configure \ + $(CONFIGURE_FLAGS) \ + --with-optimisation=-Os \ + --enable-compat \ + --disable-selinux + touch $@ + +build: $(STAMPS_DIR)/build +$(STAMPS_DIR)/build: $(STAMPS_DIR)/setup $(STAMPS_DIR)/build-deb $(STAMPS_DIR)/build-udeb + +build-deb: $(STAMPS_DIR)/build-deb +$(STAMPS_DIR)/build-deb: DIR = $(BUILD_DIR)/build-deb +$(STAMPS_DIR)/build-deb: $(STAMPS_DIR)/setup-deb + dh_testdir + $(MAKE) -C $(DIR) LIB_VERSION=$(LIBDEVMAPPER_ABINAME) + touch $@ + +build-udeb: $(STAMPS_DIR)/build-udeb +$(STAMPS_DIR)/build-udeb: DIR = $(BUILD_DIR)/build-udeb +$(STAMPS_DIR)/build-udeb: $(STAMPS_DIR)/setup-udeb + dh_testdir + $(MAKE) -C $(DIR) LIB_VERSION=$(LIBDEVMAPPER_ABINAME) + touch $@ + +$(BUILD_DIR) $(STAMPS_DIR): + @[ -d $@ ] || mkdir $@ + +maintainerclean: + rm -rf $(filter-out .svn .svk debian, $(wildcard * .[^.]*)) + +clean: + dh_testdir + rm -rf $(BUILD_DIR) $(STAMPS_DIR) + dh_clean + rm -f po/device-mapper.pot + rm -f debian/dmsetup-udeb.udev + +install: install-deb install-udeb + +install-deb: export DH_OPTIONS = $(addprefix -p,$(PACKAGES_DEB)) +install-deb: DIR = $(BUILD_DIR)/build-deb +install-deb: INSTALL_DIR = $(BUILD_DIR)/install-deb +install-deb: $(STAMPS_DIR)/build-deb + dh_testdir + dh_testroot + dh_clean -k + $(MAKE) -C $(DIR) install DESTDIR=$(CURDIR)/$(INSTALL_DIR) LIB_VERSION=$(LIBDEVMAPPER_ABINAME) + + install -d $(INSTALL_DIR)/usr/share/initramfs-tools/hooks + install -m 0755 debian/dmsetup.initramfs \ + $(INSTALL_DIR)/usr/share/initramfs-tools/hooks/dmsetup + + dh_install --sourcedir=$(INSTALL_DIR) + dh_installchangelogs WHATS_NEW + dh_installdocs + dh_installudev --priority=65 + dh_strip + dh_link -p libdevmapper-dev lib/libdevmapper.so.$(LIBDEVMAPPER_ABINAME) usr/lib/libdevmapper.so + dh_link -p libdevmapper-dev usr/lib/libdevmapper-event.so.$(LIBDEVMAPPER_ABINAME) usr/lib/libdevmapper-event.so + dh_compress + dh_fixperms + DH_OPTIONS= dh_makeshlibs -p 'libdevmapper$(LIBDEVMAPPER_ABINAME)' --add-udeb 'libdevmapper$(LIBDEVMAPPER_ABINAME)-udeb' -V + DH_OPTIONS= dh_makeshlibs -p 'libdevmapper-event$(LIBDEVMAPPER_ABINAME)' -V + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +install-udeb: export DH_OPTIONS = $(addprefix -p,$(PACKAGES_UDEB)) +install-udeb: DIR = $(BUILD_DIR)/build-udeb +install-udeb: INSTALL_DIR = $(BUILD_DIR)/install-udeb +install-udeb: $(STAMPS_DIR)/build-udeb + dh_testdir + dh_testroot + dh_clean -k + $(MAKE) -C $(DIR) install DESTDIR=$(CURDIR)/$(INSTALL_DIR) LIB_VERSION=$(LIBDEVMAPPER_ABINAME) + cp -a debian/dmsetup.udev debian/dmsetup-udeb.udev + dh_install --sourcedir=$(INSTALL_DIR) + dh_installdocs + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-indep: +binary-arch: install + +binary: binary-indep binary-arch + +DIR_ORIG = ../orig/$(SOURCE)-$(VERSION) +TAR_ORIG_NAME = $(SOURCE)_$(VERSION).orig.tar.gz +TAR_ORIG = $(firstword $(wildcard ../$(TAR_ORIG_NAME)) $(wildcard ../orig/$(TAR_ORIG_NAME))) + +orig: $(DIR_ORIG) + rsync --delete --exclude debian --exclude .svk --exclude .svn --link-dest=$(DIR_ORIG)/ -a $(DIR_ORIG)/ . + +$(DIR_ORIG): +ifeq ($(TAR_ORIG),) + $(error Cannot find orig tarball $(TAR_ORIG_NAME)) +else + mkdir -p ../orig + tar -C ../orig -xzf $(TAR_ORIG) +endif + +.PHONY: build clean binary-indep binary-arch binary install configure --- devmapper-1.02.27.orig/debian/changelog +++ devmapper-1.02.27/debian/changelog @@ -0,0 +1,593 @@ +devmapper (2:1.02.27-3ubuntu1) intrepid; urgency=low + + * Merge from Debian unstable. Remaining Ubuntu changes (LP: #244584): + - Support udev-controlled devmapper in initramfs, for consistent device + discovery/naming during boot and hotplug: + + Add debian/dmsetup.initramfs: Hook for copying dmsetup and udev rules + to the initramfs. + + debian/rules: Copy hook to build directory. + + debian/dmsetup.install: Install above file from build directory. + + debian/dmsetup.postinst: Call update-initramfs. + - debian/rules: Copy po/device-mapper.po to device-mapper.pot so Rosetta + has a POT file to import. + - Empty DH_OPTIONS while running dh_makeshlibs so that the -p option works + properly, so that we get proper udeb shlibs again. + - Create two new packages, libdevmapper-event1.02.1 and dmeventd. These + packages will be used to help monitor dmraid events and log them to + syslog. + - debian/libdevmapper-dev.install: Add libdevmapper-event.h and + libdevmapper-event.a to the dev package. + - debian/dmsetup.udev: Set link priority to 100 for devmapper devices + that have an UUID starting with DMRAID- for dmraid devmapper devices, + to prevent UUIDs being used to mount hard disk partitions rather than + the array itself. + + -- James Westby Wed, 27 Aug 2008 02:46:35 +0100 + +devmapper (2:1.02.27-3) unstable; urgency=low + + * Fix junp to undefined label in udev rules. (closes: #491107) + + -- Bastian Blank Thu, 17 Jul 2008 11:14:48 +0200 + +devmapper (2:1.02.27-2) unstable; urgency=low + + * Update dmsetup export patch to export target types. (closes: #486780) + * Add udev rules to dmsetup. (closes: #455746) + + -- Bastian Blank Wed, 16 Jul 2008 00:00:31 +0200 + +devmapper (2:1.02.27-1) unstable; urgency=low + + * New upstream version. (closes: #488981) + * Update dm_report symbols. + * Only ignore known VCS dirs. (closes: #482744) + + -- Bastian Blank Sun, 06 Jul 2008 15:07:56 +0200 + +devmapper (2:1.02.26-1) unstable; urgency=low + + * New upstream version. + * Update symbols files. + * Update dmsetup export patch. + + -- Bastian Blank Sun, 22 Jun 2008 10:54:09 +0200 + +devmapper (2:1.02.25-1ubuntu5) intrepid; urgency=low + + * Empty DH_OPTIONS while running dh_makeshlibs so that the -p option works + properly, so that we get proper udeb shlibs again. + + -- Colin Watson Wed, 20 Aug 2008 11:36:00 +0100 + +devmapper (2:1.02.25-1ubuntu4) intrepid; urgency=low + + * Create two new packages, libdevmapper-event1.02.1 and dmeventd. These + packages will be used to help monitor dmraid events and log them to + syslog. + * debian/libdevmapper-dev.install: Add libdevmapper-event.h and + libdevmapper-event.a to the dev package. + + -- Luke Yelavich Mon, 18 Aug 2008 13:42:46 +1000 + +devmapper (2:1.02.25-1ubuntu3) intrepid; urgency=low + + * debian/dmsetup.udev: Set link priority to 100 for devmapper devices + that have an UUID starting with DMRAID- for dmraid devmapper devices, + to prevent UUIDs being used to mount hard disk partitions rather than + the array itself. + + -- Luke Yelavich Mon, 11 Aug 2008 10:04:06 +1000 + +devmapper (2:1.02.25-1ubuntu2) intrepid; urgency=low + + * debian/patches/dmsetup-export.patch: re-add DM_TARGET_TYPE exports, + required for detecting state of dm devices during udev rule execution + and sane creation of by-uuid symlinks (forwarded to Debian #486780). + + -- Kees Cook Tue, 17 Jun 2008 21:49:39 -0700 + +devmapper (2:1.02.25-1ubuntu1) intrepid; urgency=low + + * Merge from Debian unstable. Remaining Ubuntu changes: + - Call dmsetup from udev rules to name the device, so udev creates them + if they do not already exist, and fill in information about the + filesystem on the device afterwards. + (forwarded to Debian #455746): + + Add debian/dmsetup.udev: Naming udev rules. + + debian/rules: Call dh_installudev to install above file. + + debian/control: Add Recommends: dmsetup to the library and the udeb. + - Support udev-controlled devmapper in initramfs, for consistent device + discovery/naming during boot and hotplug: + + Add debian/dmsetup.initramfs: Hook for copying dmsetup and udev rules + to the initramfs. + + debian/rules: Copy hook to build directory. + + debian/dmsetup.install: Install above file from build directory. + + debian/dmsetup.postinst: Call update-initramfs. + - debian/rules: Copy po/device-mapper.po to device-mapper.pot so Rosetta + has a POT file to import. + + -- Martin Pitt Mon, 02 Jun 2008 17:22:40 +0200 + +devmapper (2:1.02.25-1) unstable; urgency=low + + * New upstream version. + + -- Bastian Blank Sun, 18 May 2008 14:34:03 +0200 + +devmapper (2:1.02.24-4) unstable; urgency=low + + * Add symbols file for libdevmapper1.02. + * Add modified version of atomic device creation patch. (closes: #455745) + * Add modified version of dmsetup export patch. (closes: #434241) + + -- Bastian Blank Mon, 10 Mar 2008 22:16:48 +0100 + +devmapper (2:1.02.24-3) unstable; urgency=low + + * Always export selinux function. + + -- Bastian Blank Tue, 08 Jan 2008 16:45:10 +0000 + +devmapper (2:1.02.24-2) unstable; urgency=low + + * Build depend against automake. + + -- Bastian Blank Wed, 02 Jan 2008 18:42:07 +0000 + +devmapper (2:1.02.24-1) unstable; urgency=low + + * New upstream version. (closes: #457972) + * Use linux-2.6 style orig handling. + * Reduce linked libs to minimum. + * Remove init script. (closes: #361358, #375340, #384900, #419958) + * Cleanup udeb relations. (closes: #419604) + * Fix pkgconfig file for static linking. (closes: #390243) + * Supply proper --host and --build args to configure. (closes: #451136) + * Fix copyright file. + * Update standards version to 3.7.3, no changes. + + -- Bastian Blank Wed, 02 Jan 2008 14:42:20 +0000 + +devmapper (2:1.02.20-2) unstable; urgency=low + + * Add version to shlibs. (closes: #431735) + * Woraround kernel headers. + + -- Bastian Blank Fri, 6 Jul 2007 08:40:12 +0000 + +devmapper (2:1.02.20-1) unstable; urgency=low + + * New upstream version. + - Fix include guards. (closes: #426900) + + -- Bastian Blank Fri, 22 Jun 2007 11:14:47 +0000 + +devmapper (2:1.02.18-1) unstable; urgency=low + + * New upstream version. + * Bump abiname. + + -- Bastian Blank Sun, 8 Apr 2007 17:52:34 +0000 + +devmapper (2:1.02.12-1) unstable; urgency=low + + * New upstream version. + - Don't suspend device which is already suspended. + + -- Bastian Blank Sat, 2 Dec 2006 16:54:38 +0000 + +devmapper (2:1.02.08-1) unstable; urgency=medium + + * New upstream version. + - Fix corelog segment line. (closes: #376283) + + -- Bastian Blank Tue, 8 Aug 2006 22:05:44 +0000 + +devmapper (2:1.02.07-1) unstable; urgency=low + + * New upstream version. + * Update priorities to match overrides. + * Acknowledge NMU. (closes: #316883, #329409, #341901, #342455) + + -- Bastian Blank Sat, 10 Jun 2006 21:20:43 +0000 + +devmapper (2:1.02.05-2.1) unstable; urgency=low + + * Non-maintainer upload. + * Set default device modes to 0, 6, 0660, according to the decision + of the technical committee, + http://lists.debian.org/debian-ctte/2006/04/msg00033.html + Closes: #316883, #329409, #341901, #342455 + LVM devices are created with root:disk ownership and 0660 permissions, + which is used by all other disk block devices. This allows backups + of LVM logical volumes with tools such as amanda, which run as user + backup, a member of the disk group. + Thanks for Roger Leigh for preparing the patch. + + -- Andreas Barth Sun, 4 Jun 2006 20:15:33 +0200 + +devmapper (2:1.02.05-2) unstable; urgency=low + + * Generate udeb shlibs entries. (closes: #356906) + * Set default device modes to 0, 6, 0644. (closes: #304476) + + -- Bastian Blank Sat, 13 May 2006 14:44:47 +0000 + +devmapper (2:1.02.05-1) unstable; urgency=low + + * New upstram version. + * Install pkgconfig file. (closes: #355927) + + -- Bastian Blank Fri, 5 May 2006 20:40:42 +0000 + +devmapper (2:1.02.03-1) unstable; urgency=low + + * New upstram version. + * Make device modes overridable. + + -- Bastian Blank Sun, 12 Feb 2006 11:45:49 +0100 + +devmapper (2:1.02.02-1) unstable; urgency=low + + * New upstram version. + - Use names instead of numbers in messages when ioctls fail. + (closes: #341452) + + -- Bastian Blank Fri, 02 Dec 2005 20:16:55 +0100 + +devmapper (2:1.02.00-1) unstable; urgency=low + + * New upstream version. (closes: #338947) + + -- Bastian Blank Thu, 24 Nov 2005 20:07:41 +0100 + +devmapper (2:1.01.05-1) unstable; urgency=low + + * Readd init script to load the device-mapper module. + (closes: #330549, #315161, #298406) + + -- Bastian Blank Thu, 29 Sep 2005 18:58:31 +0200 + +devmapper (2:1.01.04-2) unstable; urgency=low + + * Enable selinux support for debs. (closes: #323022) + * Change optimization for udebs. (closes: #314360) + + -- Bastian Blank Sun, 14 Aug 2005 11:14:54 +0200 + +devmapper (2:1.01.04-1) unstable; urgency=low + + * New upstream version. + * Explicitly disable selinux support. (blocked by #322891) + + -- Bastian Blank Sat, 13 Aug 2005 13:16:31 +0200 + +devmapper (2:1.01.03-1) unstable; urgency=low + + * New upstream version. + * Remove init script, libdevmapper creates the device themself. + + -- Bastian Blank Sun, 19 Jun 2005 13:41:08 +0200 + +devmapper (2:1.01.00-4) unstable; urgency=low + + * Build static libs. + * Remove the wrong dh_python call. + + -- Bastian Blank Mon, 14 Mar 2005 19:43:32 +0100 + +devmapper (2:1.01.00-3) unstable; urgency=low + + * Don't longer use cdbs. + * Remove many cruft. + + -- Bastian Blank Mon, 14 Mar 2005 13:55:47 +0100 + +devmapper (2:1.01.00-2) unstable; urgency=high + + * New maintainer. + * Fix initscript links. (closes: #299013) + + -- Bastian Blank Fri, 11 Mar 2005 08:29:31 +0100 + +devmapper (2:1.01.00-1) unstable; urgency=low + + * New upstream + * Set permission on control device to 0660 + Closes: #294260 + + -- Patrick Caulfield Mon, 14 Feb 2005 09:20:23 +0000 + +devmapper (2:1.00.19-4) unstable; urgency=low + + * Cope with single/multiple spaces in "ls" output when checking device. + Closes: #273273 + + -- Patrick Caulfield Sun, 17 Oct 2004 11:01:00 +0100 + +devmapper (2:1.00.19-3) unstable; urgency=low + + * Remove kernel-patch-devmapper as it is now incorporated in the + Debian kernel. + Closes: #262347, #272384 + * Remove XSI:ism (what ever that is) from init script. + Closes: #258853 + + -- Patrick Caulfield Mon, 20 Sep 2004 08:01:42 +0100 + +devmapper (2:1.00.19-2) unstable; urgency=low + + * Don't error on startup of /dev/mapper directory does not exist. + Closes: #259314 + + -- Patrick Caulfield Thu, 15 Jul 2004 11:52:38 +0100 + +devmapper (2:1.00.19-1) unstable; urgency=low + + * New upstream version(s). Closes: #257958 + * Don't build debian-speciif patches as dm is now in the Debian kernels + Closes: #247004, #252168 + * Don't recreate /dev/mapper/control if it hasn't changed. + Closes: #257106 + * Add dmsetup udeb + Closes: #241385 + + -- Patrick Caulfield Wed, 7 Jul 2004 14:42:34 +0100 + +devmapper (2:1.00.17-5) unstable; urgency=low + + * Take over maintainership. + * recreate the /dev/mapper/control device at each reboot in case + the minor number changes. Closes: #236735 + + -- Patrick Caulfield Tue, 1 Jun 2004 11:13:55 +0100 + +devmapper (2:1.00.17-4) unstable; urgency=low + + * The DAM-approval-process-sucks release. + * Fix missing autoconf build-dep (closes: #249476). + + -- Andres Salomon Mon, 17 May 2004 22:35:26 -0400 + +devmapper (2:1.00.17-3) unstable; urgency=low + + * Fix autoconf check for selinux build environment (closes: #248656). + + -- Andres Salomon Mon, 17 May 2004 03:20:52 -0400 + +devmapper (2:1.00.17-2) unstable; urgency=low + + * Add a little blurb about the removal of VFS locking patch in + README.Debian. By popular request. + * Have libdevmapper1.00-udeb provide libdevmapper1.00 (closes: #248238). + + -- Andres Salomon Mon, 10 May 2004 02:07:12 -0400 + +devmapper (2:1.00.17-1) unstable; urgency=low + + * New upstream release. + * Update kernel patches, ensure VFS lock patch is applied + (closes: #245748). + * Move dmsetup binary into /sbin (closes: #247053). + * Add 002-lfs.patch; compile w/ -D_FILE_OFFSET_BITS=64. + + -- Andres Salomon Sat, 01 May 2004 23:55:01 -0400 + +devmapper (2:1.00.15-1) unstable; urgency=low + + * New upstream release (closes: #242514). + * Update copyright file. + * Drop 2.4.22 kernel patch. This rids us of the need for a separate + VFS-lock patch. + * Add 2.4.25 kernel patch (closes: #241097). + * Add init script for libdevmapper (closes: #233624). + * Doc updates, cleanups, and added a README.Debian (closes: #234488). + * Update kernel headers to 2.4.25. + + -- Andres Salomon Thu, 08 Apr 2004 03:16:45 -0400 + +devmapper (2:1.00.07-4) unstable; urgency=low + + * Acknowledge NMU. + * Add udeb for debian-installer. + * Add 2.4.24 devmapper patch, taken from Joe Thornber's 2.4.23-pre7 patch. + Note that this also includes the VFS-locking patch. (Closes: #228017) + * Add 2.4.24 devmapper patch for Debian; this one is based on the normal + 2.4.24 patch, but applies to Debian's 2.4.24-2 kernel. (Closes: #230015) + * Drop 2.4.20 and 2.4.21 patches; those kernels are deprecated and + insecure. (Closes: #205862) + * Add versioned build-dep for cdbs. + + -- Andres Salomon Sat, 14 Feb 2004 18:56:08 -0500 + +devmapper (2:1.00.07-3.1) unstable; urgency=low + + * Non-maintainer upload + * Include VFS-lock patch (Closes: #224829) + + -- Matt Zimmerman Mon, 22 Dec 2003 13:28:25 -0800 + +devmapper (2:1.00.07-3) unstable; urgency=low + + * Add explicit dependency upon linux-kernel-headers. (Closes: #223629) + * Build-depend upon autotools-dev so that cdbs can find an + updated config.{sub,guess}. (Closes: #223697) + + -- Andres Salomon Sun, 14 Dec 2003 19:30:54 -0500 + +devmapper (2:1.00.07-2) unstable; urgency=low + + * Enable v1 ioctls compatibility. (Closes: #223414) + + -- Andres Salomon Tue, 09 Dec 2003 10:36:38 -0500 + +devmapper (2:1.00.07-1) unstable; urgency=low + + * New upstream release. + * Remove 001-2.4.22-dm1.patch (now included upstream). + * Change kernel-patch-device-mapper's arch type to all; thanks to + Philipp Matthias Hahn for pointing this out. (Closes: #216187) + * Tell cdbs the proper directory for config.{sub,guess}. + + -- Andres Salomon Sun, 30 Nov 2003 01:50:06 -0500 + +devmapper (2:1.00.05-3) unstable; urgency=low + + * Fix problem w/ dm patch on sparc64. (Closes: #213446) + * Update standards-version. + * Remove CFLAGS patch, as cdbs now doesn't clobber CFLAGS (yay!). + + -- Andres Salomon Wed, 15 Oct 2003 00:57:12 -0400 + +devmapper (2:1.00.05-2) unstable; urgency=low + + * Fix PIC problem due to cdbs clobbering CFLAGS. (Closes: #212023) + + -- Andres Salomon Sat, 27 Sep 2003 16:00:59 -0400 + +devmapper (2:1.00.05-1) unstable; urgency=low + + * New upstream version. + * Change build system to use cdbs. + * Add 2.4.22 device-mapper patch. (Closes: #210447) + * Add versioned build-dep for dh-kpatches (see bug #204160). + + -- Andres Salomon Thu, 18 Sep 2003 01:00:28 -0400 + +devmapper (2:1.00.03-1) unstable; urgency=low + + * New upstream version. + + -- Andres Salomon Fri, 22 Aug 2003 00:50:48 -0400 + +devmapper (2:1.00.02-2) unstable; urgency=low + + * Add epoch. + * Fix typo in description. (Closes: #202727) + + -- Andres Salomon Sat, 19 Jul 2003 19:32:37 -0400 + +devmapper (1.00.02-1) unstable; urgency=low + + * New upstream version. + * Update standards-version. + + -- Andres Salomon Sat, 19 Jul 2003 19:32:37 -0400 + +devmapper (1.00.02rc3-1) unstable; urgency=low + + * New upstream version. + + -- Andres Salomon Mon, 14 Jul 2003 00:50:42 -0400 + +devmapper (1.00.01rc2-1) unstable; urgency=low + + * New upstream version. + * Update kernel patch, headers, and header scripts; 2.4.20 and 2.4.21 patches are now + included. + * New 1.00 SONAME, updated lib accordingly. + + -- Andres Salomon Wed, 09 Jul 2003 01:12:50 -0400 + +devmapper (0.96.08-1) unstable; urgency=low + + * New upstream version. + * Update maintainer email address. + * Rename libdevmapper0 to match SONAME. (Closes: #197438) + * Remove libdevmapper modutils dependency and lvm2 postinst stuff; working + towards a proper lvm2/lvm10/dm relationship. (Closes: #194907) + * Update kernel patch and headers; 2.4.19 and 2.4.20 patches are now + included. + * Update standards-version and libdevmapper-dev's section. + * Change SONAME stuff to work around ldconfig weirdness, and various + other fixes. + + -- Andres Salomon Sat, 07 Jun 2003 18:00:03 -0400 + +devmapper (0.96.07-1) unstable; urgency=low + + * New upstream version. (Closes: #171671) + * Char signedness assumption fixed. (Closes: #163825) + * Remove types.h inclusion fix from 2.4.19 kernel patch; committed upstream. + * debian/copyright fix to appease lintian. + + -- Andres Salomon Mon, 9 Dec 2002 02:16:28 -0400 + +devmapper (0.96.04-2) unstable; urgency=low + + * Make the new version of dh-kpatches happy. (Closes: #160927) + * Make header-update makefile rule consistent w/ my other packages, and + update headers for good measure. + + -- Andres Salomon Sat, 21 Sep 2002 17:29:07 -0400 + +devmapper (0.96.04-1) unstable; urgency=low + + * New upstream release (Beta5). + * Update kernel headers to 2.4.19. + * Update kpatch to 2.4.19. + + -- Andres Salomon Thu, 15 Aug 2002 00:26:20 -0400 + +devmapper (0.95.07-3) unstable; urgency=low + + * Move libdevmapper0 libs to /lib. (Closes: #146237) + * Remove dependency on fileutils, to shut lintian up. + + -- Andres Salomon Sun, 12 May 2002 03:20:54 -0500 + +devmapper (0.95.07-2) unstable; urgency=low + + * Fix link error on hppa, due to lack of -fPIC. (Closes: #144792) + * Fix postinst error in libdevmapper0. (Closes: #144889) + * Updated depends (removed patch, bzip2, added modutils, fileutils). + + -- Andres Salomon Sun, 28 Apr 2002 14:26:59 -0500 + +devmapper (0.95.07-1) unstable; urgency=low + + * New release (Beta2). + * Remove 2.4.16 and 2.4.17 patches from kpatches. + * Reworked the build system to supply its own headers, instead of + depending upon kernel-source packages. Makes building much faster. + * Added scripts/ directory, and scripts to keep kernel headers up-to-date. + + -- Andres Salomon Thu, 25 Apr 2002 01:01:41 -0500 + +devmapper (0.95.06-1) unstable; urgency=low + + * New release. + + -- Andres Salomon Wed, 3 Apr 2002 00:02:12 -0500 + +devmapper (0.95.05-1) unstable; urgency=low + + * New release; ext3 support and 2.4.18 patches now included. + * Drop the cvs suffix from version. + + -- Andres Salomon Fri, 15 Mar 2002 01:03:25 -0500 + +devmapper (0.95.03cvs20020306-1) unstable; urgency=low + + * New Release. + * Convert from debian native package. + + -- Andres Salomon Wed, 6 Mar 2002 00:29:39 -0500 + +devmapper (0.95.02cvs20020304) unstable; urgency=low + + * CVS update. + * Renamed libdevmapper package to libdevmapper0. + * Added postinst script for creating devmapper control device. + + -- Andres Salomon Mon, 4 Mar 2002 02:23:48 -0500 + +devmapper (0.95.02cvs20020218) unstable; urgency=low + + * Initial Release. + * device-mapper broken up into libdevmapper1, libdevmapper-dev, + dmsetup, and kernel-patch-device-mapper. + + -- Andres Salomon Mon, 18 Feb 2002 15:46:08 -0500 + --- devmapper-1.02.27.orig/debian/compat +++ devmapper-1.02.27/debian/compat @@ -0,0 +1 @@ +5 --- devmapper-1.02.27.orig/debian/libdevmapper1.02.1.install +++ devmapper-1.02.27/debian/libdevmapper1.02.1.install @@ -0,0 +1 @@ +usr/lib/libdevmapper.so.* lib --- devmapper-1.02.27.orig/debian/dmsetup.postinst +++ devmapper-1.02.27/debian/dmsetup.postinst @@ -0,0 +1,9 @@ +#!/bin/sh + +if [ "$1" = "configure" ]; then + if type update-initramfs >/dev/null 2>&1; then + update-initramfs -u + fi +fi + +#DEBHELPER# --- devmapper-1.02.27.orig/debian/libdevmapper-event1.02.1.symbols +++ devmapper-1.02.27/debian/libdevmapper-event1.02.1.symbols @@ -0,0 +1,20 @@ +libdevmapper-event.so.1.02.1 libdevmapper-event1.02.1 #MINVER# + Base@Base 2:1.02.20 + dm_event_get_registered_device@Base 2:1.02.20 + dm_event_handler_create@Base 2:1.02.20 + dm_event_handler_destroy@Base 2:1.02.20 + dm_event_handler_get_dso@Base 2:1.02.20 + dm_event_handler_get_event_mask@Base 2:1.02.20 + dm_event_handler_get_major@Base 2:1.02.20 + dm_event_handler_get_minor@Base 2:1.02.20 + dm_event_handler_get_timeout@Base 2:1.02.20 + dm_event_handler_get_uuid@Base 2:1.02.20 + dm_event_handler_set_dev_name@Base 2:1.02.20 + dm_event_handler_set_dso@Base 2:1.02.20 + dm_event_handler_set_event_mask@Base 2:1.02.20 + dm_event_handler_set_major@Base 2:1.02.20 + dm_event_handler_set_minor@Base 2:1.02.20 + dm_event_handler_set_timeout@Base 2:1.02.20 + dm_event_handler_set_uuid@Base 2:1.02.20 + dm_event_register_handler@Base 2:1.02.20 + dm_event_unregister_handler@Base 2:1.02.20 --- devmapper-1.02.27.orig/debian/libdevmapper1.02.1.symbols +++ devmapper-1.02.27/debian/libdevmapper1.02.1.symbols @@ -0,0 +1,136 @@ +libdevmapper.so.1.02.1 libdevmapper1.02.1 #MINVER# + Base@Base 2:1.02.20 + dm_asprintf@Base 2:1.02.20 + dm_basename@Base 2:1.02.20 + dm_bit_get_first@Base 2:1.02.20 + dm_bit_get_next@Base 2:1.02.20 + dm_bit_union@Base 2:1.02.20 + dm_bitset_create@Base 2:1.02.20 + dm_bitset_destroy@Base 2:1.02.20 + dm_bounds_check_debug@Base 2:1.02.20 + dm_create_dir@Base 2:1.02.24 + dm_dir@Base 2:1.02.20 + dm_driver_version@Base 2:1.02.20 + dm_dump_memory_debug@Base 2:1.02.20 + dm_fclose@Base 2:1.02.24 + dm_format_dev@Base 2:1.02.20 + dm_free_aux@Base 2:1.02.20 + dm_get_library_version@Base 2:1.02.20 + dm_get_next_target@Base 2:1.02.20 + dm_hash_create@Base 2:1.02.20 + dm_hash_destroy@Base 2:1.02.20 + dm_hash_get_data@Base 2:1.02.20 + dm_hash_get_first@Base 2:1.02.20 + dm_hash_get_key@Base 2:1.02.20 + dm_hash_get_next@Base 2:1.02.20 + dm_hash_get_num_entries@Base 2:1.02.20 + dm_hash_insert@Base 2:1.02.20 + dm_hash_insert_binary@Base 2:1.02.20 + dm_hash_iter@Base 2:1.02.20 + dm_hash_lookup@Base 2:1.02.20 + dm_hash_lookup_binary@Base 2:1.02.20 + dm_hash_remove@Base 2:1.02.20 + dm_hash_remove_binary@Base 2:1.02.20 + dm_hash_wipe@Base 2:1.02.20 + dm_is_dm_major@Base 2:1.02.20 + dm_lib_exit@Base 2:1.02.20 + dm_lib_release@Base 2:1.02.20 + dm_log@Base 2:1.02.20 + dm_log_init@Base 2:1.02.20 + dm_log_init_verbose@Base 2:1.02.20 + dm_malloc_aux@Base 2:1.02.20 + dm_malloc_aux_debug@Base 2:1.02.20 + dm_mknodes@Base 2:1.02.20 + dm_pool_abandon_object@Base 2:1.02.20 + dm_pool_alloc@Base 2:1.02.20 + dm_pool_alloc_aligned@Base 2:1.02.20 + dm_pool_begin_object@Base 2:1.02.20 + dm_pool_create@Base 2:1.02.20 + dm_pool_destroy@Base 2:1.02.20 + dm_pool_empty@Base 2:1.02.20 + dm_pool_end_object@Base 2:1.02.20 + dm_pool_free@Base 2:1.02.20 + dm_pool_grow_object@Base 2:1.02.20 + dm_pool_strdup@Base 2:1.02.20 + dm_pool_strndup@Base 2:1.02.20 + dm_pool_zalloc@Base 2:1.02.20 + dm_realloc_aux@Base 2:1.02.20 + dm_regex_create@Base 2:1.02.20 + dm_regex_match@Base 2:1.02.20 + dm_report_field_int32@Base 2:1.02.27 + dm_report_field_int@Base 2:1.02.27 + dm_report_field_set_value@Base 2:1.02.27 + dm_report_field_string@Base 2:1.02.27 + dm_report_field_uint32@Base 2:1.02.27 + dm_report_field_uint64@Base 2:1.02.27 + dm_report_free@Base 2:1.02.27 + dm_report_init@Base 2:1.02.27 + dm_report_object@Base 2:1.02.27 + dm_report_output@Base 2:1.02.27 + dm_report_set_output_field_name_prefix@Base 2:1.02.27 + dm_set_dev_dir@Base 2:1.02.20 + dm_set_selinux_context@Base 2:1.02.20 + dm_snprintf@Base 2:1.02.20 + dm_split_lvm_name@Base 2:1.02.20 + dm_split_words@Base 2:1.02.20 + dm_strdup_aux@Base 2:1.02.20 + dm_task_add_target@Base 2:1.02.20 + dm_task_create@Base 2:1.02.20 + dm_task_destroy@Base 2:1.02.20 + dm_task_get_deps@Base 2:1.02.20 + dm_task_get_driver_version@Base 2:1.02.20 + dm_task_get_info@Base 2:1.02.20 + dm_task_get_name@Base 2:1.02.20 + dm_task_get_names@Base 2:1.02.20 + dm_task_get_read_ahead@Base 2:1.02.24 + dm_task_get_uuid@Base 2:1.02.20 + dm_task_get_versions@Base 2:1.02.20 + dm_task_no_flush@Base 2:1.02.20 + dm_task_no_open_count@Base 2:1.02.20 + dm_task_run@Base 2:1.02.20 + dm_task_set_event_nr@Base 2:1.02.20 + dm_task_set_geometry@Base 2:1.02.20 + dm_task_set_gid@Base 2:1.02.20 + dm_task_set_major@Base 2:1.02.20 + dm_task_set_message@Base 2:1.02.20 + dm_task_set_minor@Base 2:1.02.20 + dm_task_set_mode@Base 2:1.02.20 + dm_task_set_name@Base 2:1.02.20 + dm_task_set_newname@Base 2:1.02.20 + dm_task_set_read_ahead@Base 2:1.02.24 + dm_task_set_ro@Base 2:1.02.20 + dm_task_set_sector@Base 2:1.02.20 + dm_task_set_uid@Base 2:1.02.20 + dm_task_set_uuid@Base 2:1.02.20 + dm_task_skip_lockfs@Base 2:1.02.20 + dm_task_suppress_identical_reload@Base 2:1.02.20 + dm_task_update_nodes@Base 2:1.02.20 + dm_tree_activate_children@Base 2:1.02.20 + dm_tree_add_dev@Base 2:1.02.20 + dm_tree_add_new_dev@Base 2:1.02.20 + dm_tree_children_use_uuid@Base 2:1.02.20 + dm_tree_create@Base 2:1.02.20 + dm_tree_deactivate_children@Base 2:1.02.20 + dm_tree_find_node@Base 2:1.02.20 + dm_tree_find_node_by_uuid@Base 2:1.02.20 + dm_tree_free@Base 2:1.02.20 + dm_tree_next_child@Base 2:1.02.20 + dm_tree_node_add_error_target@Base 2:1.02.20 + dm_tree_node_add_linear_target@Base 2:1.02.20 + dm_tree_node_add_mirror_target@Base 2:1.02.20 + dm_tree_node_add_mirror_target_log@Base 2:1.02.20 + dm_tree_node_add_snapshot_origin_target@Base 2:1.02.20 + dm_tree_node_add_snapshot_target@Base 2:1.02.20 + dm_tree_node_add_striped_target@Base 2:1.02.20 + dm_tree_node_add_target_area@Base 2:1.02.20 + dm_tree_node_add_zero_target@Base 2:1.02.20 + dm_tree_node_get_context@Base 2:1.02.20 + dm_tree_node_get_info@Base 2:1.02.20 + dm_tree_node_get_name@Base 2:1.02.20 + dm_tree_node_get_uuid@Base 2:1.02.20 + dm_tree_node_num_children@Base 2:1.02.20 + dm_tree_node_set_read_ahead@Base 2:1.02.24 + dm_tree_preload_children@Base 2:1.02.20 + dm_tree_skip_lockfs@Base 2:1.02.20 + dm_tree_suspend_children@Base 2:1.02.20 + dm_tree_use_no_flush_suspend@Base 2:1.02.20