debian/0000775000000000000000000000000012102071455007165 5ustar debian/reportbug/0000775000000000000000000000000012102071453011174 5ustar debian/reportbug/script0000775000000000000000000000036012102067575012437 0ustar #!/bin/sh CONFIG_FILE=/etc/multipath.conf exec >&3 if [ -e "$CONFIG_FILE" ]; then printf "Contents of $CONFIG_FILE:\n" grep -Ev "^([[:space:]]*#|$)" $CONFIG_FILE else printf "$CONFIG_FILE does not exist.\n" fi printf "\n" debian/multipath-tools.postinst0000664000000000000000000000227412102067575014154 0ustar #!/bin/sh # postinst script for multipath-tools # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `configure' # * `abort-upgrade' # * `abort-remove' `in-favour' # # * `abort-remove' # * `abort-deconfigure' `in-favour' # `removing' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package RULE=/etc/udev/rules.d/multipath.rules case "$1" in configure) if [ -n "$2" ] && dpkg --compare-versions "$2" lt "0.4.7-4"; then if [ -L $RULE ] && ! readlink -e $RULE; then echo -n "Removing dangling $RULE symlink..." rm $RULE echo "done." fi fi ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/multipath-tools-boot.postinst0000664000000000000000000000107512102067575015113 0ustar #!/bin/sh # postinst script for multipath-tools # # see: dh_installdeb(1) set -e # Source debconf library. . /usr/share/debconf/confmodule case "$1" in configure) if [ -x /usr/sbin/update-initramfs -a -e /etc/initramfs-tools/initramfs.conf ]; then update-initramfs -u fi ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/multipath-tools.multipath-tools-boot.init0000775000000000000000000000173112102067575017341 0ustar #! /bin/sh ### BEGIN INIT INFO # Provides: multipath-tools-boot # Required-Start: checkroot udev # Required-Stop: checkroot udev # Should-Start: module-init-tools # Should-Stop: module-init-tools # Default-Start: S # Default-Stop: # X-Start-Before: checkfs mountall # X-Stop-After: umountfs # Short-Description: early multipath boot script # Description: ### END INIT INFO PATH=/sbin:/bin DAEMON=/sbin/multipath NAME=multipath-tools-boot DESC="Discovering and coalescing multipaths" test -x $DAEMON || exit 0 . /lib/lsb/init-functions VERBOSITY=0 if [ -f /etc/default/multipath-tools ] ; then . /etc/default/multipath-tools fi set -e case "$1" in start) log_action_begin_msg "$DESC" modprobe dm-multipath 2> /dev/null || true $DAEMON -v $VERBOSITY log_action_end_msg $? ;; stop) ;; restart|force-reload) $0 start ;; *) N=/etc/init.d/$NAME echo "Usage: $N {start|stop|restart|force-reload}" >&2 exit 1 ;; esac exit 0 debian/multipath-tools-boot.postrm0000664000000000000000000000205612102067575014554 0ustar #!/bin/sh # postrm script for multipath-tools-boot # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `remove' # * `purge' # * `upgrade' # * `failed-upgrade' # * `abort-install' # * `abort-install' # * `abort-upgrade' # * `disappear' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in remove) if [ -x /usr/sbin/update-initramfs -a -e /etc/initramfs-tools/initramfs.conf ]; then update-initramfs -u fi ;; purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) ;; *) echo "postrm called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/dmsetup_env0000775000000000000000000000150112102067575011451 0ustar #!/bin/sh # # Debian's dmsetup is lacking the export patch, so gather the minimum # information here in order to get proper partition mappings via kpartx # # See: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=434241 # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=487881 # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=493078 MAJOR=$1 MINOR=$2 if [ -z "$MAJOR" -o -z "$MINOR" ]; then echo "usage: $0 major minor" exit 1 fi DMSETUP="/sbin/dmsetup -c --noheadings info -j$MAJOR -m$MINOR" DM_UUID=`$DMSETUP -oUUID` if [ -n "$DM_UUID" ]; then echo DM_UUID=$DM_UUID ATTRS=`$DMSETUP -oattr` case "$ATTRS" in L-*) # this is the only state needed for the kpartx udev rules echo DM_TABLE_STATE=LIVE echo DM_STATE=ACTIVE ;; esac fi echo DM_NAME=`$DMSETUP -oname` debian/multipath-tools.docs0000664000000000000000000000001312102067575013206 0ustar FAQ README debian/patches/0000775000000000000000000000000012102071453010612 5ustar debian/patches/0010-fix-extended-partitions.patch0000664000000000000000000000264712102070471016777 0ustar From: Phillip Susi Subject: fix extended partition mapping Description: The linux kernel maps the extended partition only so that LILO can be installed there. The length is always set to two sectors to allow this, and most tools know to ignore the device. kpartx was mapping the entire extended partition, then stacking the logical partitions on top of it. This presented a device that looked like an entirely separate disk that contains only the logical partitions. This patch fixes kpartx to conform with the normal Linux behavior. --- a/kpartx/dos.c +++ b/kpartx/dos.c @@ -98,6 +98,8 @@ break; } if (is_extended(p.sys_type)) { + sp[i].size = 2; /* extended partitions only get two + sectors mapped for LILO to install */ n += read_extended_partition(fd, &p, i, sp+n, ns-n); } } --- a/kpartx/kpartx.c +++ b/kpartx/kpartx.c @@ -501,7 +501,6 @@ d = c; while (c) { for (j = 0; j < n; j++) { - uint64_t start; int k = slices[j].container - 1; if (slices[j].size == 0) @@ -527,11 +526,9 @@ } strip_slash(partname); - start = slices[j].start - slices[k].start; - if (safe_sprintf(params, "%d:%d %" PRIu64, - slices[k].major, - slices[k].minor, - start)) { + if (safe_sprintf(params, "%s %" PRIu64, + device, + slices[j].start)) { fprintf(stderr, "params too small\n"); exit(1); } debian/patches/series0000664000000000000000000000073012102070471012026 0ustar 0001-blacklist-cciss-devices.patch 0002-Make-user_friendly_names-compatible-to-multipath-too.patch 0003-explicitly-include-posix_types.h.patch 0004-add-r-to-make-resulting-device-read-only.patch 0005-spelling-error-fixes.patch 0006-read-only-partition-mappings-manpage.patch 0007-do-not-link-against-ncurses.patch 0008-kpartx-example-manpage.patch 1000--set-umask-in-multipathd.patch 1001--fix-linking-command.patch 0009-fix-delim.patch 0010-fix-extended-partitions.patch debian/patches/0003-explicitly-include-posix_types.h.patch0000664000000000000000000000172012102067575020646 0ustar From: =?UTF-8?q?Guido=20G=C3=BCnther?= Date: Sat, 5 Dec 2009 18:11:00 +0100 Subject: [PATCH] explicitly include posix_types.h to get the correct type for __kernel_old_dev_t Closes: #558990 --- kpartx/lopart.c | 13 +------------ 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/kpartx/lopart.c b/kpartx/lopart.c index 79d8328..570c8ad 100644 --- a/kpartx/lopart.c +++ b/kpartx/lopart.c @@ -26,18 +26,7 @@ #include #include #include - -#if defined(__hppa__) || defined(__powerpc64__) || defined (__alpha__) \ - || defined (__x86_64__) -typedef unsigned long __kernel_old_dev_t; -#elif defined(__powerpc__) || defined(__ia64__) || (defined(__sparc__) && defined (__arch64__)) -typedef unsigned int __kernel_old_dev_t; -#else -typedef unsigned short __kernel_old_dev_t; -#endif - -#define dev_t __kernel_old_dev_t - +#include #include #include "lopart.h" -- debian/patches/1000--set-umask-in-multipathd.patch0000664000000000000000000000132412102067575016766 0ustar Index: multipath-tools-0.4.8-14ubuntu1/multipathd/uxlsnr.c =================================================================== --- multipath-tools-0.4.8-14ubuntu1.orig/multipathd/uxlsnr.c 2009-02-12 16:03:36.166109941 +0200 +++ multipath-tools-0.4.8-14ubuntu1/multipathd/uxlsnr.c 2009-02-12 16:04:44.842624340 +0200 @@ -19,6 +19,7 @@ #include #include #include +#include #include @@ -93,11 +94,16 @@ int ux_sock; size_t len; int rlen; + mode_t mask; char *inbuf; char *reply; + mask=umask(0177); + ux_sock = ux_socket_listen(DEFAULT_SOCKET); + umask(mask); + if (ux_sock == -1) { condlog(0, "ux_socket_listen error"); exit(1); debian/patches/0008-kpartx-example-manpage.patch0000664000000000000000000000120312102067575016576 0ustar Add example to kpartx manual page --- a/kpartx/kpartx.8 +++ b/kpartx/kpartx.8 @@ -34,6 +34,26 @@ force GUID partition table (GPT) .TP .B \-v Operate verbosely +.SH EXAMPLE +To mount all the partitions in a raw disk image: +.IP +kpartx -av disk.img +.PP +This will output lines such as: +.IP +loop3p1 : 0 20964762 /dev/loop3 63 +.PP +The +.I loop3p1 +is the name of a device file under +.I /dev/mapper +which you can use to access the partition, for example to fsck it: +.IP +fsck /dev/mapper/loop3p1 +.PP +When you're done, you need to remove the devices: +.IP +kpartx -d disk.img .SH "SEE ALSO" .BR multipath (8) .BR multipathd (8) debian/patches/0006-read-only-partition-mappings-manpage.patch0000664000000000000000000000071512102067575021356 0ustar add patch for read-only device mappings. already accepted upstream Index: multipath-tools/kpartx/kpartx.8 =================================================================== --- multipath-tools.orig/kpartx/kpartx.8 2011-02-23 19:01:06.027421001 +0530 +++ multipath-tools/kpartx/kpartx.8 2011-02-23 19:02:21.359421002 +0530 @@ -17,6 +17,9 @@ .B \-a Add partition mappings .TP +.B \-r +Read-only partition mappings +.TP .B \-d Delete partition mappings .TP debian/patches/0002-Make-user_friendly_names-compatible-to-multipath-too.patch0000664000000000000000000000237112102067575024500 0ustar From: =?UTF-8?q?Guido=20G=C3=BCnther?= Date: Sat, 21 Nov 2009 17:31:55 +0100 Subject: [PATCH] Make user_friendly_names compatible to multipath-tools 0.4.8 and earlier --- libmultipath/alias.c | 30 ++++++------------------------ 1 files changed, 6 insertions(+), 24 deletions(-) diff --git a/libmultipath/alias.c b/libmultipath/alias.c index 95506b4..02b384b 100644 --- a/libmultipath/alias.c +++ b/libmultipath/alias.c @@ -184,40 +184,22 @@ format_devname(char *name, int id, int len) { int pos; - memset(name,0, len); - strcpy(name,"mpath"); - for (pos = len - 1; pos >= 5; pos--) { - name[pos] = 'a' + id % 26; - if (id < 26) - break; - id /= 26; - id--; - } - memmove(name + 5, name + pos, len - pos); - name[5 + len - pos] = '\0'; - return (5 + len - pos); + memset(name, 0, len); + return snprintf(name, len, "mpath%d", id); } static int scan_devname(char *alias) { - char *c; - int i, n = 0; + int n = 0; if (strncmp(alias, "mpath", 5)) return -1; - c = alias + 5; - while (*c != '\0' && *c != ' ' && *c != '\t') { - i = *c - 'a'; - n = ( n * 26 ) + i; - c++; - if (*c < 'a' || *c > 'z') - break; - n++; - } + if (sscanf(alias, "mpath%d", &n) >= 1) + return n; - return n; + return -1; } static int -- debian/patches/0005-spelling-error-fixes.patch0000664000000000000000000000554112102067575016314 0ustar Spelling and manpage fixes Index: multipath-tools/kpartx/kpartx.8 =================================================================== --- multipath-tools.orig/kpartx/kpartx.8 2011-02-23 18:50:58.451421001 +0530 +++ multipath-tools/kpartx/kpartx.8 2011-02-23 18:51:10.075421002 +0530 @@ -21,7 +21,7 @@ Delete partition mappings .TP .B \-l -List partition mappings that would be added -a +List partition mappings that would be added \-a .TP .B \-p set device name-partition number delimiter Index: multipath-tools/multipath/main.c =================================================================== --- multipath-tools.orig/multipath/main.c 2011-02-23 18:50:21.747421002 +0530 +++ multipath-tools/multipath/main.c 2011-02-23 18:50:37.051421002 +0530 @@ -399,7 +399,7 @@ case 'h': usage(argv[0]); case ':': - fprintf(stderr, "Missing option arguement\n"); + fprintf(stderr, "Missing option argument\n"); usage(argv[0]); case '?': fprintf(stderr, "Unknown switch: %s\n", optarg); Index: multipath-tools/multipath/multipath.conf.5 =================================================================== --- multipath-tools.orig/multipath/multipath.conf.5 2011-02-23 18:48:12.115421002 +0530 +++ multipath-tools/multipath/multipath.conf.5 2011-02-23 18:49:13.835421001 +0530 @@ -229,13 +229,13 @@ If set to .I no use the WWID as the alias. In either case this be will -be overriden by any specific aliases in the \fImultipaths\fR section. +be overridden by any specific aliases in the \fImultipaths\fR section. Default is .I no .TP .B max_fds Specify the maximum number of file descriptors that can be opened by multipath -and multipathd. This is equivalent to ulimit -n. A value of \fImax\fR will set +and multipathd. This is equivalent to ulimit \-n. A value of \fImax\fR will set this to the system limit from /proc/sys/fs/nr_open. If this is not set, the maximum number of open fds is taken from the calling process. It is usually 1024. To be safe, this should be set to the maximum number of paths plus 32, Index: multipath-tools/multipathd/multipathd.8 =================================================================== --- multipath-tools.orig/multipathd/multipathd.8 2011-02-23 18:49:26.471421002 +0530 +++ multipath-tools/multipathd/multipathd.8 2011-02-23 18:50:10.139421002 +0530 @@ -45,10 +45,10 @@ Show some statistics of all multipath devices that the multipathd is monitoring. .TP .B list|show maps|multipaths topology -Show the current multipath topology. Same as "multipath -ll". +Show the current multipath topology. Same as "multipath \-ll". .TP .B list|show topology -Show the current multipath topology. Same as "multipath -ll". +Show the current multipath topology. Same as "multipath \-ll". .TP .B list|show map|multipath $map topology Show topology of a single multipath device specified by $map, e.g. 36005076303ffc56200000000000010aa. debian/patches/0009-fix-delim.patch0000664000000000000000000000204212102067575014107 0ustar From: Phillip Susi Subject: Don't add 'p' delimiter when you shouldn't Description: The 'p' delimiter is supposed to be added when the base disk name ends in a digit. This decision was based on the name given on the command line, not the canonical device name, so giving /dev/dm-0 instead of /dev/mapper/foo triggered the digit test and added the 'p'. Changed test to use the canonical name rather than the given name. Index: b/kpartx/kpartx.c =================================================================== --- a/kpartx/kpartx.c +++ b/kpartx/kpartx.c @@ -310,12 +310,6 @@ device = loopdev; } - if (delim == NULL) { - delim = malloc(DELIM_SIZE); - memset(delim, 0, DELIM_SIZE); - set_delimiter(device, delim); - } - off = find_devname_offset(device); if (!loopdev) { @@ -331,6 +325,12 @@ if (!mapname) mapname = device + off; + if (delim == NULL) { + delim = malloc(DELIM_SIZE); + memset(delim, 0, DELIM_SIZE); + set_delimiter(mapname, delim); + } + fd = open(device, O_RDONLY); if (fd == -1) { debian/patches/0001-blacklist-cciss-devices.patch0000664000000000000000000000161712102067575016722 0ustar From: =?UTF-8?q?Guido=20G=C3=BCnther?= Date: Fri, 3 Oct 2008 12:39:48 +0200 Subject: [PATCH] blacklist cciss devices cciss support isn't complete in 0.4.8 and the half functioning causes problems in d-i among other things. Closes: #500991 --- libmultipath/blacklist.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/libmultipath/blacklist.c b/libmultipath/blacklist.c index f369517..2e5efc8 100644 --- a/libmultipath/blacklist.c +++ b/libmultipath/blacklist.c @@ -121,6 +121,12 @@ setup_default_blist (struct config * conf) if (store_ble(conf->blist_devnode, str, ORIGIN_DEFAULT)) return 1; + str = STRDUP("^cciss!c[0-9]d[0-9]*"); + if (!str) + return 1; + if (store_ble(conf->blist_devnode, str, ORIGIN_DEFAULT)) + return 1; + vector_foreach_slot (conf->hwtable, hwe, i) { if (hwe->bl_product) { if (alloc_ble_device(conf->blist_device)) -- debian/patches/1001--fix-linking-command.patch0000664000000000000000000000125412102067575016136 0ustar Description: Specify LDFLAGS after objects Otherwise linking fails. Not (yet) sent upstream, may be specific to Ubuntu toolchain since someone otherwise surely would have noticed failure to build. Index: multipath-tools-merge/multipathd/Makefile =================================================================== --- multipath-tools-merge.orig/multipathd/Makefile 2011-01-25 11:33:21.479274000 -0600 +++ multipath-tools-merge/multipathd/Makefile 2011-01-25 13:14:42.278463101 -0600 @@ -28,7 +28,7 @@ all : $(EXEC) $(EXEC): $(OBJS) - $(CC) $(CFLAGS) $(LDFLAGS) -o $(EXEC) $(OBJS) + $(CC) $(CFLAGS) -o $(EXEC) $(OBJS) $(LDFLAGS) $(GZIP) $(EXEC).8 > $(EXEC).8.gz install: debian/patches/0004-add-r-to-make-resulting-device-read-only.patch0000664000000000000000000001000712102067575021705 0ustar From d044e3549933de51d59931fc4047a92a71c9c809 Mon Sep 17 00:00:00 2001 From: Ritesh Raj Sarraf Date: Wed, 2 Feb 2011 19:51:46 +0530 Subject: [PATCH 1/3] add -r to make resulting device read-only This patch adds the ability to create targets which are read-only to keep from accidentally modifying the newly created device. In some cases, mounting with -o ro still modifies the device (in the case of ext3 filesystems). I created a small patch that will do this. I have tested it only to the point that using -a with or without -r produces the desired effects. Signed-off-by: Ritesh Raj Sarraf Signed-off-by: Wakko Warner --- kpartx/devmapper.c | 5 ++++- kpartx/devmapper.h | 2 +- kpartx/kpartx.c | 12 ++++++++---- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/kpartx/devmapper.c b/kpartx/devmapper.c index f884511..7ebc5b6 100644 --- a/kpartx/devmapper.c +++ b/kpartx/devmapper.c @@ -81,7 +81,7 @@ dm_simplecmd (int task, const char *name, int no_flush, uint32_t *cookie) { extern int dm_addmap (int task, const char *name, const char *target, - const char *params, uint64_t size, const char *uuid, int part, + const char *params, uint64_t size, int ro, const char *uuid, int part, mode_t mode, uid_t uid, gid_t gid, uint32_t *cookie) { int r = 0; struct dm_task *dmt; @@ -96,6 +96,9 @@ dm_addmap (int task, const char *name, const char *target, if (!dm_task_add_target (dmt, 0, size, target, params)) goto addout; + if (ro && !dm_task_set_ro (dmt)) + goto addout; + if (task == DM_DEVICE_CREATE && uuid) { prefixed_uuid = malloc(MAX_PREFIX_LEN + strlen(uuid) + 1); if (!prefixed_uuid) { diff --git a/kpartx/devmapper.h b/kpartx/devmapper.h index f8692cc..6226129 100644 --- a/kpartx/devmapper.h +++ b/kpartx/devmapper.h @@ -5,7 +5,7 @@ int dm_prereq (char *, int, int, int); int dm_simplecmd (int, const char *, int, uint32_t *); int dm_addmap (int, const char *, const char *, const char *, uint64_t, - const char *, int, mode_t, uid_t, gid_t, uint32_t *); + int, const char *, int, mode_t, uid_t, gid_t, uint32_t *); int dm_map_present (char *); char * dm_mapname(int major, int minor); dev_t dm_get_first_dep(char *devname); diff --git a/kpartx/kpartx.c b/kpartx/kpartx.c index 3d33990..f518aa0 100644 --- a/kpartx/kpartx.c +++ b/kpartx/kpartx.c @@ -82,7 +82,7 @@ initpts(void) addpts("sun", read_sun_pt); } -static char short_opts[] = "ladgvp:t:s"; +static char short_opts[] = "rladgvp:t:s"; /* Used in gpt.c */ int force_gpt=0; @@ -91,6 +91,7 @@ static int usage(void) { printf("usage : kpartx [-a|-d|-l] [-v] wholedisk\n"); printf("\t-a add partition devmappings\n"); + printf("\t-r devmappings will be readonly\n"); printf("\t-d del partition devmappings\n"); printf("\t-l list partitions devmappings that would be added by -a\n"); printf("\t-p set device name-partition number delimiter\n"); @@ -185,7 +186,7 @@ get_hotplug_device(void) int main(int argc, char **argv){ - int fd, i, j, m, n, op, off, arg, c, d; + int fd, i, j, m, n, op, off, arg, c, d, ro=0; struct slice all; struct pt *ptp; enum action what = LIST; @@ -233,6 +234,9 @@ main(int argc, char **argv){ } while ((arg = getopt(argc, argv, short_opts)) != EOF) switch(arg) { + case 'r': + ro=1; + break; case 'g': force_gpt=1; break; @@ -470,7 +474,7 @@ main(int argc, char **argv){ DM_DEVICE_RELOAD : DM_DEVICE_CREATE); if (!dm_addmap(op, partname, DM_TARGET, params, - slices[j].size, uuid, j+1, + slices[j].size, ro, uuid, j+1, buf.st_mode & 0777, buf.st_uid, buf.st_gid, &cookie)) { fprintf(stderr, "create/reload failed on %s\n", @@ -536,7 +540,7 @@ main(int argc, char **argv){ DM_DEVICE_RELOAD : DM_DEVICE_CREATE); dm_addmap(op, partname, DM_TARGET, params, - slices[j].size, uuid, j+1, + slices[j].size, ro, uuid, j+1, buf.st_mode & 0777, buf.st_uid, buf.st_gid, &cookie); -- 1.7.2.3 debian/patches/0007-do-not-link-against-ncurses.patch0000664000000000000000000000100212102067575017461 0ustar Description: Do not link against ncurses unnecessarily Author: Sven Joachim Bug-Debian: http://bugs.debian.org/646148 Last-Update: <2011-11-05> --- --- multipath-tools-0.4.9.orig/multipathd/Makefile +++ multipath-tools-0.4.9/multipathd/Makefile @@ -6,7 +6,7 @@ include ../Makefile.inc # basic flags setting # CFLAGS += -I$(multipathdir) -LDFLAGS += -lpthread -ldevmapper -lreadline -lncurses -ldl \ +LDFLAGS += -lpthread -ldevmapper -lreadline -ldl \ -lmultipath -L$(multipathdir) # debian/kpartx-udeb.install0000664000000000000000000000001512102067575013007 0ustar /sbin/kpartx debian/README.source0000664000000000000000000000350712102067575011361 0ustar This package uses quilt to manage all modifications to the upstream source. Changes are stored in the source package as diffs in debian/patches and applied during the build. To configure quilt to use debian/patches instead of patches, you want either to export QUILT_PATCHES=debian/patches in your environment or use this snippet in your ~/.quiltrc: for where in ./ ../ ../../ ../../../ ../../../../ ../../../../../; do if [ -e ${where}debian/rules -a -d ${where}debian/patches ]; then export QUILT_PATCHES=debian/patches fi done To get the fully patched source after unpacking the source package, cd to the root level of the source package and run: quilt push -a The last patch listed in debian/patches/series will become the current patch. To add a new set of changes, first run quilt push -a, and then run: quilt new where is a descriptive name for the patch, used as the filename in debian/patches. Then, for every file that will be modified by this patch, run: quilt add before editing those files. You must tell quilt with quilt add what files will be part of the patch before making changes or quilt will not work properly. After editing the files, run: quilt refresh to save the results as a patch. Alternately, if you already have an external patch and you just want to add it to the build system, run quilt push -a and then: quilt import -P /path/to/patch quilt push -a (add -p 0 to quilt import if needed). as above is the filename to use in debian/patches. The last quilt push -a will apply the patch to make sure it works properly. To remove an existing patch from the list of patches that will be applied, run: quilt delete You may need to run quilt pop -a to unapply patches first before running this command. debian/kpartx.udev0000664000000000000000000000265612102067575011404 0ustar # # persistent links for device-mapper devices # only hardware-backed device-mapper devices (ie multipath, dmraid, # and kpartx) have meaningful persistent device names # # Always attempt to load dm-multipath. This way we can get rid of the # init script. ACTION=="add|change", SUBSYSTEM=="block", \ RUN+="/sbin/modprobe -qba dm-multipath" KERNEL!="dm-*", GOTO="kpartx_end" ACTION=="remove", GOTO="kpartx_end" # This is a temporary hack until Debian's dmsetup properly supports "dmsetup # export". For more information see: #434241, #487881, #493078 IMPORT{program}="/lib/udev/dmsetup_env %M %m" ENV{DM_TABLE_STATE}!="LIVE", GOTO="kpartx_end" ENV{DM_UUID}=="?*", IMPORT{program}=="kpartx_id %M %m $env{DM_UUID}" OPTIONS="link_priority=95" # Create persistent links for multipath tables ENV{DM_UUID}=="mpath-*", \ SYMLINK+="disk/by-id/$env{DM_TYPE}-$env{DM_NAME}" # Create persistent links for dmraid tables ENV{DM_UUID}=="dmraid-*", \ SYMLINK+="disk/by-id/$env{DM_TYPE}-$env{DM_NAME}" # Create persistent links for partitions ENV{DM_PART}=="?*", \ SYMLINK+="disk/by-id/$env{DM_TYPE}-$env{DM_NAME}-part$env{DM_PART}" # Create dm tables for partitions ENV{DM_STATE}=="ACTIVE", ENV{DM_UUID}=="mpath-*", \ RUN+="/sbin/dmsetup ls --target multipath --exec '/sbin/kpartx -a -p -part' -j %M -m %m" ENV{DM_STATE}=="ACTIVE", ENV{DM_UUID}=="dmraid-*", \ RUN+="/sbin/kpartx -a -p -part /dev/$kernel" LABEL="kpartx_end" debian/multipath-tools.init0000775000000000000000000000235612102067575013240 0ustar #! /bin/sh ### BEGIN INIT INFO # Provides: multipath-tools # Required-Start: udev $local_fs $syslog # Required-Stop: udev $local_fs $syslog # Should-Start: iscsi # Should-Stop: iscsi # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: multipath daemon # Description: ### END INIT INFO PATH=/sbin:/bin DAEMON=/sbin/multipathd NAME=multipathd DESC="multipath daemon" test -x $DAEMON || exit 0 . /lib/lsb/init-functions if [ -f /etc/default/multipath-tools ] ; then . /etc/default/multipath-tools fi set -e case "$1" in start) log_daemon_msg "Starting $DESC" "$NAME" start-stop-daemon --oknodo --start --quiet --pidfile /var/run/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS log_end_msg $? ;; stop) log_daemon_msg "Stopping $DESC" "$NAME" start-stop-daemon --oknodo --stop --quiet --pidfile /var/run/$NAME.pid --exec $DAEMON log_end_msg $? ;; reload|force-reload) log_daemon_msg "Reloading $DESC" "$NAME" start-stop-daemon --stop --signal 1 --quiet --pidfile /var/run/$NAME.pid --exec $DAEMON log_end_msg $? ;; restart|force-reload) $0 stop sleep 1 $0 start ;; *) N=/etc/init.d/multipath-tools echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2 exit 1 ;; esac exit 0 debian/rules0000775000000000000000000000454012102067575010260 0ustar #!/usr/bin/make -f INITRAMFS=$(CURDIR)/debian/multipath-tools-boot/usr/share/initramfs-tools/ ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) INSTALL_PROGRAM = install -s else INSTALL_PROGRAM = install endif # Work around misp(el) linker bug: # http://sources.redhat.com/bugzilla/show_bug.cgi?id=10144 DEB_HOST_ARCH=$(shell dpkg-architecture -qDEB_HOST_ARCH) ifneq (,$(findstring mips,$(DEB_HOST_ARCH))) OPTFLAGS = "OPTFLAGS=-pipe -Wall -Wunused -Wstrict-prototypes" endif # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 build: build-stamp build-stamp: dh_testdir $(MAKE) $(OPTFLAGS) LIB=lib touch $@ clean-tree: $(MAKE) clean clean: clean-tree dh_testdir rm -f build-stamp dh_clean debconf-updatepo install: dh_testdir dh_testroot dh_clean -k dh_installdirs mkdir -p $(CURDIR)/debian/tmp/sbin $(MAKE) install INSTALL_PROGRAM=$(INSTALL_PROGRAM) DESTDIR=$(CURDIR)/debian/tmp LIB=lib install -m 755 debian/dmsetup_env $(CURDIR)/debian/tmp/lib/udev/ dh_install -X.rules --fail-missing --sourcedir=$(CURDIR)/debian/tmp # initramfs stuff: install -D -m 755 debian/initramfs/hooks $(INITRAMFS)/hooks/multipath install -D -m 755 debian/initramfs/kpartx.hook $(CURDIR)/debian/kpartx-boot/usr/share/initramfs-tools/hooks/kpartx install -D -m 755 debian/initramfs/local-top \ $(INITRAMFS)/scripts/local-top/multipath # reportbug: for pkg in "multipath-tools" "multipath-tools-boot"; do \ install -D -m 755 debian/reportbug/script debian/$${pkg}/usr/share/bug/$${pkg}/script; \ done # Build architecture-independent files here. binary-indep: build install # We have nothing to do by default. # Build architecture-dependent files here. binary-arch: build install dh_testdir dh_testroot dh_installchangelogs ChangeLog dh_installdocs dh_installexamples dh_installinit -pmultipath-tools dh_installinit -pmultipath-tools --name=multipath-tools-boot --no-start -- start 21 S . dh_installudev -pkpartx --priority=95 dh_installudev -pmultipath-tools --name=multipath --priority=95 dh_installdebconf -pmultipath-tools-boot dh_installman dh_makeshlibs --add-udeb=multipath-udeb dh_link dh_strip --dbg-package=multipath-tools-dbg dh_compress dh_fixperms dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: binary binary-arch binary-indep unpack configure build clean debian/copyright0000664000000000000000000000100412102067575011123 0ustar This is the Debian GNU/Linux prepackaged version of multipath-tools. Copyright (C) 2003,2004 Christophe Varoqui multipath-tools is licensed under the GNU GPL version 2. libsysfs is licensed under the GNU LGPL version 2.1 or later. libdevmapper is licensed under the GNU LGPL version 2. On Debian systems, the complete text of the GNU General Public License and of the GNU Lesser Public License can be found in /usr/share/common-licenses/GPL-2 and /usr/share/common-licenses/LGPL-2 . debian/multipath-tools.examples0000664000000000000000000000006212102067575014100 0ustar multipath.conf.annotated multipath.conf.synthetic debian/watch0000664000000000000000000000023712102067575010230 0ustar # format version number, currently 3; this line is compulsory! version=3 http://christophe.varoqui.free.fr/multipath-tools/multipath-tools-([\d\.]*)\.tar\.bz2 debian/multipath.udev0000664000000000000000000000051012102067575012065 0ustar # # udev rules for multipathing. # The persistent symlinks are created with the kpartx rules # # socket for uevents RUN+="socket:/org/kernel/dm/multipath_event" # Coalesce multipath devices before multipathd is running (initramfs, early # boot) ACTION=="add|change", SUBSYSTEM=="block", RUN+="/sbin/multipath -v0 /dev/$name" debian/po/0000775000000000000000000000000012102071455007603 5ustar debian/po/de.po0000664000000000000000000000344612102067575010552 0ustar # Translation of multipath-tools debconf templates to German # Copyright (C) Helge Kreutzmann , 2008. # This file is distributed under the same license as the multipath-tools package. # msgid "" msgstr "" "Project-Id-Version: multipath-tools 0.4.8-9\n" "Report-Msgid-Bugs-To: multipath-tools@packages.debian.org\n" "POT-Creation-Date: 2008-05-17 14:36+0200\n" "PO-Revision-Date: 2008-05-20 20:37+0200\n" "Last-Translator: Helge Kreutzmann \n" "Language-Team: de \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-15\n" "Content-Transfer-Encoding: 8bit\n" #. Type: note #. Description #: ../multipath-tools-boot.templates:1001 msgid "The location of the getuid callout has changed" msgstr "Der Ort des Getuid-Callouts ist gendert worden" #. Type: note #. Description #: ../multipath-tools-boot.templates:1001 msgid "" "Your /etc/multipath.conf still has a getuid_callout pointing to /sbin/" "scsi_id but the binary has moved to /lib/udev/scsi_id in udev 0.113-1. " "Please update your configuration. This is best done by removing the " "getuid_callout option entirely." msgstr "" "In Ihrer /etc/multipath.conf weist ein getuid_callout auf /sbin/scsi_id, das " "Programm wurde aber in Udev 0.113-1 nach /lib/udev/scsi_id verschoben. Bitte " "aktualisieren Sie Ihre Konfiguration. Dies erfolgt am besten durch das " "komplette Entfernen der Option getuid_callout." #. Type: note #. Description #: ../multipath-tools-boot.templates:1001 msgid "" "Don't forget to update your initramfs after these changes. Otherwise your " "system might not boot from multipath." msgstr "" "Vergessen Sie nicht, nach dieser nderung Ihr Initramfs zu aktualisieren. " "Andernfalls knnte Ihr System nicht vom Multipath aus starten." debian/po/fr.po0000664000000000000000000000400612102067575010562 0ustar # translation of multipath-tools debconf templates to French # Copyright (C) Jean Guillou # This file is distributed under the same license as the multipath-tools package # # Jean Guillou , 2008. msgid "" msgstr "" "Project-Id-Version: multipath-tools\n" "Report-Msgid-Bugs-To: multipath-tools@packages.debian.org\n" "POT-Creation-Date: 2008-05-17 14:36+0200\n" "PO-Revision-Date: 2008-05-19 11:20+0200\n" "Last-Translator: Jean Guillou \n" "Language-Team: French \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.11.4\n" #. Type: note #. Description #: ../multipath-tools-boot.templates:1001 msgid "The location of the getuid callout has changed" msgstr "Modification de la valeur du champ « getuid_callout »" #. Type: note #. Description #: ../multipath-tools-boot.templates:1001 msgid "" "Your /etc/multipath.conf still has a getuid_callout pointing to /sbin/" "scsi_id but the binary has moved to /lib/udev/scsi_id in udev 0.113-1. " "Please update your configuration. This is best done by removing the " "getuid_callout option entirely." msgstr "" "Dans le fichier /etc/multipath.conf la valeur actuelle du champ « " "getuid_callout » est toujours /sbin/scsi_id mais l'adresse de l'exécutable " "est /lib/udev/scsi_id dans udev 0.113-1. Il est impératif de modifier le " "fichier de configuration. La solution suggérée est la suppression de cette " "option." #. Type: note #. Description #: ../multipath-tools-boot.templates:1001 msgid "" "Don't forget to update your initramfs after these changes. Otherwise your " "system might not boot from multipath." msgstr "" "Veuillez noter que vous devrez mettre à jour le système de fichiers initial " "en mémoire (« initramfs ») après ces changements. En l'absence de cette " "action, le système pourrait refuser de démarrer depuis un périphérique " "multichemins (« multipath »)." debian/po/sv.po0000664000000000000000000000353512102067575010611 0ustar # translation of multipath-tools_0.4.8-10_sv.po to Swedish # Copyright (C) 2008 # This file is distributed under the same license as the multipath-tools package. # # Martin Ågren , 2008. msgid "" msgstr "" "Project-Id-Version: multipath-tools_0.4.8-10_sv\n" "Report-Msgid-Bugs-To: multipath-tools@packages.debian.org\n" "POT-Creation-Date: 2008-05-17 14:36+0200\n" "PO-Revision-Date: 2008-07-23 20:58+0200\n" "Last-Translator: Martin Ågren \n" "Language-Team: Swedish \n" "Language: sv\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.11.4\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. Type: note #. Description #: ../multipath-tools-boot.templates:1001 msgid "The location of the getuid callout has changed" msgstr "Sökvägen till getuid-utanropet har ändrats" #. Type: note #. Description #: ../multipath-tools-boot.templates:1001 msgid "" "Your /etc/multipath.conf still has a getuid_callout pointing to /sbin/" "scsi_id but the binary has moved to /lib/udev/scsi_id in udev 0.113-1. " "Please update your configuration. This is best done by removing the " "getuid_callout option entirely." msgstr "" "Din /etc/multipath.conf har fortfarande en getuid_callout som pekar på /sbin/" "scsi_id men binären har flyttats till /lib/udev/scsi_id i udev 0.113-1. " "Uppdatera din konfiguration. Detta görs bäst genom att ta bort " "getuid_callout-valet helt och hållet." #. Type: note #. Description #: ../multipath-tools-boot.templates:1001 msgid "" "Don't forget to update your initramfs after these changes. Otherwise your " "system might not boot from multipath." msgstr "" "Glöm inte att uppdatera din initramfs efter dessa ändringar. Annars kanske " "inte ditt system startar upp från multipath." debian/po/ru.po0000664000000000000000000000417412102067575010607 0ustar # translation of ru.po to Russian # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Yuri Kozlov , 2008. msgid "" msgstr "" "Project-Id-Version: multipath-tools 0.4.8-9\n" "Report-Msgid-Bugs-To: multipath-tools@packages.debian.org\n" "POT-Creation-Date: 2008-05-17 14:36+0200\n" "PO-Revision-Date: 2008-06-15 19:17+0400\n" "Last-Translator: Yuri Kozlov \n" "Language-Team: Russian \n" "Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.11.4\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #. Type: note #. Description #: ../multipath-tools-boot.templates:1001 msgid "The location of the getuid callout has changed" msgstr "Изменилось расположение getuid callout" #. Type: note #. Description #: ../multipath-tools-boot.templates:1001 msgid "" "Your /etc/multipath.conf still has a getuid_callout pointing to /sbin/" "scsi_id but the binary has moved to /lib/udev/scsi_id in udev 0.113-1. " "Please update your configuration. This is best done by removing the " "getuid_callout option entirely." msgstr "" "В имеющемся файле /etc/multipath.conf параметр getuid_callout указывает на /" "sbin/scsi_id, но этот двоичный файл был перемещён в /lib/udev/scsi_id (пакет " "udev, версия 0.113-1). Обновите вашу настройку. Лучше всего вообще удалить " "параметр getuid_callout." #. Type: note #. Description #: ../multipath-tools-boot.templates:1001 msgid "" "Don't forget to update your initramfs after these changes. Otherwise your " "system might not boot from multipath." msgstr "" "Не забудьте обновить initramfs после изменения. Иначе система может не " "загрузиться с помощью многоканального доступа." debian/po/br.po0000664000000000000000000000362712102067575010566 0ustar # multipath-tools Brazilian Portuguese translation # Copyright (C) 2011 THE multipath-tools COPYRIGHT HOLDER # This file is distributed under the same license as the multipath-tools package. # Flamarion Jorge , 2011. # msgid "" msgstr "" "Project-Id-Version: multipath-tools 0.4.9-2\n" "Report-Msgid-Bugs-To: multipath-tools@packages.debian.org\n" "POT-Creation-Date: 2008-05-17 14:36+0200\n" "PO-Revision-Date: 2011-06-03 21:07-0300\n" "Last-Translator: Flamarion Jorge \n" "Language-Team: Brazilian Portuguese \n" "Language: pt_BR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. Type: note #. Description #: ../multipath-tools-boot.templates:1001 msgid "The location of the getuid callout has changed" msgstr "A localização da chamada getuid foi modificada" #. Type: note #. Description #: ../multipath-tools-boot.templates:1001 msgid "" "Your /etc/multipath.conf still has a getuid_callout pointing to /sbin/" "scsi_id but the binary has moved to /lib/udev/scsi_id in udev 0.113-1. " "Please update your configuration. This is best done by removing the " "getuid_callout option entirely." msgstr "" "Seu /etc/multipath.conf ainda tem uma opção getuid_callout apontando para " "/sbin/scsi_id, mas o binário foi movido para /lib/udev/scsi_id no " "udev 0.113-1. Por favor, atualize sua configuração. Isso é feito da melhor " "forma removendo a opção getuid_callout inteiramente." #. Type: note #. Description #: ../multipath-tools-boot.templates:1001 msgid "" "Don't forget to update your initramfs after these changes. Otherwise your " "system might not boot from multipath." msgstr "" "Não se esqueça de atualizar seu initramfs depois dessas mudanças. Do " "contrário seu sistema pode não inicializar pelo multipath." debian/po/es.po0000664000000000000000000000560612102067575010571 0ustar # multipath-tools po-debconf translation to Spanish. # Copyright (C) 2009 Software in the Public Interest. # This file is distributed under the same license as the multipath-tools package. # # Changes: # - Initial translation # Fernando González de Requena , 2009. # # # Traductores, si no conoce el formato PO, merece la pena leer la # documentación de gettext, especialmente las secciones dedicadas a este # formato, por ejemplo ejecutando: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # # Equipo de traducción al español, por favor lean antes de traducir # los siguientes documentos: # # - El proyecto de traducción de Debian al español # http://www.debian.org/intl/spanish/ # especialmente las notas y normas de traducción en # http://www.debian.org/intl/spanish/notas # # - La guía de traducción de po's de debconf: # /usr/share/doc/po-debconf/README-trans # o http://www.debian.org/intl/l10n/po-debconf/README-trans # # Si tiene dudas o consultas sobre esta traducción consulte con el último # traductor (campo Last-Translator) y ponga en copia a la lista de # traducción de Debian al español () # msgid "" msgstr "" "Project-Id-Version: multipath-tools 0.4.8-15\n" "Report-Msgid-Bugs-To: multipath-tools@packages.debian.org\n" "POT-Creation-Date: 2008-05-17 14:36+0200\n" "PO-Revision-Date: 2009-05-04 18:22+0200\n" "Last-Translator: Fernando González de Requena \n" "Language-Team: Spanish \n" "Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: KBabel 1.11.4\n" #. Type: note #. Description #: ../multipath-tools-boot.templates:1001 msgid "The location of the getuid callout has changed" msgstr "Ha cambiado el lugar del «getuid callout»" #. Type: note #. Description #: ../multipath-tools-boot.templates:1001 msgid "" "Your /etc/multipath.conf still has a getuid_callout pointing to /sbin/" "scsi_id but the binary has moved to /lib/udev/scsi_id in udev 0.113-1. " "Please update your configuration. This is best done by removing the " "getuid_callout option entirely." msgstr "" "Su archivo «/etc/multipath.conf» todavía tiene un campo «getuid_callout» " "apuntando a «/sbin/scsi_id», pero en udev 0.113-1 el binario se ha " "trasladado a «/lib/udev/scsi_id». Actualice su configuración. La mejor mejor " "manera de hacerlo es eliminar completamente la opción «getuid_callout»." #. Type: note #. Description #: ../multipath-tools-boot.templates:1001 msgid "" "Don't forget to update your initramfs after these changes. Otherwise your " "system might not boot from multipath." msgstr "" "No olvide actualizar su initramfs tras estos cambios. De otro modo su " "sistema podría no arrancar desde multipath." debian/po/ja.po0000664000000000000000000000363612102067575010555 0ustar # Copyright (C) 2008-2009 Debian LVM Team # This file is distributed under the same license as the multipath-tools package. # Hideki Yamane (Debian-JP) , 2009. # msgid "" msgstr "" "Project-Id-Version: multipath-tools 0.4.8-13\n" "Report-Msgid-Bugs-To: multipath-tools@packages.debian.org\n" "POT-Creation-Date: 2008-05-17 14:36+0200\n" "PO-Revision-Date: 2009-01-06 06:26+0900\n" "Last-Translator: Hideki Yamane (Debian-JP) \n" "Language-Team: Japanese \n" "Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: note #. Description #: ../multipath-tools-boot.templates:1001 msgid "The location of the getuid callout has changed" msgstr "getuid callout の位置が変更されました" #. Type: note #. Description #: ../multipath-tools-boot.templates:1001 msgid "" "Your /etc/multipath.conf still has a getuid_callout pointing to /sbin/" "scsi_id but the binary has moved to /lib/udev/scsi_id in udev 0.113-1. " "Please update your configuration. This is best done by removing the " "getuid_callout option entirely." msgstr "" "/etc/multipath.conf には /sbin/scsi_id をさしている getuid_callout があります" "が、バイナリは udev 0.113-1 で /lib/udeb/scsi_id に移動しました。設定を更新し" "てください。完全に getuid_callout オプションを削除するのが一番良い方法です。" #. Type: note #. Description #: ../multipath-tools-boot.templates:1001 msgid "" "Don't forget to update your initramfs after these changes. Otherwise your " "system might not boot from multipath." msgstr "" "この変更を行った後で initramfs をアップデートするのを忘れないようにしてくださ" "い。そうしないと、システムはマルチパスから起動しなくなります。" debian/po/POTFILES.in0000664000000000000000000000007112102067575011366 0ustar [type: gettext/rfc822deb] multipath-tools-boot.templates debian/po/templates.pot0000664000000000000000000000241212102067575012334 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: multipath-tools@packages.debian.org\n" "POT-Creation-Date: 2008-05-17 14:36+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #. Type: note #. Description #: ../multipath-tools-boot.templates:1001 msgid "The location of the getuid callout has changed" msgstr "" #. Type: note #. Description #: ../multipath-tools-boot.templates:1001 msgid "" "Your /etc/multipath.conf still has a getuid_callout pointing to /sbin/" "scsi_id but the binary has moved to /lib/udev/scsi_id in udev 0.113-1. " "Please update your configuration. This is best done by removing the " "getuid_callout option entirely." msgstr "" #. Type: note #. Description #: ../multipath-tools-boot.templates:1001 msgid "" "Don't forget to update your initramfs after these changes. Otherwise your " "system might not boot from multipath." msgstr "" debian/po/pt.po0000664000000000000000000000350512102067575010601 0ustar # translation of multipath-tools debconf to Portuguese # Copyright (C) 2008 Américo Monteiro # This file is distributed under the same license as the multipath-tools package. # # Américo Monteiro , 2008. msgid "" msgstr "" "Project-Id-Version: multipath-tools 0.4.8-9\n" "Report-Msgid-Bugs-To: multipath-tools@packages.debian.org\n" "POT-Creation-Date: 2008-05-17 14:36+0200\n" "PO-Revision-Date: 2008-05-19 19:16+0100\n" "Last-Translator: Américo Monteiro \n" "Language-Team: Portuguese \n" "Language: pt\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.11.4\n" #. Type: note #. Description #: ../multipath-tools-boot.templates:1001 msgid "The location of the getuid callout has changed" msgstr "A localização de 'getuid callout' mudou" #. Type: note #. Description #: ../multipath-tools-boot.templates:1001 msgid "" "Your /etc/multipath.conf still has a getuid_callout pointing to /sbin/" "scsi_id but the binary has moved to /lib/udev/scsi_id in udev 0.113-1. " "Please update your configuration. This is best done by removing the " "getuid_callout option entirely." msgstr "" "O seu /etc/multipath.conf ainda tem o getuid_callout a apontar para /sbin/" "scsi_id mas o binário foi movido para /lib/udev/scsi_id no udev 0.113-1. Por " "favor actualize a sua configuração. Isto fica melhor se remover " "completamente a opção getuid_callout." #. Type: note #. Description #: ../multipath-tools-boot.templates:1001 msgid "" "Don't forget to update your initramfs after these changes. Otherwise your " "system might not boot from multipath." msgstr "" "Não se esqueça de actualizar o seu initramfs após estas alterações. De outra " "maneira o seu sistema pode não arrancar a partir do multipath." debian/po/da.po0000664000000000000000000000341612102067575010543 0ustar # Danish translation multipath-tools. # Copyright (C) multipath-tools & nedenstående oversættere. # This file is distributed under the same license as the multipath-tools package. # Joe Hansen (joedalton2@yahoo.dk), 2011. # msgid "" msgstr "" "Project-Id-Version: multipath-tools\n" "Report-Msgid-Bugs-To: multipath-tools@packages.debian.org\n" "POT-Creation-Date: 2008-05-17 14:36+0200\n" "PO-Revision-Date: 2011-05-28 18:30+01:00\n" "Last-Translator: Joe Hansen \n" "Language-Team: Danish \n" "Language: da\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: note #. Description #: ../multipath-tools-boot.templates:1001 msgid "The location of the getuid callout has changed" msgstr "Lokationen af getuid callout er blevet ændret" #. Type: note #. Description #: ../multipath-tools-boot.templates:1001 msgid "" "Your /etc/multipath.conf still has a getuid_callout pointing to /sbin/" "scsi_id but the binary has moved to /lib/udev/scsi_id in udev 0.113-1. " "Please update your configuration. This is best done by removing the " "getuid_callout option entirely." msgstr "" "Din /etc/multipath.conf har stadig en getuid_callout, der peger på /sbin/" "scsi_id men den binære fil er flyttet til /lib/udev/scsi_id i udev 0.113-1. " "Opdater venligst din konfiguration. Dette gøres bedst ved at fjerne " "indstillingen getuid_callout fuldstændig." #. Type: note #. Description #: ../multipath-tools-boot.templates:1001 msgid "" "Don't forget to update your initramfs after these changes. Otherwise your " "system might not boot from multipath." msgstr "" "Glem ikke at opdatere din initramfs efter disse ændringer. Ellers vil dit " "system måske ikke starte op fra multipath." debian/po/cs.po0000664000000000000000000000365512102067575010571 0ustar # Translation of multipath-tools debconf templates to Czech # Copyright (C) 2009 Debian Czech l10n team # This file is distributed under the same license as the multipath-tools package. # # Translators: # Tomas Fidler , 2009. msgid "" msgstr "" "Project-Id-Version: multipath-tools 0.4.8-15\n" "Report-Msgid-Bugs-To: multipath-tools@packages.debian.org\n" "POT-Creation-Date: 2008-05-17 14:36+0200\n" "PO-Revision-Date: 2009-06-17 14:00+0200\n" "Last-Translator: Tomas Fidler \n" "Language-Team: Czech \n" "Language: cs\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: note #. Description #: ../multipath-tools-boot.templates:1001 msgid "The location of the getuid callout has changed" msgstr "Změnilo se umístění getuid callout" #. Type: note #. Description #: ../multipath-tools-boot.templates:1001 msgid "" "Your /etc/multipath.conf still has a getuid_callout pointing to /sbin/" "scsi_id but the binary has moved to /lib/udev/scsi_id in udev 0.113-1. " "Please update your configuration. This is best done by removing the " "getuid_callout option entirely." msgstr "" "Soubor /etc/multipath.conf v parametru „getuid_callout“ odkazuje na /sbin/" "scsi_id. Tento soubor se v udev verze 0.113 a vyšší přesunul do /lib/udev/" "scsi_id. Prosím aktualizujte Váš konfigurační soubor. Nejjednodušší cestou " "pro aktualizaci je odstranění parametru getuid_callout ze souboru /etc/" "multipath.conf." #. Type: note #. Description #: ../multipath-tools-boot.templates:1001 msgid "" "Don't forget to update your initramfs after these changes. Otherwise your " "system might not boot from multipath." msgstr "" "Nezapomeňte po provedené změně aktualizovat initramfs. V opačném případě se " "nemusí podařit start systému z multipath zařízení." debian/kpartx.install0000664000000000000000000000013112102067575012071 0ustar /usr/share/man/man8/kpartx.8.gz /sbin/kpartx /lib*/udev/kpartx_id /lib*/udev/dmsetup_env debian/multipath-tools.README.Debian0000664000000000000000000000530012102067575014400 0ustar Additional information for users of multipath-tools from Debian. What are these weird numbers in /dev/mapper? ============================================ Modern Fibre-Channel connected storage devices are identified by World-Wide-Numbers. If multipath-tools detects one of these devices, it uses that as the default identifier in /dev/mapper. If you want multipath-tools to use easier-to-read names, set user_friendly_names = yes in the 'defaults' section of /etc/multipath.conf. Note: While widely used (including the Debian Installer, which depends on it), user_friendly_names can lead to locking issues with large numbers of LUNs resulting in some maps not having friendly_names [1]. Where did my FC-connected filesystem go? ======================================== If you were previously mounting a device connected to your system by Fibre Channel and then installed multipath-tools, you need to change the way you mount the device. The device must now be accessed using the identifier by which device-mapper knows it. For example if you have in /dev/mapper a file like this: brw-rw---- 1 root disk 254, 8 2009-01-05 14:35 /dev/mapper/36000393000007d3901000000fef00a2d then you can mount the filesystem like this: mount /dev/mapper/36000393000007d3901000000fef00a2d /mnt or this mount /dev/disk/by-id/scsi-36000393000007d3901000000fef00a2d /mnt You should prefer the latter, as this will work whether or not multipath-tools is installed. Note that with multipath-tools installed you cannot use the device's node in /dev, e.g. # mount /dev/sdc1 /mnt mount: /dev/sdc1 already mounted or /mnt busy The device is 'busy' because it is part of a multipath map. See the output of 'multipath -l' to confirm this. Preventing multipath-tools mapping any devices ============================================== You may wish to prevent multipath-tools mapping any of your storage devices. To do this replace the contents of /etc/multipath.conf with: blacklist { devnode "*" } Booting from multipathed devices ================================ To enable booting from multipathed devices install the multipath-tools-boot package. Be sure to update your bootloader configuration (e.g. /boot/grub/menu.lst) to point to the multipathed root device afterwards. By default this will be /dev/disk/by-id/scsi--part If you set user_friendly_names = yes in /etc/multipath.conf, the path to the device will be /dev/mapper/mpath-part If you make changes in multipath.conf, remember to run update-initramfs so the updated version of the configuration gets included in the initramfs. -- Guido Günther Tue, 20 Feb 2008 13:49:18 +0100 -- [1] https://bugzilla.redhat.com/show_bug.cgi?id=445268 debian/kpartx.postinst0000664000000000000000000000226012102067575012313 0ustar #!/bin/sh # postinst script for kpartx # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `configure' # * `abort-upgrade' # * `abort-remove' `in-favour' # # * `abort-remove' # * `abort-deconfigure' `in-favour' # `removing' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package RULE=/etc/udev/rules.d/kpartx.rules case "$1" in configure) if [ -n "$2" ] && dpkg --compare-versions "$2" lt "0.4.7-4"; then if [ -L $RULE ] && ! readlink -e $RULE; then echo -n "Removing dangling $RULE symlink..." rm $RULE echo "done." fi fi ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/kpartx-boot.postinst0000664000000000000000000000107112102067575013253 0ustar #!/bin/sh # postinst script for kpartx-boot # # see: dh_installdeb(1) set -e # Source debconf library. . /usr/share/debconf/confmodule case "$1" in configure) if [ -x /usr/sbin/update-initramfs -a -e /etc/initramfs-tools/initramfs.conf ]; then update-initramfs -u fi ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/source/0000775000000000000000000000000012102071453010463 5ustar debian/source/format0000664000000000000000000000001412102067575011703 0ustar 3.0 (quilt) debian/initramfs/0000775000000000000000000000000012102071453011157 5ustar debian/initramfs/hooks0000664000000000000000000000152312102067575012240 0ustar #!/bin/sh PREREQS="udev" prereqs() { echo "$PREREQS"; } case $1 in prereqs) prereqs exit 0 ;; esac if [ ! -x /sbin/multipath ]; then exit 0 fi . /usr/share/initramfs-tools/hook-functions add_bindings() { if [ -r /etc/multipath/bindings ]; then mkdir -p $DESTDIR/etc/multipath cp /etc/multipath/bindings $DESTDIR/etc/multipath fi } add_udev_rules() { for rules in 95-multipath.rules; do if [ -e /lib/udev/rules.d/$rules ]; then cp -p /lib/udev/rules.d/$rules $DESTDIR/lib/udev/rules.d/ fi done } copy_exec /sbin/multipath /sbin mkdir -p $DESTDIR/lib/multipath/ for x in /lib/multipath/*; do copy_exec $x /lib/multipath/ done add_udev_rules [ -r /etc/multipath.conf ] && cp /etc/multipath.conf $DESTDIR/etc/ add_bindings for x in dm-multipath dm-round-robin dm-emc; do manual_add_modules ${x} done debian/initramfs/kpartx.hook0000664000000000000000000000055312102067575013367 0ustar #!/bin/sh PREREQS="udev" prereqs() { echo "$PREREQS"; } case $1 in prereqs) prereqs exit 0 ;; esac . /usr/share/initramfs-tools/hook-functions copy_exec /sbin/kpartx /sbin copy_exec /sbin/dmsetup /sbin copy_exec /lib/udev/dmsetup_env /lib/udev copy_exec /lib/udev/kpartx_id /lib/udev cp -p /lib/udev/rules.d/95-kpartx.rules $DESTDIR/lib/udev/rules.d/ debian/initramfs/local-top0000664000000000000000000000223012102067575013003 0ustar #!/bin/sh # # multipath discovery PREREQ="udev iscsi" prereqs() { echo "$PREREQ"; } case $1 in prereqs) prereqs exit 0 ;; esac . /scripts/functions verbose() { case "$quiet" in y*|Y*|1|t*|T*) return 1;; *) return 0;; esac } maybe_break pre-multipath VERBOSITY=0 MP_MODULES="dm-multipath dm-emc" if [ ! -e /sbin/multipath ]; then exit 0 fi verbose && log_begin_msg "Loading multipath modules" for module in ${MP_MODULES}; do if modprobe --syslog "$module"; then verbose && log_success_msg "loaded module ${module}." else log_failure_msg "failed to load module ${module}." fi done verbose && log_end_msg # Sync waiting for storage. verbose && log_begin_msg "Waiting for scsi storage" { rmmod scsi_wait_scan ; modprobe scsi_wait_scan ; rmmod scsi_wait_scan ; } >/dev/null 2>&1 verbose && log_end_msg verbose && log_begin_msg "Discovering multipaths" /sbin/multipath -v $VERBOSITY verbose && log_end_msg if [ -x /sbin/kpartx -a -x /sbin/dmsetup ]; then /sbin/dmsetup ls --target multipath --exec "/sbin/kpartx -a -p -part" >/dev/null fi if [ -x /sbin/udevadm ]; then /sbin/udevadm settle fi maybe_break post-multipath exit 0 debian/multipath-tools-boot.config0000775000000000000000000000051112102067575014472 0ustar #!/bin/sh set -e CONF=/etc/multipath.conf # if the user still references /sbin/scsi_id warn him: if [ -e "$CONF" ] && grep -sq '^[[:space:]]*getuid_callout[[:space:]]*\"/sbin/scsi_id[[:space:]]\+' $CONF; then . /usr/share/debconf/confmodule db_input critical multipath-tools-boot/scsi_id || true db_go || true fi debian/control0000664000000000000000000000734212102067575010606 0ustar Source: multipath-tools Section: admin Priority: extra Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian LVM Team Uploaders: Guido Günther , Ritesh Raj Sarraf Build-Depends: debhelper (>= 7.0.17ubuntu2), po-debconf, libdevmapper-dev (>= 2:1.02.20), libreadline-dev, libaio-dev Vcs-Git: git://git.debian.org/git/pkg-lvm/multipath-tools.git Vcs-Browser: http://git.debian.org/?p=pkg-lvm/multipath-tools.git Standards-Version: 3.9.1 Homepage: http://christophe.varoqui.free.fr/ Package: multipath-tools Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, udev (>> 136-1), initscripts (>= 2.85-16), kpartx (>= ${binary:Version}), lsb-base (>= 3), libaio1 (>= 0.3.106-8) Conflicts: multipath-tools-initramfs (<= 1.0.1), multipath-tools-boot (<= 0.4.8+git0.761c66f-2~) Suggests: multipath-tools-boot Description: maintain multipath block device access These tools are in charge of maintaining the disk multipath device maps and react to path and map events. . If you install this package you may have to change the way you address block devices. See README.Debian for details. Package: multipath-tools-dbg Architecture: any Section: debug Depends: ${misc:Depends}, multipath-tools (= ${binary:Version}), kpartx (= ${binary:Version}) Description: maintain multipath block device access - debugging symbols These tools are in charge of maintaining the disk multipath device maps and react to path and map events. . If you install this package you may have to change the way you address block devices. See README.Debian for details. . This package includes the debugging symbols Package: kpartx Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, udev (>> 136-1), dmsetup (>= 2:1.02.24) Replaces: multipath-tools (<< 0.4.7-3) Description: create device mappings for partitions Kpartx can be used to set up device mappings for the partitions of any partitioned block device. It is part of the Linux multipath-tools. Package: kpartx-boot Architecture: all Depends: ${misc:Depends}, initramfs-tools, kpartx (>= ${source:Version}), kpartx (<< ${source:Version}.1~) Description: Provides kpartx during boot This package makes kpartx availible during boot to activate partitions Package: multipath-tools-boot Architecture: all Depends: ${misc:Depends}, initramfs-tools, multipath-tools (>= ${source:Version}), multipath-tools (<< ${source:Version}.1~), kpartx-boot (= ${binary:Version}) Replaces: multipath-tools-initramfs (<< 1.0.1+nmu1) Conflicts: multipath-tools-initramfs (<< 1.0.1+nmu1) Description: Support booting from multipath devices This package contains the necessary support for booting from a multipath device: . * copy over multipath.conf and persistent bindings if necessary * load the necessary kernel modules * detect multipath block devices . Don't install this package if you're not booting from a multipath device. Package: multipath-udeb Package-Type: udeb Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, multipath-modules, kpartx-udeb Section: debian-installer Description: maintain multipath block device access - udeb package This is a udeb, or a microdeb, for the debian-installer. . These tools are in charge of maintaining the disk multipath device maps and react to path and map events. Package: kpartx-udeb Package-Type: udeb Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Section: debian-installer Description: create device mappings for partitions - udeb package This is a udeb, or a microdeb, for the debian-installer. . Kpartx can be used to set up device mappings for the partitions of any partitioned block device. It is part of the Linux multipath-tools. debian/multipath-tools.preinst0000664000000000000000000000161512102067575013753 0ustar #! /bin/sh # preinst script for multipath-tools set -e case "$1" in install) ;; upgrade) if dpkg --compare-versions "$2" lt "0.4.7-3"; then [ -e /etc/rcS.d/S03multipath-tools-boot ] && rm /etc/rcS.d/S03multipath-tools-boot fi if dpkg --compare-versions "$2" lt "0.4.8-7"; then [ -e /etc/rcS.d/S04multipath-tools-boot ] && rm /etc/rcS.d/S04multipath-tools-boot fi if dpkg --compare-versions "$2" lt "0.4.9"; then if [ -e /var/lib/multipath/bindings ]; then echo "Moving bindings file to /etc/multipath/" mkdir -p /etc/multipath/ mv /var/lib/multipath/bindings /etc/multipath/ fi fi ;; abort-upgrade) ;; *) echo "preinst called with unknown argument \`$1'" >&2 exit 1 ;; esac if ! dmsetup targets | cut -d' ' -f1 | grep -q '^multipath$'; then modprobe -v dm-multipath || true fi #DEBHELPER# exit 0 debian/kpartx.manpages0000664000000000000000000000002012102067575012213 0ustar kpartx/kpartx.8 debian/NEWS0000664000000000000000000000152612102067575007700 0ustar multipath-tools (0.4.7-2) unstable; urgency=low udev, which provides scsi_id, moved the binary to /lib/udev. The old name will stop working in the future. The default config now uses /lib/udev/scsi_id. And you have to update /etc/multipath.conf by hand to reflect the new location. -- Bastian Blank Wed, 29 Mar 2006 12:08:32 +0200 multipath-tools (0.4.5-1) unstable; urgency=low This version removes creation of devices via udev in /dev. All device-mapper devices are created by libdevmapper in /dev/mapper. To readd the creation of devices in /dev, add the following line to the udev rules (e.g. /etc/udev/rules.d/multipath.rules): KERNEL=="dm-[0-9]*", PROGRAM="/sbin/devmap_name %M %m", NAME="%k", SYMLINK="%c", OPTIONS+="last_rule" -- Bastian Blank Mon, 19 Sep 2005 15:03:31 +0200 debian/multipath-tools.prerm0000664000000000000000000000106012102067575013406 0ustar #!/bin/sh # # multipath-tools prerm script set -e FIXED=0.4.8-1 # fix upgrades from versions << $FIXED where the init script would return an # error on stop when the daemon isn't running: if [ "$1" = "failed-upgrade" ] && dpkg --compare-versions "$2" lt "$FIXED"; then if [ -x "/etc/init.d/multipath-tools" ]; then echo "Ignoring broken stop target in versions << $FIXED..." if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then invoke-rc.d multipath-tools stop || true else /etc/init.d/multipath-tools stop || true fi exit 0 fi fi #DEBHELPER# debian/multipath-udeb.install0000664000000000000000000000007112102067575013507 0ustar /sbin/multipath /lib*/multipath/ /lib*/libmultipath.so.* debian/kpartx-boot.postrm0000664000000000000000000000204512102067575012716 0ustar #!/bin/sh # postrm script for kpartx-boot # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `remove' # * `purge' # * `upgrade' # * `failed-upgrade' # * `abort-install' # * `abort-install' # * `abort-upgrade' # * `disappear' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in remove) if [ -x /usr/sbin/update-initramfs -a -e /etc/initramfs-tools/initramfs.conf ]; then update-initramfs -u fi ;; purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) ;; *) echo "postrm called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/multipath-tools-boot.templates0000664000000000000000000000073112102067575015224 0ustar Template: multipath-tools-boot/scsi_id Type: note _Description: The location of the getuid callout has changed Your /etc/multipath.conf still has a getuid_callout pointing to /sbin/scsi_id but the binary has moved to /lib/udev/scsi_id in udev 0.113-1. Please update your configuration. This is best done by removing the getuid_callout option entirely. . Don't forget to update your initramfs after these changes. Otherwise your system might not boot from multipath. debian/multipath-tools.install0000664000000000000000000000012412102067575013727 0ustar /sbin/multi* /lib*/multipath/* /lib*/libmultipath.so.* /usr/share/man/man*/multi*gz debian/compat0000664000000000000000000000000212102067575010373 0ustar 5 debian/changelog0000664000000000000000000011111612102071437011040 0ustar multipath-tools (0.4.9-3ubuntu7) raring; urgency=low * Add 0010-fix-extended-partitions.patch: Only expose the first two sectors of the extended partition (LP: #1093918). -- Phillip Susi Fri, 04 Jan 2013 16:14:34 -0500 multipath-tools (0.4.9-3ubuntu6) quantal; urgency=low * Rebuild for new armel compiler default of ARMv5t. -- Colin Watson Fri, 05 Oct 2012 14:00:37 +0100 multipath-tools (0.4.9-3ubuntu5) precise; urgency=low * Split kpartx initramfs bits into kpartx-boot for dmraid (LP: #941874) -- Phillip Susi Tue, 20 Mar 2012 15:26:22 -0400 multipath-tools (0.4.9-3ubuntu4) precise; urgency=low * Restore multipath-udeb dependency on multipath-modules (LP: #959749). -- Colin Watson Wed, 21 Mar 2012 14:34:01 +0000 multipath-tools (0.4.9-3ubuntu3) precise; urgency=low * Move kpartx from multipath-udeb to a new kpartx-udeb package (LP: #922646). -- Colin Watson Fri, 27 Jan 2012 23:04:23 +0000 multipath-tools (0.4.9-3ubuntu2) precise; urgency=low * Add 0009-fix-delim.patch: The 'p' delimiter was being added when it shouldn't. -- Phillip Susi Sun, 08 Jan 2012 20:57:47 -0500 multipath-tools (0.4.9-3ubuntu1) precise; urgency=low * Merge with Debian (for remaining changes, see 0.4.9-2ubuntu1). -- Matthias Klose Sun, 04 Dec 2011 21:32:48 +0100 multipath-tools (0.4.9-3) unstable; urgency=low * [dd85b8b] Add example to kpartx manpage. Committed upstream. Thanks to Lars Wirzenius (Closes: 637538) * [652acf5] Add Brazilian Portuguese debconf templates translation. Thanks to Flamarion Jorge (Closes: 640802) * [71df377] Add Danish translation of the debconf templates multipath-tools. Thanks to Joe Hansen (Closes: #628225) * [19ab90f] Avoid unnecessary linkage to ncurses library. Thanks to Sven Joachim (Closes: 646148) -- Ritesh Raj Sarraf Sat, 03 Dec 2011 19:34:59 +0530 multipath-tools (0.4.9-2ubuntu1) oneiric; urgency=low * Merge from debian unstable, remaining changes: - control: * Bump debhelper dependency to install udev rules to /lib/udev/rules.d, bump udev dependencies as well. * multipath-udeb must not depend on multipath-modules, because the Ubuntu kernel already includes the modules and no package provides m-m. - initramfs/hooks: use 95 not 60 for multipath rules priority - multipath-tools-boot.init: remove in favor of kpartx.udev rules (at top) - kpartx.udev: * add rule to load dm-multipath * use whole path when running /usr/lib/dmsetup_env * call kpartx through dmsetup for mpath-* devices * switch $name for $kernel for dmraid rule - multipath-tools.preinst: modprobe dm-multipath. This will make sure that multipathd will be able to start. - patches/1000--set-umask-in-multipathd.patch: Set umask in multipathd. - rules: Move udev rules to priority 95, because rules that load modules should be >90. - Have initramfs local-top start with scsi_wait_scan, and make sure all devices have been found before bothering to call udevadm settle. - debian/initramfs/local-top: wait for scsi_wait_scan * *.install: use /lib*/ instead of /lib/ to catch /lib64 * debian/initramfs/local-top: remove '--timeout 10' which causes my test system to not boot roughly 3 out of 4 times. -- Serge Hallyn Mon, 06 Jun 2011 12:31:23 -0500 multipath-tools (0.4.9-2) unstable; urgency=low * [2544655] wait harder for multipath init. Thanks to Serge Hallyn for the patch * [eb87e52] switch to 3.0 quilt source format * [e55a306] explictly mention license copyright * [52db82f] update vcs headers * [8313f77] with dpkg > 1.15.7 we now don't need XC * [8fdf077] update short description for multipath udeb package * [c409ef3] add misc:Depends for multipath-udeb * [c890181] take maintenance of package (Closes: #607911) * [09bbbc8] add debugging symbols package. Thanks to Craig Magina. (Closes: #609068) * [2e6f8a7] spelling/hyphen fixes * [97e02e7] add manpage for read-only mappings * [5419352] add-r-to-make-resulting-device-read-only. Thanks to Wakko Warner for the patch (Closes: #504678) -- Ritesh Raj Sarraf Sat, 05 Mar 2011 03:22:32 +0530 multipath-tools (0.4.9-1) unstable; urgency=low [ Guido Günther ] * New upstream version 0.4.9 (Closes: #587315, #595127) * [500e341] Don't fail "mulitipath-tools start" if multipathd is already running (Closes: #587678) * [f4e697c] Drop upstream patches: * 0001-Fix-udev-rules-for-dmraid.patch * 0003-fix-URL-to-FAQ.patch * 0004-check-header-file-for-defintion-of-dm_task_no_flush.patch * 0005-set-a-soname.patch * 0006-add-library-dependencies.patch * 0007-multipath-tools-rdac-path-checked-leads-to-I-O-hang-.patch * 0010-Dots-are-special-in-groff.patch * 0011-multipath-fix-offset-for-containted-slices.patch * [678dcb6] Bindings file moved to /etc/multipath * [ac2f9d5] Bump standards version * [baea3a2] Add upstream homepage * [9daa1b8] Remove /usr from $PATH so lintian doesn't assume we're calling scripts from $remove_fs. * [1a3c85e] Update po files -- Guido Günther Wed, 01 Sep 2010 15:10:26 +0200 multipath-tools (0.4.8+git0.761c66f-9) unstable; urgency=low * [0435cc1] Make sure the patchcheckers end up in /lib (Closes: #581377) * [858f733] New patch 0011-multipath-fix-offset-for-containted- slices.patch multipath: fix offset for containted slices. (Closes: #586104) - thanks to Benjamin Marzinski -- Guido Günther Wed, 16 Jun 2010 20:02:47 +0200 multipath-tools (0.4.8+git0.761c66f-8) unstable; urgency=low * [16268d8] Drop path from dmsetup_env call - thanks to Ferenc Wagner * [2f3bdd5] Use $name in multipath.udev as well - thanks to Ferenc Wagner for testing * [c978487] Don't pass -g on mips(el) to work around a binutils bug. See http://sources.redhat.com/bugzilla/show_bug.cgi?id=10144 for details. * [9daf438] Make sure we discover multipaths before checkfs/mountall runs This covers the cornercase where e.g. /home is on multipath (but not on LVM) and multipath-tols aren't started via initramfs. (Closes: #577172) * [f7cc840] Bump standards version -- Guido Günther Sun, 11 Apr 2010 13:22:35 +0200 multipath-tools (0.4.8+git0.761c66f-7) unstable; urgency=low * [13f7436] Properly add multipath-udeb to dh_makeshlibs (Closes: #564489) - thanks to again Frans Pop -- Guido Günther Sat, 23 Jan 2010 00:14:04 +0100 multipath-tools (0.4.8+git0.761c66f-6) unstable; urgency=low * [5b0c7be] Fix dependency on nonexistent multipath-tools udeb (Closes: #564489) - thanks to Frans Pop * [c2a06f7] New patch debian/patches/0010-Dots-are-special-in- groff.patch Dots are special in groff -- Guido Günther Sun, 10 Jan 2010 18:10:05 +0100 multipath-tools (0.4.8+git0.761c66f-5) unstable; urgency=low * [9c68527] Explicitly include posix_types.h to get the correct type for __kernel_old_dev_t (Closes: #558990) -- Guido Günther Sat, 05 Dec 2009 18:14:05 +0100 multipath-tools (0.4.8+git0.761c66f-4) unstable; urgency=low * [eb7bcf2] Add kpartx_id to initramfs for persistent partition links. * [7ecd444] Use $name instead of $kernel since 2.6.31 doesn't create /dev/dm-* anymore. -- Guido Günther Sat, 21 Nov 2009 21:11:31 +0100 multipath-tools (0.4.8+git0.761c66f-3) unstable; urgency=low * upload to unstable * [f62b619] Tighten multipath-tools-boot dependency Older versions might not be able to cope with renamed patch checkers, etc. * [7bb23db] Add udev rules to initramfs This makes the initramfs properly event based. Once #455979 is fixed in LVM, root on lvm on multipatph can work reliably. (Closes: #539498) * [d9fcc80] Another init script dependency fix (Closes: #542370) - thanks to Petter Reinholdtsen * [3faab35] redo patches * [c903696] Make user_friendly_names compatible to multipath-tools 0.4.8 and earlier -- Guido Günther Sat, 21 Nov 2009 18:04:07 +0100 multipath-tools (0.4.8+git0.761c66f-2) experimental; urgency=low * [34758f1] don't install files into /lib64 on 64 bit architectures - thanks to Pascal de Bruijn * [2b0a3da] use libreadline-dev (Closes: #553813) * [8394b3a] cherry-pick 362d2e5f215894818b52a0d03b723b75917390fb (Closes: #555901) -- Guido Günther Thu, 12 Nov 2009 17:35:28 +0100 multipath-tools (0.4.8+git0.761c66f-1) experimental; urgency=low * upload current git snapshot to experimental * [71c9c74] warn about user_friendly_names and suggest using /dev/disk/by-id/ * [329762e] increase locking timeout on bindings file to 30 secs - thanks to Ritesh Raj Sarraf for the patch * [759ad9b] add spanish translation (Closes: #528972) - thanks to Fernando González de Requena * [7c327fa] add Czech translation (Closes: #533524) - thanks to Tomas Fidler * [49c78ba] drop patches merged upstream: * 0001-get-rid-of-arch-specific-ifdef-spaghettis.patch * 0002--libmultipath-filter_wwid-is-called-with-the-wron.patch * 0004--kpartx-fix-extended-partition-handling.patch * 0005--kpartx-remove-partitions-in-reverse-order.patch * 0006--kpartx-documentation-fixes.patch * 0007--kpartx-remove-dead-code.patch * 0008-udev-as-of-0.124-doesn-t-support-scsi_id-s-anymor.patch * 0011--kpartx-use-uint64_t-to-account-slices-start-size.patch * 0012--libmultipath-Update-discovery-to-work-with-new-sys.patch * 0013-multipathd-crash-on-shutdown.patch * 0014--var-run-multipathd.sock-is-world-writable.patch * 0015-Increase-timeout-to-30-secs-to-avoid-locking-issue.patch * [52b5373] checkers and prio callouts are now SOs * [e493cde] debian/rules: use --fail-missing * [b1c5baf] devmap_name is no more * [fd41e76] bump standards version * [82dc3df] drop iscsi to work around #542370 * [cce7640] new patch: 0004-check-header-file-for-defintion-of-dm_task_no_flush: check the header file for dm_task_no_flush instead of one of the installed libs. * [876a5fb] new patch: 0005-set-a-soname.patch add a soname to libmultipath * [1912767] new patch 0006-add-library-dependencies.patch add libraries to the linker call * [4d1b506] add dh_makeshlibs call * [1ee06d5] install lib with soname -- Guido Günther Sun, 30 Aug 2009 15:53:24 +0200 multipath-tools (0.4.8-15) unstable; urgency=low * [e3fdd6f] add iscsi as a prereq and add verbose logic from mdadm. * [9299e3d] On shutdown multipathd flushes its internal message queue but we have to check if the messages on the queue are not empty. (Closes: #519252) * [df5ee21] fix umask of multipathd socket (CVE-2009-0115). Upstream commit 0a0319d381249760c71023edbe0ac9c093bb4a74. (Closes: #522813) -- Guido Günther Mon, 06 Apr 2009 19:36:25 +0200 multipath-tools (0.4.8-14ubuntu11) oneiric; urgency=low * Fixes some return logic issues in the blacklist.c:_filter_path function where using blacklist and blacklist_exceptions would cause multipathd to improperly filter paths. (LP: #789229) - The patch was created by Christophe Varoqui in 2007. + http://www.redhat.com/archives/dm-devel/2007-November/msg00054.html + 0013-libmultipath-filter_path-fix_blacklist_filter_exit.patch - [serge-hallyn] swap in the whole upstream git commit and call it 0013-blacklist_exception_issues.patch. -- Craig Magina Fri, 27 May 2011 11:47:19 -0400 multipath-tools (0.4.8-14ubuntu10) natty; urgency=low * pass '-p part' to kpartx in initramfs script, not '-p p', to make sure /dev/mapper/ names are formed as expected. (LP: #712840) -- Serge Hallyn Thu, 03 Feb 2011 18:40:36 -0600 multipath-tools (0.4.8-14ubuntu9) natty; urgency=low * Fix segv caused by race condition with free_waiter threads during shutdown, using backport from upstream. (LP: #713237) -- dann frazier Thu, 03 Feb 2011 16:37:10 -0700 multipath-tools (0.4.8-14ubuntu8) natty; urgency=low * Fix segv on shutdown when log buffer is empty, using patch cherry-picked from upstream. (LP: #488285) -- Serge Hallyn Tue, 01 Feb 2011 15:38:36 -0600 multipath-tools (0.4.8-14ubuntu7) natty; urgency=low * Add patch to fix the expected pathname from multipath uevents (LP: #660597) -- Serge Hallyn Tue, 04 Jan 2011 16:06:29 -0600 multipath-tools (0.4.8-14ubuntu6) natty; urgency=low * Fix in debian/kpartx.udev: - modprobe -q instead of incorrect modprobe -Q (LP: #644481) -- Serge Hallyn Tue, 04 Jan 2011 15:58:13 -0600 multipath-tools (0.4.8-14ubuntu5) natty; urgency=low * Make the initramfs local-top script wait until all devices are mapped, to make sure no /dev/sd* get mounted before multipath has a chance to take it. (LP: #686832) -- Serge Hallyn Tue, 04 Jan 2011 15:55:48 -0600 multipath-tools (0.4.8-14ubuntu4) lucid; urgency=low * debian/control: Move libreadline5-dev build dependency to libreadline-dev. (Already done in Debian). -- Martin Pitt Mon, 08 Mar 2010 14:50:04 +0100 multipath-tools (0.4.8-14ubuntu3) lucid; urgency=low * Support failback for Intel Modular Server (LP: #520309). -- Colin Watson Fri, 12 Feb 2010 12:21:42 +0000 multipath-tools (0.4.8-14ubuntu2) jaunty; urgency=low * debian/kpartx.udev: Let dmsetup run kpartx, since $kernel doesn't map right. * debian/initramfs/hooks: Include /lib/udev/kpartx_id. -- Timo Aaltonen Tue, 10 Mar 2009 11:54:01 +0200 multipath-tools (0.4.8-14ubuntu1) jaunty; urgency=low * Merge from debian unstable, remaining changes: - control: + Bump debhelper dependency to install udev rules to /lib/udev/rules.d, bump udev dependencies as well. + multipath-udeb must not depend on multipath-modules, because the Ubuntu kernel already includes the modules and no package provides m-m. - initramfs/hooks: Install rules from /lib/udev/rules.d. - kpartx.udev, multipath-tools-boot.init: Replace multipath-tools-boot init script with udev rules. - multipath-tools.preinst: Fix preinst script to modprobe dm-multipath. This will make sure that multipathd will be able to start. - multipath-tools.prerm: Add prerm script to not fail when upgrading from a broken version of multipathd. - patches/1000--set-umask-in-multipathd.patch: Set umask in multipathd. - rules: Move udev rules to priority 95, because rules that load modules should be >90. * Fix bugs (LP: #316851, #320156) * multipath-tools.prerm/preinst: Remove checks for old ubuntu versions, we don't support upgrading from them anymore. -- Timo Aaltonen Thu, 12 Feb 2009 15:07:42 +0200 multipath-tools (0.4.8-14) unstable; urgency=low * [6dad4a0] kpartx: use uint64_t to account slices start/size based on 65d108fbe. Fixes handling of devices >2TB. (Closes: #512601) - thanks to Vincent McIntyre for testing * [1fe965c] fix failure to gather block device information. Cherry-pick 88f88d from upstream: With the new sysfs layout the parent device of a block device is 'block', and only the parent of this is the 'real' parent. Fixes problems on kernels >= 2.6.27. (LP: #307032) - thanks to Jens Langner for forwarding this. * [85c6d6e] README.Debian: explain howto best access multipath devices (Closes: #510911) - thanks to Vincent McIntyre * [a2bf65e] FAQ: fix URL to FAQ - thanks to Vincent McIntyre * [e65a06d] README.Debian: doc typo * [a1de95f] add ja debconf translation (Closes: #512857) - thanks to Hideki Yamane * [8400b79] rules: drop redo-patches target handled via external script now * [50eb583] control: fix maintainer name * [fe7e471] drop superflous headers and footers of patches, no functional changes -- Guido Günther Thu, 29 Jan 2009 10:17:36 +0100 multipath-tools (0.4.8-13) unstable; urgency=low [ Guido Günther ] * [5585feb] simplify udev dependency * [4cc8116] add a versioned dependency on dmsetup (Closes: #497686) * [9887760] blacklist cciss devices (Closes: #500991) -- Guido Günther Fri, 03 Oct 2008 12:42:46 +0200 multipath-tools (0.4.8-12) unstable; urgency=low * [2ee3c11] udev as of 0.124 doesn't support 'scsi_id -s' anymore * [736eaa3] ...unfortunately older udev's don't support 'scsi_id -d' properly so add a conflict * [49961fa] update bugnumbers for the "dmsetup export" fun * [82d47a3] bump standards version * [18fb979] add README.source -- Guido Guenther Thu, 21 Aug 2008 09:28:30 +0200 multipath-tools (0.4.8-11) unstable; urgency=low * [3dadace] use the full path to dmsetup so we don't have to worry about $PATH * [33642da] update initramfs during postinst/postrm (Closes: #477839) * [41391c9] Conflict on etch's multipath-tools-initramfs - together with the multipath-tools-initramfs NMU from Bernd Zeimetz this provides a clean upgrade path from etch to lenny for multipath-tools-initramfs users. * [4f8a5d1] Call multipath via udev on block device add/change events This helps slow devices when either /etc/init.d/multipath-tools-boot or the initramfs script are being run although the devices are not ready yet. (Closes: #489850) - many thanks to Janusz Dziemidowicz for his suggestions and testing * [5cbb079] add swedish debconf translation (Closes: #492107) - thanks to Martin Ågren * [12639e9] redo quilt patches - no code changes -- Guido Guenther Wed, 30 Jul 2008 17:59:03 -0400 multipath-tools (0.4.8-10ubuntu6) jaunty; urgency=low * debian/multipath-tools.preinst: Use the same logic as in hw-detect to determine if dm_multipath is already loaded. -- Timo Aaltonen Thu, 15 Jan 2009 23:50:18 +0200 multipath-tools (0.4.8-10ubuntu5) jaunty; urgency=low * debian/initramfs/hooks: Install from /lib/udev/rules.d -- Scott James Remnant Tue, 13 Jan 2009 03:05:02 +0000 multipath-tools (0.4.8-10ubuntu4) jaunty; urgency=low * Bump debhelper dependency to install udev rules to /lib/udev/rules.d, bump udev dependencies as well. -- Scott James Remnant Mon, 12 Jan 2009 22:03:11 +0000 multipath-tools (0.4.8-10ubuntu3) jaunty; urgency=low * fix_udev_scsi_id_arguments.diff: Update the arguments for scsi_id. (LP: #306723) * fix_sysfs_layout.diff: Patch from upstream to use the new sysfs layout. (LP: #307032) -- Timo Aaltonen Thu, 18 Dec 2008 15:32:20 +0200 multipath-tools (0.4.8-10ubuntu2) jaunty; urgency=low * debian/control: multipath-udeb must not depend on multipath-modules, because the Ubuntu kernel already includes the modules and no package provides m-m. * debian/multipath-tools.preinst: Don't modprobe dm-multipath unconditionally, since it'll break during installation (no modprobe.dep) and when using a monolithic kernel. Instead check for these conditions. (LP: #182009) -- Timo Aaltonen Tue, 02 Dec 2008 12:28:08 +0200 multipath-tools (0.4.8-10ubuntu1) intrepid; urgency=low * Merge from debian unstable, remaining changes: - Replace multipath-tools-boot init script with udev rules in kpartx.rules. - Move udev rules to priority 95, and drop call to dmsetup_env. - Add devices as they appear - Fix preinst script to modprobe dm-multipath. This will make sure that multipathd will be able to start. - Fix init script not to die on stop if multipathd is not running. - Add prerm script to not fail when upgrading from a broken version of multipathd. - Set umask in multipathd. - Handle udev rules priority change in preinst. -- Soren Hansen Thu, 26 Jun 2008 08:55:33 +0200 multipath-tools (0.4.8-10) unstable; urgency=low * [183da2c] Add russion debconf translation (Closes: #486353) - thanks to Yuri Kozlov * [02b7853] Add pt, de, and fr translations (Closes: #482035, #482845, #482905) - thanks to the Portuguese Translation Team, Helge Kreutzmann and Jean Guillou -- Guido Guenther Thu, 19 Jun 2008 13:06:09 +0200 multipath-tools (0.4.8-9) unstable; urgency=low * [958c4b1] attach multipath.conf to bugreports * [2ac083e] make multipath-tools-boot arch all * [2eb8b51] Warn about outdated /etc/multipath.conf via debconf. The changed location of udev's /sbin/scsi_id already hit two people. Since this renders the system unbootable we should warn about it at priority critical. (Closes: #481447) -- Guido Guenther Sat, 17 May 2008 15:13:40 +0200 multipath-tools (0.4.8-8) unstable; urgency=low * libdevmapper doesn't ship the init script anymore so drop that and depend on checkroot instead so we have a defined boot order (Closes: 470063) * multipath-tools.init: remove superflous stop link in S in the LSB header * add boot breakage warning to multipath-tools boot * depend on libdevmapper-dev (>= 2:1.02.20) instead of (>= 2:1.02.20-1) since this eases backports * bump standards version -- Guido Guenther Sun, 09 Mar 2008 18:55:38 +0100 multipath-tools (0.4.8-7ubuntu2) hardy; urgency=low * Install udev rules in initramfs. * Use temporary device name for creating partitions using kpartx. * Big thanks to Dag Stenstad for testing and helping with debugging! -- Soren Hansen Wed, 19 Mar 2008 19:07:22 +0100 multipath-tools (0.4.8-7ubuntu1) hardy; urgency=low * Merge from debian unstable, remaining changes: - DebianMaintainerField. - Replace multipath-tools-boot init script with udev rules in kpartx.rules. - Move udev rules to priority 95, and drop call to dmsetup_env. - Add devices as they appear. - Fix preinst script to modprobe dm-multipath. This will make sure that multipathd will be able to start. - Add prerm script to not fail when upgrading from a broken version of multipathd. - Set umask in multipathd. - Handle udev rules priority change in preinst. * Dropped our hsg80 changes. Kernel handles this correctly now. -- Soren Hansen Mon, 28 Jan 2008 11:09:45 +0100 multipath-tools (0.4.8-7) unstable; urgency=low * add watch file * move multipath-tools-boot startup to S21 to allow module-loading (Closes: #457804) -- Guido Guenther Tue, 08 Jan 2008 13:49:18 +0100 multipath-tools (0.4.8-6) unstable; urgency=low * depend on a libaio that resides in /lib (>= 0.3.106-8) so we can... * ...drop link-libaio-static.diff * fix_wwid_blacklist.diff: pulled from upstream to fix blacklisting by wwid * kpartx-docfix.diff: document -g * kpartx-remove-dead-code.diff: remove unused commandline option * kpartx-fix-extpart-rm.diff: fix partition removal of extended partitions -- Guido Guenther Sat, 01 Dec 2007 15:41:36 +0100 multipath-tools (0.4.8-5ubuntu1) hardy; urgency=low * Merge from debian unstable, remaining changes: - DebianMaintainerField. - Suggest sg3-utils, Conflict with sg-utils. - Replace multipath-tools-boot init script with udev rules in kpartx.rules. - Add /sbin/hsg80_start. - Move udev rules to priority 95, and drop call to dmsetup_env. - Add devices as they appear - Fix preinst script to modprobe dm-multipath. This will make sure that multipathd will be able to start. - Fix init script not to die on stop if multipathd is not running. - Add prerm script to not fail when upgrading from a broken version of multipathd. - Set umask in multipathd. - Handle udev rules priority change in preinst. -- Soren Hansen Thu, 13 Dec 2007 03:03:31 +0100 multipath-tools (0.4.8-5) unstable; urgency=low * apply kpartx-fix-udev-dmraid.diff to our shipped udev rules too * fix itemized list in control file (Closes: #441176) * link statically against libaio since it's in /usr/lib and multipath{,d} are in /sbin and we can avoid a libaio udeb for now * build a udeb for d-i support (Closes: #440334) -- Guido Guenther Fri, 07 Sep 2007 19:47:05 +0200 multipath-tools (0.4.8-4) unstable; urgency=low * split out initramfs support into a separate package (Closes: #440206) * copy persistent bindings into initramfs * debian/rules: don't ignore errors on clean (to make lintian happy) * multipath-tools-boot.sh: add Default-Stop pseudo header -- Guido Guenther Fri, 31 Aug 2007 09:47:35 +0200 multipath-tools (0.4.8-3) unstable; urgency=low * add a prerm script to handle updates from broken versions that don't allow for a stopped multipathd in the init script, really (closes: #439126). -- Guido Guenther Sun, 26 Aug 2007 10:24:49 +0200 multipath-tools (0.4.8-2) unstable; urgency=low * initramfs: mpath_prio_tpc has been renamed to mpath_prio_rdac * fetch patches by Hannes Reinecke from dm-devel: * fix udev rule for dmraid: kpartx-fix-udev-dmraid.diff * fix extended partition calculation in kpartx: kpartx-fix-extpart.diff * fix DEB_BUILD_OTIIONS=nostrip (Closes: #437596) -- Guido Guenther Mon, 13 Aug 2007 18:32:12 +0200 multipath-tools (0.4.8-1) unstable; urgency=low * new upstream release * drop clariion-fix-read-buffer.diff, applied upstream * init script: don't fail the stop target if multipathd * conflict with multipath-tools-initramfs -- Guido Guenther Sat, 04 Aug 2007 13:08:52 +0200 multipath-tools (0.4.7-9) unstable; urgency=low * fix segfault on EMC Clariions * add initramfs hooks to support rootfs on multipath * version the dependency on dmsetup since the one from etch doesn't support -oattr needed by dmsetup_env * use LSB functions in init scripts -- Guido Guenther Tue, 31 Jul 2007 14:01:00 +0200 multipath-tools (0.4.7-8) unstable; urgency=low * since Debian's dmestup doesn't include the "export" patch used by other distros (#434241), work around this by implementing a minimal dmsetup_env that can be used by kpartx.udev (Closes: #376161) * add LSB headers to init scripts -- Guido Guenther Sat, 28 Jul 2007 17:34:48 +0200 multipath-tools (0.4.7-7) unstable; urgency=low * create build dirs (Closes: #425910) * forward to upstream git b413c9dbe554c2d50aba7c6446ec86f850cf8dde * drop libmultipath-cache-sysfs_devices.diff, applied upstream -- Guido Guenther Fri, 27 Jul 2007 22:25:29 +0200 multipath-tools (0.4.7-6) unstable; urgency=low * kpartx.udev: fix path to kpartx_id * install kpartx_id * debian/control: add XS-Vcs-Browser -- Guido Guenther Sun, 22 Jul 2007 15:38:05 +0200 multipath-tools (0.4.7-5) unstable; urgency=low * forward to upstream git 00fe3ac6ff515bec4a2c7385d6e2e4a7ed5dfb36 * new patch: libmultipath-cache-sysfs_devices.diff (Closes: #433949) -- Guido Guenther Fri, 20 Jul 2007 23:15:27 +0200 multipath-tools (0.4.7-4) unstable; urgency=low * move to git * Drop patches applied upstream: * fix-segfault-on-disappearing-paths.diff * exclude-quilt.diff * scsi_id.diff * Makefile_cleanups.diff * use dh_installudev * no need to build-depend on libsysfs-dev anymore * build-depend on libaio-dev -- Guido Guenther Fri, 29 Jun 2007 11:31:28 -0400 multipath-tools (0.4.7-3) experimental; urgency=low * forward to upstream git as of 178b93111d54828a89ad280c0aaaea0812343a6a (Closes: #427532, #365363) * adjust scsi_id.patch to apply again * drop udev.patch, not needed * make sure multipath-tools-init runs after udev so the /dev/mapper/ entries appear in the correct place * debhelper version 5 (Closes: #425910) * split out kpartx into a separate package (Closes: #422600) -- Guido Guenther Fri, 08 Jun 2007 11:51:00 +0200 multipath-tools (0.4.7-2ubuntu3) gutsy; urgency=low * Fix preinst script to modprobe dm-multipath. This will make sure that multipathd will be able to start. * Fix init script not to die on stop if multipathd is not running. * Add prerm script to not fail when upgrading from a broken version of multipathd. -- Fabio M. Di Nitto Fri, 10 Aug 2007 13:03:39 +0200 multipath-tools (0.4.7-2ubuntu2) gutsy; urgency=low * Fix udev rule to load dm-multipath. -- Fabio M. Di Nitto Wed, 13 Jun 2007 11:56:52 +0200 multipath-tools (0.4.7-2ubuntu1) gutsy; urgency=low * Merge from debian unstable, remaining changes: - Remove multipath-tools-boot init script in favour of udev rules. - Update udev rules as described in 0.4.7-1.1ubuntu3. - Add /sbin/hsg80_start as described in 0.4.7-1.1ubuntu3. - debian/control Ubuntu maintainer foobar. -- Fabio M. Di Nitto Wed, 16 May 2007 11:02:20 +0200 multipath-tools (0.4.7-2) unstable; urgency=low [ Bastian Blank ] * Use /lib/udev/scsi_id. (closes: #358985) [ Guido Guenther ] * Acknowledge NMU - thanks John! (closes: #382244) * use quilt for the git patch * remove Bastian and Andres from Uploaders on their request * cleanup pp_hds_modular so the package is rebuildable several times * scsi_id.diff, Makefile-cleanups.diff, remove-arch-ifdefs.diff, udev.diff: split out Debian's modifications into separate patches * remove now superflous multipath.sh (closes: #350814) * bump standards version to 3.7.2 (no source changes) -- Guido Guenther Wed, 20 Dec 2006 17:40:59 +0100 multipath-tools (0.4.7-1.1ubuntu3) feisty; urgency=low * Remove multipath-tools-boot init script. * Wild changes and updates to udev rules: - All the hsg80 MULTIBUS FAILOVER are now handled here. - Fix rule to call kpartx also on "change" udev events. - Invoke multipath -v 0 device to make sure we hot plug all devices into multipath. * Add /sbin/hsg80_start that wraps all the work to make an hsg80 in MULTIBUS FAILOVER working properly. This is automatically called by udev. (Closes LP: #98518) -- Fabio M. Di Nitto Wed, 04 Apr 2007 08:17:48 +0200 multipath-tools (0.4.7-1.1ubuntu2) feisty; urgency=low * Remove devmap_name from this package, and Depend on dmsetup instead. Fixes file overwrite conflict with dmsetup. (LP 84894.) -- Ian Jackson Tue, 13 Feb 2007 16:16:46 +0000 multipath-tools (0.4.7-1.1ubuntu1) feisty; urgency=low * Merge from debian unstable, remaining changes: - remove stop links from rc0 and rc6 - suggest sg3-utils, conflict sg-utils - fix path to scsi_id - ubuntu udev rules - set umask -- Scott James Remnant Tue, 28 Nov 2006 15:24:16 +0000 multipath-tools (0.4.7-1.1) unstable; urgency=medium * Added missing dependency on dmsetup. Closes: #381068. * Fixed PID file handling. Closes: #294066. * Pulled in numerous fixes from upstream git tree to fix various segfaults, spewing garbage onto the console, etc. Tree is now synced to upstream git as of commit 40b575955cc189aa993e6a030b66b5fef6bcf288 on July 19, 2006, which is the current state of the upstream tree. Closes: #382214. -- John Goerzen Wed, 9 Aug 2006 11:52:08 -0500 multipath-tools (0.4.7-1ubuntu8) edgy; urgency=low * Remove stop script symlinks from rc0 and rc6. -- Scott James Remnant Fri, 15 Sep 2006 17:30:19 +0100 multipath-tools (0.4.7-1ubuntu7) dapper; urgency=low * Fix typo in init script that was executing hsg80_init unconditionally. * Suggests: sg3-utils and Conflicts: sg-utils (obsoleted). -- Fabio M. Di Nitto Mon, 22 May 2006 09:56:07 +0200 multipath-tools (0.4.7-1ubuntu6) dapper; urgency=low * no changes upload to rebuild with new libdevmapper. -- Fabio M. Di Nitto Wed, 10 May 2006 09:31:20 +0200 multipath-tools (0.4.7-1ubuntu5) dapper; urgency=low The "give Scott a crying biscuit" release. * Apply patch from Dennis Kaarsemaker. (Closes Ubuntu: #41318) -- Fabio M. Di Nitto Wed, 26 Apr 2006 10:20:07 +0200 multipath-tools (0.4.7-1ubuntu4) dapper; urgency=low * Remove 2 extra lines from multipath.rules that were really not supposed to be there. -- Fabio M. Di Nitto Thu, 06 Apr 2006 17:43:10 +0200 multipath-tools (0.4.7-1ubuntu3) dapper; urgency=low * Add hsg80_init function to multipath-tools-boot init script. The script takes care to perform a proper initialization of the disks when the hsg80 is configured in multibus failover mode. NOTE: multipathd is not able to understand properly what happens in this multi-bugs situation and it will require manual kill and restart once the disks have been readded to the system, otherwise failover is not guaranteed and syslog will be flooded. -- Fabio M. Di Nitto Thu, 06 Apr 2006 09:33:51 +0200 multipath-tools (0.4.7-1ubuntu2) dapper; urgency=low * Fix socket permissions. -- Fabio M. Di Nitto Tue, 04 Apr 2006 18:20:20 +0200 multipath-tools (0.4.7-1ubuntu1) dapper; urgency=low * Fix path to scsi_id. * Make install: target depends on build in debian/rules. * Change NAME to multipathd in init scripts so that we can actually stop multipathd. * Swap multipath-tools-boot and multipath-tools init scripts order in postinst and make multipath-tools-boot start. * UVF exception granted by Colin Watson. -- Fabio M. Di Nitto Tue, 04 Apr 2006 06:31:09 +0200 multipath-tools (0.4.7-1) unstable; urgency=low * New upstream version. - Build against libsysfs2. (closes: #355775) * Acknowledge NMU. (closes: #337081) -- Bastian Blank Fri, 17 Mar 2006 17:23:03 +0100 multipath-tools (0.4.6-1) unstable; urgency=low * New upstream version. -- Bastian Blank Thu, 09 Feb 2006 22:12:52 +0100 multipath-tools (0.4.5-3) unstable; urgency=low * Fix kpartx compiling errors and dos support. -- Bastian Blank Fri, 30 Sep 2005 13:01:55 +0200 multipath-tools (0.4.5-2) unstable; urgency=low * Move boot init script before udev and load dm-multipath module. -- Bastian Blank Wed, 28 Sep 2005 19:35:49 +0200 multipath-tools (0.4.5-1) unstable; urgency=low * New upstream version. * Move device check logic to udev rules. * Don't longer create devices in /dev by default. -- Bastian Blank Mon, 19 Sep 2005 16:32:00 +0200 multipath-tools (0.4.2.4-2) unstable; urgency=medium * New maintainer. * Rebuild against new libdevmapper. -- Bastian Blank Fri, 04 Mar 2005 15:16:30 +0100 multipath-tools (0.4.2.4-1) unstable; urgency=low * New upstream. NOTE: This is actually upstream's 0.4.2 but 0.4.2.3 came first for some reason. * Use start-stop-daemon to control the multipathd daemon and do it's own PID file handling (which is now commented out of the daemon itself) -- Patrick Caulfield Fri, 28 Jan 2005 15:15:01 +0000 multipath-tools (0.4.2.3-1) unstable; urgency=low * New upstream * Remove initrd files as they break things. Closes: #288150 * Fix some duplicate patching. -- Patrick Caulfield Mon, 17 Jan 2005 11:19:20 +0000 multipath-tools (0.4.1-1) unstable; urgency=low * New upstream Closes: #295926, #286789 * Include initrd scripts contributed by Guido Guenther Closes: #286791 -- Patrick Caulfield Thu, 13 Jan 2005 09:25:42 +0000 multipath-tools (0.4.0-1) unstable; urgency=low * New upstream -- Patrick Caulfield Fri, 24 Dec 2004 11:54:44 +0000 multipath-tools (0.3.9-1) unstable; urgency=low * New upstream -- Patrick Caulfield Tue, 7 Dec 2004 13:15:15 +0000 multipath-tools (0.3.8-1) unstable; urgency=low * New upstream * Fix error in preinst, when upgrading. * Don't clean klibc directory. Closes: #283043 -- Patrick Caulfield Mon, 29 Nov 2004 08:56:50 +0000 multipath-tools (0.3.7-1) unstable; urgency=low * New upstream -- Patrick Caulfield Sat, 13 Nov 2004 11:14:35 +0000 multipath-tools (0.3.6-1) unstable; urgency=low * Initial upload. Based loosely on upstream's work Closes: #277898 -- Patrick Caulfield Wed, 3 Nov 2004 10:16:34 +0000