1
0
multipath-tools/multipath-tools.spec

272 lines
7.6 KiB
RPMSpec
Raw Normal View History

#
# spec file for package multipath-tools
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# Workaround for Leap 42.1 bug, bsc#940315
%if 0%{?suse_version} == 1315
%if 0%{?is_opensuse} == 1
%if 0%{?sle_version} == 0
%define sle_version 120100
%endif
%endif
%endif
# Whether to build with RADOS support
# Default YES on openSUSE factory and leap >= 42.2 and SLES12 >= SP3
# (but only on architectures for which ceph is enabled).
# Default NO on SLES 12 >= SP2
# Always NO on other distros
%if 0%{?suse_version} == 1315
%if 0%{?is_opensuse} == 1
%if 0%{?sle_version} >= 120200
%bcond_without rados
%endif # 0%{?sle_version} >= 120200
%else # 0%{?is_opensuse} == 1
# Only architectures for which ceph is built, see ceph spec file
%ifarch x86_64 aarch64 ppc64le s390x
%if 0%{?sle_version} >= 120300
%bcond_without rados
%else # 0%{?sle_version} >= 120300
%if 0%{?sle_version} >= 120200
%bcond_with rados
%endif # 0%{?sle_version} >= 120200
%endif # 0%{?sle_version} >= 120300
%endif # arch
%endif # 0%{?is_opensuse} == 1
%else # 0%{?suse_version} == 1315
%if 0%{?suse_version} >= 1330
# Only architectures for which ceph is built, see ceph spec file
%ifarch x86_64 aarch64 ppc64 ppc64le
%bcond_without rados
%endif # arch
%endif # 0%{?suse_version} >= 1330
%endif # 0%{?suse_version} == 1315
# Whether to build libdmmp
# Default YES on openSUSE factory and leap
# Default NO on SLES 12
# Always NO on other distros
%if 0%{?suse_version} == 1315
%if 0%{?is_opensuse} == 1
%bcond_without libdmmp
%else # 0%{?is_opensuse} == 1
%bcond_with libdmmp
%endif # 0%{?is_opensuse} == 1
%else # 0%{?is_opensuse} == 1
%if 0%{?suse_version} >= 1330
%bcond_without libdmmp
%endif # 0%{?suse_version} >= 1330
%endif # 0%{?suse_version} == 1315
# This should match the version in libdmmp/Makefile
%define _libdmmp_version 0.1.0
%define libdmmp_version %(echo %{_libdmmp_version} | tr . _)
Name: multipath-tools
BuildRequires: device-mapper-devel
BuildRequires: libaio-devel
%if 0%{?with_rados} == 1
BuildRequires: librados-devel
%endif
%if 0%{?with_libdmmp} == 1
BuildRequires: libjson-c-devel
%endif
BuildRequires: libudev-devel
BuildRequires: liburcu-devel
BuildRequires: readline-devel
BuildRequires: udev
BuildRequires: pkgconfig(libsystemd)
BuildRequires: pkgconfig(systemd)
Url: http://christophe.varoqui.free.fr/
Requires: device-mapper >= 1.2.78
Requires: kpartx
Requires: sg3_utils
PreReq: coreutils grep
Version: 0.6.4+104+suse.ac0df678
Release: 0
Summary: Tools to Manage Multipathed Devices with the device-mapper
License: GPL-2.0
Group: System/Base
%{?systemd_requires}
%define has_systemd 1
Source: multipath-tools-%{version}.tar.xz
Source1: multipath.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define _sysdir usr/lib
%description
This package provides the tools to manage multipathed devices by
instructing the device-mapper multipath module what to do. The tools
are:
- multipath: scans the system for multipathed devices, assembles
them, and updates the device-mapper's maps
- multipathd: waits for maps events then execs multipath
- devmap-name: provides a meaningful device name to udev for devmaps
- kpartx: maps linear devmaps to device partitions, which makes
multipath maps partionable
%package -n kpartx
Summary: Manages partition tables on device-mapper devices
Group: System/Base
Requires: device-mapper
%description -n kpartx
The kpartx program maps linear devmaps to device partitions, which
makes multipath maps partionable.
%package devel
Summary: Development libraries for multipath-tools
Group: Development/Libraries/Other
Requires: device-mapper
%description devel
This package contains the development libraries for multipath-tools
and libmpath_persist.
%if 0%{?with_libdmmp} == 1
%package -n libdmmp%{libdmmp_version}
Summary: C API for multipath-tools
Group: System/Libraries
Requires: multipath-tools
%description -n libdmmp%{libdmmp_version}
This library enables the use of libmultipath commands from C code.
%package -n libdmmp-devel
Summary: Header files for multipath-tools C API
Group: Development/Libraries/Other
Requires: libdmmp%{libdmmp_version}
%description -n libdmmp-devel
This package provides development files and documentation for libdmmp.
%endif
%define makeflags %{!?with_rados:ENABLE_RADOS=0} %{!?with_libdmmp:ENABLE_LIBDMMP=0}
%prep
%setup -q -n multipath-tools-%{version}
%build
make CC="%__cc" OPTFLAGS="$RPM_OPT_FLAGS" LIB=%{_lib} SYSTEMDPATH=%{_sysdir} %{makeflags}
%install
make DESTDIR=$RPM_BUILD_ROOT LIB=%{_lib} SYSTEMDPATH=%{_sysdir} %{makeflags} install
mkdir -p $RPM_BUILD_ROOT/var/cache/multipath/
rm $RPM_BUILD_ROOT/%_lib/*.so
mkdir -p $RPM_BUILD_ROOT/usr/sbin
ln -sf /usr/sbin/service $RPM_BUILD_ROOT/usr/sbin/rcmultipathd
mkdir -p $RPM_BUILD_ROOT/usr/lib/modules-load.d
install -m 644 -D %{SOURCE1} "%buildroot/usr/lib/modules-load.d/multipath.conf"
- Merge with fixes from mainline. - Import multipath-tools from SLES11 SP1. - Increase initial timeout for 'tur' checker (bnc#616694) - Set geometry information for multipath maps (bnc#613363) - Reset 'running' parameter for directio (bnc#600043) - Add fallback to init script for older versions (bnc#602957) - Add HP 2000 to internal hardware table (bnc#603359) - Make path state messages unique - Add 'reassign_maps' configuration parameter - Profiling fixes: * Update 'max_fds' handling * Use strcmp() instead of strcmp_chomp() * Simplify sysfs_get_device() * Remove duplicate calls to path_offline() * Simplify dm_get_name() * Fixup devt2devname() * Rework dm_reassign() - check argument length in execute_program(bnc#610914) - Do not use LOG_CONS when opening syslog (bnc#610914) - Remove pid file usage from init scripts (bnc#600412) - Fixup boot.multipath init script (bnc#600412) - Always provide symlinks for udev (bnc#603785) - Use minor number in ev_remove_map() (bnc#599770) - signal_waiter() overwrites structure (bnc#591399) - Serialize startup on large machines (bnc#598697) - Update multipath(8) manpage for '-p' (bnc#602970) - Mark 'readsector0' checker as deprecated (bnc#589340) - Errorneous message 'error starting uevent listener' - Graceful shutdown of logging thread (bnc#591399) - Missing '-p' option for mkdir in mkinitrd script (bnc#597786) - rdac message not printed correctly (bnc#598302) - Use alias when printing log messages (bnc#598302) - valgrind fixes (bnc#591399) - Use VECTOR_SIZE() defines - Update hwtable factorization - Use log_close() on shutdown - Use refcounting for checkers (bnc#591399) - More valgrind fixes - Provide correct persistent symlinks for user_friendly_names (bnc#596301) - Fixup hardware table for LSI arrays (bnc#597713) - Reassign maps during startup (bnc#586834) - Update manpage - Use mkdir -p in mkinitrd setup script (bnc#597786). - Remove 'minor' argument from add_map_without_path - Check for correct device-mapper device in uevent handler - Start uevent service handler from main thread - Do not reassign multipath maps (bnc#594341) - Protect waiter structure by mutex (bnc#581200) - Log directly to syslog on shutdown (bnc#581200) - Clear up uevent queue on shutdown - Add more IBM/FAStT arrays (bnc#578738) - Display average priority as group priority (bnc#588591) - Implement 'wait event' cli command (bnc#586834) - Reset existing maps (bnc#577894) - Setup 'checkint' when loading config file (bnc#586847) - Fix typo in persistent rules for by-label/by-uuid - Update debug string in verify_paths() - Evaluate feature setting in verify_paths() (bnc#584197) - Fixup 'async_timeout' initialization again (bnc#580413) - 'reset log' cli command crashes daemon (bnc#577889) - Initialize 'async_timeout' variable correctly (bnc#580413) - Add hardware defaults for EMC Invista (bnc#573870) - Use '--replace-whitespace' for scsi_id (bnc#572209) - Asynchronous mode for tur checker (bnc#552688) - Update queue_if_no_path after sync with kernel state (bnc#570932) - Add 'max_polling_interval' config variable (bnc#570932) - Add 'async_timeout' configuration variable (bnc#570932) - Use default scsi_id callout for EMC Symmetrix (bnc#528481) - Update path_offline() to return device status - Update filename in init script - Fixes from upstream: * do not allow 0 size for multipath devices * Add nexenta comstart hardware defaults * Add checks for conf->xxx * Add %z wildcard to display path serial * don't pretend config file has setup parameters * documentation fixes - Fixup kpartx initrd script to handle loop devices (bnc#523749) - Switch off 'queue_if_no_path' before removing maps (bnc#475523) - Update logical partition handling (bnc#551827) - Fix mkinitrd scripts for 64bit (bnc572143) - Remove logical partitions maps with 'multipath -f' - testing for existence of /lib64 is not sufficient to find out if we are building for a lib64 platform - Update dev_loss_tmo for no_path_retry (bnc#492469) - Merge in changes from OpenSUSE 11.2 - Update 'no_path_retry' correctly for failed paths (bnc#534666) - Update no_path_retry setting when evaluating features (bnc#542145) - directio: block count calculation wrong (bnc#549028) - multipath segfaults if configuration file contains errors (bnc#540118) - Fixup strip whitespaces from getuid output (bnc#542085) - Change prefix for DASD devices to 'ccw' - Update no_path_retry setting when evaluating features (bnc#542145) - Update features when queue_if_no_path is set (bnc#511607) - Ignore error messages when multipathd is not started - Add debugging output for feature changes - Add generic LSI/Engenio controller (bnc#508030) - Update 'no_path_retry' correctly for failed paths (bnc#534666) - TUR checker should not return 'failed' for reservation conflict (bnc#498413) - Check for errors in pthread_create() - Lock vectors during shutdown - Cleanup various MALLOC/REALLOC callers - Fix multipathd crash on shutdown - Do not run kpartx on dm-uevent messages (bnc#473352) - Set pthread stacksize correctly (bnc#485287) - Add STK arrays to internal hardware table (bnc#503855) - Correct persistent symlink for cciss (bnc#497997) - Backport some fixes from upstream (bnc#445023) - Add 'reset log' cli command - no_path_retry <N> causes I/O to fail (bnc#485281) - Terminate uevent service queue - Wait for daemon to shutdown (bnc#481389) - Update cli request processing - Safe memory allocation in cli_handlers - Use 'LOG_CONS' option for openlog() - Remove sysfs attribute cache - Add 'shutdown' cli command - Display FC error messages correctly - Wait for devices in init script (bnc#487586) - Always synchronize with dm state (bnc#447887) - Add 'aas' path prioritizer (bnc#472069) - Synchronize daemon startup with init file (bnc#481389) - Merge feature string in assemble_map (bnc#507793) ------------------------------------------------------------------- - Reset checker message for blocked checkers - Increase priority for EMC Clariion arrays (bnc#484529) - Start waiter threads for single paths correctly (bnc#473841) - Use pthread_sigmask in alias.c when called from daemon. - Add %pre and %post scripts to stop multipathd during update - Don't set FC parameter on non-SCSI devices - multipath -t crashes with invalid configuration file - Don't remove partition mappings on stop (bnc#468826) - Set stacksize for log thread - Terminate all I/O before flushing maps (bnc#475523) - Select 'features' keyword from multipath setting (bnc#465009) - Use lists for uevent processing (bnc#478874) - Set stacksize of uevent handling thread (bnc#478874) - Increase uevent buffer size - Strip trailing blanks from wwid - Stack overflow in uev_trigger (bnc#476540) - Fixup multibus zero path handling (bnc#476330) - Update checker handling for blocked devices - Only pass block events to multipathd - Clean up uevent processing (bnc#478874) - Set stacksize correctly for event processing thread (bnc#478874) - Remove stray umask() call (bnc#458598) - Don't call kpartx if no paths are active (bnc#473352) - Multipathd dies immediately after startup (bnc#473029) - Return ghost state if port is in standby (bnc#475816) - Switch off queue_if_no_path before removing paths (bnc#475523) - Fix leastpending loadbalancer output (bnc#444199) - Start waitevent checker on new paths (bnc#473841) - Use 'noflush' for kpartx (bnc#473352) - Display multipath output for leastpending loadbalancer properly (bnc#444199) - Set queue_if_no_path setting during map reload (bnc#472253) - Remove obsolete 'umount map' uevent handling - Retry TUR on driver errors (bnc#456961) - Copy persistent bindings file into initramfs (bnc#468804) - Invert DM_STATE check for kpartx rules (bnc#440959) - Correct dbg_malloc() definition - Fix more memory leaks - Double free on path release (bnc#458393) OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=16
2010-07-06 16:27:45 +02:00
%pre
[ -f /.buildenv ] && exit 0
if [ -f /etc/init.d/multipathd ] && dmsetup --target multipath table | grep -q multipath ; then
/etc/init.d/multipathd stop
2015-04-22 15:52:56 +02:00
%service_add_pre multipathd.socket
%service_add_pre multipathd.service
- Merge with fixes from mainline. - Import multipath-tools from SLES11 SP1. - Increase initial timeout for 'tur' checker (bnc#616694) - Set geometry information for multipath maps (bnc#613363) - Reset 'running' parameter for directio (bnc#600043) - Add fallback to init script for older versions (bnc#602957) - Add HP 2000 to internal hardware table (bnc#603359) - Make path state messages unique - Add 'reassign_maps' configuration parameter - Profiling fixes: * Update 'max_fds' handling * Use strcmp() instead of strcmp_chomp() * Simplify sysfs_get_device() * Remove duplicate calls to path_offline() * Simplify dm_get_name() * Fixup devt2devname() * Rework dm_reassign() - check argument length in execute_program(bnc#610914) - Do not use LOG_CONS when opening syslog (bnc#610914) - Remove pid file usage from init scripts (bnc#600412) - Fixup boot.multipath init script (bnc#600412) - Always provide symlinks for udev (bnc#603785) - Use minor number in ev_remove_map() (bnc#599770) - signal_waiter() overwrites structure (bnc#591399) - Serialize startup on large machines (bnc#598697) - Update multipath(8) manpage for '-p' (bnc#602970) - Mark 'readsector0' checker as deprecated (bnc#589340) - Errorneous message 'error starting uevent listener' - Graceful shutdown of logging thread (bnc#591399) - Missing '-p' option for mkdir in mkinitrd script (bnc#597786) - rdac message not printed correctly (bnc#598302) - Use alias when printing log messages (bnc#598302) - valgrind fixes (bnc#591399) - Use VECTOR_SIZE() defines - Update hwtable factorization - Use log_close() on shutdown - Use refcounting for checkers (bnc#591399) - More valgrind fixes - Provide correct persistent symlinks for user_friendly_names (bnc#596301) - Fixup hardware table for LSI arrays (bnc#597713) - Reassign maps during startup (bnc#586834) - Update manpage - Use mkdir -p in mkinitrd setup script (bnc#597786). - Remove 'minor' argument from add_map_without_path - Check for correct device-mapper device in uevent handler - Start uevent service handler from main thread - Do not reassign multipath maps (bnc#594341) - Protect waiter structure by mutex (bnc#581200) - Log directly to syslog on shutdown (bnc#581200) - Clear up uevent queue on shutdown - Add more IBM/FAStT arrays (bnc#578738) - Display average priority as group priority (bnc#588591) - Implement 'wait event' cli command (bnc#586834) - Reset existing maps (bnc#577894) - Setup 'checkint' when loading config file (bnc#586847) - Fix typo in persistent rules for by-label/by-uuid - Update debug string in verify_paths() - Evaluate feature setting in verify_paths() (bnc#584197) - Fixup 'async_timeout' initialization again (bnc#580413) - 'reset log' cli command crashes daemon (bnc#577889) - Initialize 'async_timeout' variable correctly (bnc#580413) - Add hardware defaults for EMC Invista (bnc#573870) - Use '--replace-whitespace' for scsi_id (bnc#572209) - Asynchronous mode for tur checker (bnc#552688) - Update queue_if_no_path after sync with kernel state (bnc#570932) - Add 'max_polling_interval' config variable (bnc#570932) - Add 'async_timeout' configuration variable (bnc#570932) - Use default scsi_id callout for EMC Symmetrix (bnc#528481) - Update path_offline() to return device status - Update filename in init script - Fixes from upstream: * do not allow 0 size for multipath devices * Add nexenta comstart hardware defaults * Add checks for conf->xxx * Add %z wildcard to display path serial * don't pretend config file has setup parameters * documentation fixes - Fixup kpartx initrd script to handle loop devices (bnc#523749) - Switch off 'queue_if_no_path' before removing maps (bnc#475523) - Update logical partition handling (bnc#551827) - Fix mkinitrd scripts for 64bit (bnc572143) - Remove logical partitions maps with 'multipath -f' - testing for existence of /lib64 is not sufficient to find out if we are building for a lib64 platform - Update dev_loss_tmo for no_path_retry (bnc#492469) - Merge in changes from OpenSUSE 11.2 - Update 'no_path_retry' correctly for failed paths (bnc#534666) - Update no_path_retry setting when evaluating features (bnc#542145) - directio: block count calculation wrong (bnc#549028) - multipath segfaults if configuration file contains errors (bnc#540118) - Fixup strip whitespaces from getuid output (bnc#542085) - Change prefix for DASD devices to 'ccw' - Update no_path_retry setting when evaluating features (bnc#542145) - Update features when queue_if_no_path is set (bnc#511607) - Ignore error messages when multipathd is not started - Add debugging output for feature changes - Add generic LSI/Engenio controller (bnc#508030) - Update 'no_path_retry' correctly for failed paths (bnc#534666) - TUR checker should not return 'failed' for reservation conflict (bnc#498413) - Check for errors in pthread_create() - Lock vectors during shutdown - Cleanup various MALLOC/REALLOC callers - Fix multipathd crash on shutdown - Do not run kpartx on dm-uevent messages (bnc#473352) - Set pthread stacksize correctly (bnc#485287) - Add STK arrays to internal hardware table (bnc#503855) - Correct persistent symlink for cciss (bnc#497997) - Backport some fixes from upstream (bnc#445023) - Add 'reset log' cli command - no_path_retry <N> causes I/O to fail (bnc#485281) - Terminate uevent service queue - Wait for daemon to shutdown (bnc#481389) - Update cli request processing - Safe memory allocation in cli_handlers - Use 'LOG_CONS' option for openlog() - Remove sysfs attribute cache - Add 'shutdown' cli command - Display FC error messages correctly - Wait for devices in init script (bnc#487586) - Always synchronize with dm state (bnc#447887) - Add 'aas' path prioritizer (bnc#472069) - Synchronize daemon startup with init file (bnc#481389) - Merge feature string in assemble_map (bnc#507793) ------------------------------------------------------------------- - Reset checker message for blocked checkers - Increase priority for EMC Clariion arrays (bnc#484529) - Start waiter threads for single paths correctly (bnc#473841) - Use pthread_sigmask in alias.c when called from daemon. - Add %pre and %post scripts to stop multipathd during update - Don't set FC parameter on non-SCSI devices - multipath -t crashes with invalid configuration file - Don't remove partition mappings on stop (bnc#468826) - Set stacksize for log thread - Terminate all I/O before flushing maps (bnc#475523) - Select 'features' keyword from multipath setting (bnc#465009) - Use lists for uevent processing (bnc#478874) - Set stacksize of uevent handling thread (bnc#478874) - Increase uevent buffer size - Strip trailing blanks from wwid - Stack overflow in uev_trigger (bnc#476540) - Fixup multibus zero path handling (bnc#476330) - Update checker handling for blocked devices - Only pass block events to multipathd - Clean up uevent processing (bnc#478874) - Set stacksize correctly for event processing thread (bnc#478874) - Remove stray umask() call (bnc#458598) - Don't call kpartx if no paths are active (bnc#473352) - Multipathd dies immediately after startup (bnc#473029) - Return ghost state if port is in standby (bnc#475816) - Switch off queue_if_no_path before removing paths (bnc#475523) - Fix leastpending loadbalancer output (bnc#444199) - Start waitevent checker on new paths (bnc#473841) - Use 'noflush' for kpartx (bnc#473352) - Display multipath output for leastpending loadbalancer properly (bnc#444199) - Set queue_if_no_path setting during map reload (bnc#472253) - Remove obsolete 'umount map' uevent handling - Retry TUR on driver errors (bnc#456961) - Copy persistent bindings file into initramfs (bnc#468804) - Invert DM_STATE check for kpartx rules (bnc#440959) - Correct dbg_malloc() definition - Fix more memory leaks - Double free on path release (bnc#458393) OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=16
2010-07-06 16:27:45 +02:00
fi
%post
- Merge with fixes from mainline. - Import multipath-tools from SLES11 SP1. - Increase initial timeout for 'tur' checker (bnc#616694) - Set geometry information for multipath maps (bnc#613363) - Reset 'running' parameter for directio (bnc#600043) - Add fallback to init script for older versions (bnc#602957) - Add HP 2000 to internal hardware table (bnc#603359) - Make path state messages unique - Add 'reassign_maps' configuration parameter - Profiling fixes: * Update 'max_fds' handling * Use strcmp() instead of strcmp_chomp() * Simplify sysfs_get_device() * Remove duplicate calls to path_offline() * Simplify dm_get_name() * Fixup devt2devname() * Rework dm_reassign() - check argument length in execute_program(bnc#610914) - Do not use LOG_CONS when opening syslog (bnc#610914) - Remove pid file usage from init scripts (bnc#600412) - Fixup boot.multipath init script (bnc#600412) - Always provide symlinks for udev (bnc#603785) - Use minor number in ev_remove_map() (bnc#599770) - signal_waiter() overwrites structure (bnc#591399) - Serialize startup on large machines (bnc#598697) - Update multipath(8) manpage for '-p' (bnc#602970) - Mark 'readsector0' checker as deprecated (bnc#589340) - Errorneous message 'error starting uevent listener' - Graceful shutdown of logging thread (bnc#591399) - Missing '-p' option for mkdir in mkinitrd script (bnc#597786) - rdac message not printed correctly (bnc#598302) - Use alias when printing log messages (bnc#598302) - valgrind fixes (bnc#591399) - Use VECTOR_SIZE() defines - Update hwtable factorization - Use log_close() on shutdown - Use refcounting for checkers (bnc#591399) - More valgrind fixes - Provide correct persistent symlinks for user_friendly_names (bnc#596301) - Fixup hardware table for LSI arrays (bnc#597713) - Reassign maps during startup (bnc#586834) - Update manpage - Use mkdir -p in mkinitrd setup script (bnc#597786). - Remove 'minor' argument from add_map_without_path - Check for correct device-mapper device in uevent handler - Start uevent service handler from main thread - Do not reassign multipath maps (bnc#594341) - Protect waiter structure by mutex (bnc#581200) - Log directly to syslog on shutdown (bnc#581200) - Clear up uevent queue on shutdown - Add more IBM/FAStT arrays (bnc#578738) - Display average priority as group priority (bnc#588591) - Implement 'wait event' cli command (bnc#586834) - Reset existing maps (bnc#577894) - Setup 'checkint' when loading config file (bnc#586847) - Fix typo in persistent rules for by-label/by-uuid - Update debug string in verify_paths() - Evaluate feature setting in verify_paths() (bnc#584197) - Fixup 'async_timeout' initialization again (bnc#580413) - 'reset log' cli command crashes daemon (bnc#577889) - Initialize 'async_timeout' variable correctly (bnc#580413) - Add hardware defaults for EMC Invista (bnc#573870) - Use '--replace-whitespace' for scsi_id (bnc#572209) - Asynchronous mode for tur checker (bnc#552688) - Update queue_if_no_path after sync with kernel state (bnc#570932) - Add 'max_polling_interval' config variable (bnc#570932) - Add 'async_timeout' configuration variable (bnc#570932) - Use default scsi_id callout for EMC Symmetrix (bnc#528481) - Update path_offline() to return device status - Update filename in init script - Fixes from upstream: * do not allow 0 size for multipath devices * Add nexenta comstart hardware defaults * Add checks for conf->xxx * Add %z wildcard to display path serial * don't pretend config file has setup parameters * documentation fixes - Fixup kpartx initrd script to handle loop devices (bnc#523749) - Switch off 'queue_if_no_path' before removing maps (bnc#475523) - Update logical partition handling (bnc#551827) - Fix mkinitrd scripts for 64bit (bnc572143) - Remove logical partitions maps with 'multipath -f' - testing for existence of /lib64 is not sufficient to find out if we are building for a lib64 platform - Update dev_loss_tmo for no_path_retry (bnc#492469) - Merge in changes from OpenSUSE 11.2 - Update 'no_path_retry' correctly for failed paths (bnc#534666) - Update no_path_retry setting when evaluating features (bnc#542145) - directio: block count calculation wrong (bnc#549028) - multipath segfaults if configuration file contains errors (bnc#540118) - Fixup strip whitespaces from getuid output (bnc#542085) - Change prefix for DASD devices to 'ccw' - Update no_path_retry setting when evaluating features (bnc#542145) - Update features when queue_if_no_path is set (bnc#511607) - Ignore error messages when multipathd is not started - Add debugging output for feature changes - Add generic LSI/Engenio controller (bnc#508030) - Update 'no_path_retry' correctly for failed paths (bnc#534666) - TUR checker should not return 'failed' for reservation conflict (bnc#498413) - Check for errors in pthread_create() - Lock vectors during shutdown - Cleanup various MALLOC/REALLOC callers - Fix multipathd crash on shutdown - Do not run kpartx on dm-uevent messages (bnc#473352) - Set pthread stacksize correctly (bnc#485287) - Add STK arrays to internal hardware table (bnc#503855) - Correct persistent symlink for cciss (bnc#497997) - Backport some fixes from upstream (bnc#445023) - Add 'reset log' cli command - no_path_retry <N> causes I/O to fail (bnc#485281) - Terminate uevent service queue - Wait for daemon to shutdown (bnc#481389) - Update cli request processing - Safe memory allocation in cli_handlers - Use 'LOG_CONS' option for openlog() - Remove sysfs attribute cache - Add 'shutdown' cli command - Display FC error messages correctly - Wait for devices in init script (bnc#487586) - Always synchronize with dm state (bnc#447887) - Add 'aas' path prioritizer (bnc#472069) - Synchronize daemon startup with init file (bnc#481389) - Merge feature string in assemble_map (bnc#507793) ------------------------------------------------------------------- - Reset checker message for blocked checkers - Increase priority for EMC Clariion arrays (bnc#484529) - Start waiter threads for single paths correctly (bnc#473841) - Use pthread_sigmask in alias.c when called from daemon. - Add %pre and %post scripts to stop multipathd during update - Don't set FC parameter on non-SCSI devices - multipath -t crashes with invalid configuration file - Don't remove partition mappings on stop (bnc#468826) - Set stacksize for log thread - Terminate all I/O before flushing maps (bnc#475523) - Select 'features' keyword from multipath setting (bnc#465009) - Use lists for uevent processing (bnc#478874) - Set stacksize of uevent handling thread (bnc#478874) - Increase uevent buffer size - Strip trailing blanks from wwid - Stack overflow in uev_trigger (bnc#476540) - Fixup multibus zero path handling (bnc#476330) - Update checker handling for blocked devices - Only pass block events to multipathd - Clean up uevent processing (bnc#478874) - Set stacksize correctly for event processing thread (bnc#478874) - Remove stray umask() call (bnc#458598) - Don't call kpartx if no paths are active (bnc#473352) - Multipathd dies immediately after startup (bnc#473029) - Return ghost state if port is in standby (bnc#475816) - Switch off queue_if_no_path before removing paths (bnc#475523) - Fix leastpending loadbalancer output (bnc#444199) - Start waitevent checker on new paths (bnc#473841) - Use 'noflush' for kpartx (bnc#473352) - Display multipath output for leastpending loadbalancer properly (bnc#444199) - Set queue_if_no_path setting during map reload (bnc#472253) - Remove obsolete 'umount map' uevent handling - Retry TUR on driver errors (bnc#456961) - Copy persistent bindings file into initramfs (bnc#468804) - Invert DM_STATE check for kpartx rules (bnc#440959) - Correct dbg_malloc() definition - Fix more memory leaks - Double free on path release (bnc#458393) OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=16
2010-07-06 16:27:45 +02:00
[ -f /.buildenv ] && exit 0
%{run_ldconfig}
- Merge with fixes from mainline. - Import multipath-tools from SLES11 SP1. - Increase initial timeout for 'tur' checker (bnc#616694) - Set geometry information for multipath maps (bnc#613363) - Reset 'running' parameter for directio (bnc#600043) - Add fallback to init script for older versions (bnc#602957) - Add HP 2000 to internal hardware table (bnc#603359) - Make path state messages unique - Add 'reassign_maps' configuration parameter - Profiling fixes: * Update 'max_fds' handling * Use strcmp() instead of strcmp_chomp() * Simplify sysfs_get_device() * Remove duplicate calls to path_offline() * Simplify dm_get_name() * Fixup devt2devname() * Rework dm_reassign() - check argument length in execute_program(bnc#610914) - Do not use LOG_CONS when opening syslog (bnc#610914) - Remove pid file usage from init scripts (bnc#600412) - Fixup boot.multipath init script (bnc#600412) - Always provide symlinks for udev (bnc#603785) - Use minor number in ev_remove_map() (bnc#599770) - signal_waiter() overwrites structure (bnc#591399) - Serialize startup on large machines (bnc#598697) - Update multipath(8) manpage for '-p' (bnc#602970) - Mark 'readsector0' checker as deprecated (bnc#589340) - Errorneous message 'error starting uevent listener' - Graceful shutdown of logging thread (bnc#591399) - Missing '-p' option for mkdir in mkinitrd script (bnc#597786) - rdac message not printed correctly (bnc#598302) - Use alias when printing log messages (bnc#598302) - valgrind fixes (bnc#591399) - Use VECTOR_SIZE() defines - Update hwtable factorization - Use log_close() on shutdown - Use refcounting for checkers (bnc#591399) - More valgrind fixes - Provide correct persistent symlinks for user_friendly_names (bnc#596301) - Fixup hardware table for LSI arrays (bnc#597713) - Reassign maps during startup (bnc#586834) - Update manpage - Use mkdir -p in mkinitrd setup script (bnc#597786). - Remove 'minor' argument from add_map_without_path - Check for correct device-mapper device in uevent handler - Start uevent service handler from main thread - Do not reassign multipath maps (bnc#594341) - Protect waiter structure by mutex (bnc#581200) - Log directly to syslog on shutdown (bnc#581200) - Clear up uevent queue on shutdown - Add more IBM/FAStT arrays (bnc#578738) - Display average priority as group priority (bnc#588591) - Implement 'wait event' cli command (bnc#586834) - Reset existing maps (bnc#577894) - Setup 'checkint' when loading config file (bnc#586847) - Fix typo in persistent rules for by-label/by-uuid - Update debug string in verify_paths() - Evaluate feature setting in verify_paths() (bnc#584197) - Fixup 'async_timeout' initialization again (bnc#580413) - 'reset log' cli command crashes daemon (bnc#577889) - Initialize 'async_timeout' variable correctly (bnc#580413) - Add hardware defaults for EMC Invista (bnc#573870) - Use '--replace-whitespace' for scsi_id (bnc#572209) - Asynchronous mode for tur checker (bnc#552688) - Update queue_if_no_path after sync with kernel state (bnc#570932) - Add 'max_polling_interval' config variable (bnc#570932) - Add 'async_timeout' configuration variable (bnc#570932) - Use default scsi_id callout for EMC Symmetrix (bnc#528481) - Update path_offline() to return device status - Update filename in init script - Fixes from upstream: * do not allow 0 size for multipath devices * Add nexenta comstart hardware defaults * Add checks for conf->xxx * Add %z wildcard to display path serial * don't pretend config file has setup parameters * documentation fixes - Fixup kpartx initrd script to handle loop devices (bnc#523749) - Switch off 'queue_if_no_path' before removing maps (bnc#475523) - Update logical partition handling (bnc#551827) - Fix mkinitrd scripts for 64bit (bnc572143) - Remove logical partitions maps with 'multipath -f' - testing for existence of /lib64 is not sufficient to find out if we are building for a lib64 platform - Update dev_loss_tmo for no_path_retry (bnc#492469) - Merge in changes from OpenSUSE 11.2 - Update 'no_path_retry' correctly for failed paths (bnc#534666) - Update no_path_retry setting when evaluating features (bnc#542145) - directio: block count calculation wrong (bnc#549028) - multipath segfaults if configuration file contains errors (bnc#540118) - Fixup strip whitespaces from getuid output (bnc#542085) - Change prefix for DASD devices to 'ccw' - Update no_path_retry setting when evaluating features (bnc#542145) - Update features when queue_if_no_path is set (bnc#511607) - Ignore error messages when multipathd is not started - Add debugging output for feature changes - Add generic LSI/Engenio controller (bnc#508030) - Update 'no_path_retry' correctly for failed paths (bnc#534666) - TUR checker should not return 'failed' for reservation conflict (bnc#498413) - Check for errors in pthread_create() - Lock vectors during shutdown - Cleanup various MALLOC/REALLOC callers - Fix multipathd crash on shutdown - Do not run kpartx on dm-uevent messages (bnc#473352) - Set pthread stacksize correctly (bnc#485287) - Add STK arrays to internal hardware table (bnc#503855) - Correct persistent symlink for cciss (bnc#497997) - Backport some fixes from upstream (bnc#445023) - Add 'reset log' cli command - no_path_retry <N> causes I/O to fail (bnc#485281) - Terminate uevent service queue - Wait for daemon to shutdown (bnc#481389) - Update cli request processing - Safe memory allocation in cli_handlers - Use 'LOG_CONS' option for openlog() - Remove sysfs attribute cache - Add 'shutdown' cli command - Display FC error messages correctly - Wait for devices in init script (bnc#487586) - Always synchronize with dm state (bnc#447887) - Add 'aas' path prioritizer (bnc#472069) - Synchronize daemon startup with init file (bnc#481389) - Merge feature string in assemble_map (bnc#507793) ------------------------------------------------------------------- - Reset checker message for blocked checkers - Increase priority for EMC Clariion arrays (bnc#484529) - Start waiter threads for single paths correctly (bnc#473841) - Use pthread_sigmask in alias.c when called from daemon. - Add %pre and %post scripts to stop multipathd during update - Don't set FC parameter on non-SCSI devices - multipath -t crashes with invalid configuration file - Don't remove partition mappings on stop (bnc#468826) - Set stacksize for log thread - Terminate all I/O before flushing maps (bnc#475523) - Select 'features' keyword from multipath setting (bnc#465009) - Use lists for uevent processing (bnc#478874) - Set stacksize of uevent handling thread (bnc#478874) - Increase uevent buffer size - Strip trailing blanks from wwid - Stack overflow in uev_trigger (bnc#476540) - Fixup multibus zero path handling (bnc#476330) - Update checker handling for blocked devices - Only pass block events to multipathd - Clean up uevent processing (bnc#478874) - Set stacksize correctly for event processing thread (bnc#478874) - Remove stray umask() call (bnc#458598) - Don't call kpartx if no paths are active (bnc#473352) - Multipathd dies immediately after startup (bnc#473029) - Return ghost state if port is in standby (bnc#475816) - Switch off queue_if_no_path before removing paths (bnc#475523) - Fix leastpending loadbalancer output (bnc#444199) - Start waitevent checker on new paths (bnc#473841) - Use 'noflush' for kpartx (bnc#473352) - Display multipath output for leastpending loadbalancer properly (bnc#444199) - Set queue_if_no_path setting during map reload (bnc#472253) - Remove obsolete 'umount map' uevent handling - Retry TUR on driver errors (bnc#456961) - Copy persistent bindings file into initramfs (bnc#468804) - Invert DM_STATE check for kpartx rules (bnc#440959) - Correct dbg_malloc() definition - Fix more memory leaks - Double free on path release (bnc#458393) OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=16
2010-07-06 16:27:45 +02:00
if dmsetup --target multipath table | grep -q multipath ; then
2015-04-22 15:52:56 +02:00
%service_add_post multipathd.socket
%service_add_post multipathd.service
- Merge with fixes from mainline. - Import multipath-tools from SLES11 SP1. - Increase initial timeout for 'tur' checker (bnc#616694) - Set geometry information for multipath maps (bnc#613363) - Reset 'running' parameter for directio (bnc#600043) - Add fallback to init script for older versions (bnc#602957) - Add HP 2000 to internal hardware table (bnc#603359) - Make path state messages unique - Add 'reassign_maps' configuration parameter - Profiling fixes: * Update 'max_fds' handling * Use strcmp() instead of strcmp_chomp() * Simplify sysfs_get_device() * Remove duplicate calls to path_offline() * Simplify dm_get_name() * Fixup devt2devname() * Rework dm_reassign() - check argument length in execute_program(bnc#610914) - Do not use LOG_CONS when opening syslog (bnc#610914) - Remove pid file usage from init scripts (bnc#600412) - Fixup boot.multipath init script (bnc#600412) - Always provide symlinks for udev (bnc#603785) - Use minor number in ev_remove_map() (bnc#599770) - signal_waiter() overwrites structure (bnc#591399) - Serialize startup on large machines (bnc#598697) - Update multipath(8) manpage for '-p' (bnc#602970) - Mark 'readsector0' checker as deprecated (bnc#589340) - Errorneous message 'error starting uevent listener' - Graceful shutdown of logging thread (bnc#591399) - Missing '-p' option for mkdir in mkinitrd script (bnc#597786) - rdac message not printed correctly (bnc#598302) - Use alias when printing log messages (bnc#598302) - valgrind fixes (bnc#591399) - Use VECTOR_SIZE() defines - Update hwtable factorization - Use log_close() on shutdown - Use refcounting for checkers (bnc#591399) - More valgrind fixes - Provide correct persistent symlinks for user_friendly_names (bnc#596301) - Fixup hardware table for LSI arrays (bnc#597713) - Reassign maps during startup (bnc#586834) - Update manpage - Use mkdir -p in mkinitrd setup script (bnc#597786). - Remove 'minor' argument from add_map_without_path - Check for correct device-mapper device in uevent handler - Start uevent service handler from main thread - Do not reassign multipath maps (bnc#594341) - Protect waiter structure by mutex (bnc#581200) - Log directly to syslog on shutdown (bnc#581200) - Clear up uevent queue on shutdown - Add more IBM/FAStT arrays (bnc#578738) - Display average priority as group priority (bnc#588591) - Implement 'wait event' cli command (bnc#586834) - Reset existing maps (bnc#577894) - Setup 'checkint' when loading config file (bnc#586847) - Fix typo in persistent rules for by-label/by-uuid - Update debug string in verify_paths() - Evaluate feature setting in verify_paths() (bnc#584197) - Fixup 'async_timeout' initialization again (bnc#580413) - 'reset log' cli command crashes daemon (bnc#577889) - Initialize 'async_timeout' variable correctly (bnc#580413) - Add hardware defaults for EMC Invista (bnc#573870) - Use '--replace-whitespace' for scsi_id (bnc#572209) - Asynchronous mode for tur checker (bnc#552688) - Update queue_if_no_path after sync with kernel state (bnc#570932) - Add 'max_polling_interval' config variable (bnc#570932) - Add 'async_timeout' configuration variable (bnc#570932) - Use default scsi_id callout for EMC Symmetrix (bnc#528481) - Update path_offline() to return device status - Update filename in init script - Fixes from upstream: * do not allow 0 size for multipath devices * Add nexenta comstart hardware defaults * Add checks for conf->xxx * Add %z wildcard to display path serial * don't pretend config file has setup parameters * documentation fixes - Fixup kpartx initrd script to handle loop devices (bnc#523749) - Switch off 'queue_if_no_path' before removing maps (bnc#475523) - Update logical partition handling (bnc#551827) - Fix mkinitrd scripts for 64bit (bnc572143) - Remove logical partitions maps with 'multipath -f' - testing for existence of /lib64 is not sufficient to find out if we are building for a lib64 platform - Update dev_loss_tmo for no_path_retry (bnc#492469) - Merge in changes from OpenSUSE 11.2 - Update 'no_path_retry' correctly for failed paths (bnc#534666) - Update no_path_retry setting when evaluating features (bnc#542145) - directio: block count calculation wrong (bnc#549028) - multipath segfaults if configuration file contains errors (bnc#540118) - Fixup strip whitespaces from getuid output (bnc#542085) - Change prefix for DASD devices to 'ccw' - Update no_path_retry setting when evaluating features (bnc#542145) - Update features when queue_if_no_path is set (bnc#511607) - Ignore error messages when multipathd is not started - Add debugging output for feature changes - Add generic LSI/Engenio controller (bnc#508030) - Update 'no_path_retry' correctly for failed paths (bnc#534666) - TUR checker should not return 'failed' for reservation conflict (bnc#498413) - Check for errors in pthread_create() - Lock vectors during shutdown - Cleanup various MALLOC/REALLOC callers - Fix multipathd crash on shutdown - Do not run kpartx on dm-uevent messages (bnc#473352) - Set pthread stacksize correctly (bnc#485287) - Add STK arrays to internal hardware table (bnc#503855) - Correct persistent symlink for cciss (bnc#497997) - Backport some fixes from upstream (bnc#445023) - Add 'reset log' cli command - no_path_retry <N> causes I/O to fail (bnc#485281) - Terminate uevent service queue - Wait for daemon to shutdown (bnc#481389) - Update cli request processing - Safe memory allocation in cli_handlers - Use 'LOG_CONS' option for openlog() - Remove sysfs attribute cache - Add 'shutdown' cli command - Display FC error messages correctly - Wait for devices in init script (bnc#487586) - Always synchronize with dm state (bnc#447887) - Add 'aas' path prioritizer (bnc#472069) - Synchronize daemon startup with init file (bnc#481389) - Merge feature string in assemble_map (bnc#507793) ------------------------------------------------------------------- - Reset checker message for blocked checkers - Increase priority for EMC Clariion arrays (bnc#484529) - Start waiter threads for single paths correctly (bnc#473841) - Use pthread_sigmask in alias.c when called from daemon. - Add %pre and %post scripts to stop multipathd during update - Don't set FC parameter on non-SCSI devices - multipath -t crashes with invalid configuration file - Don't remove partition mappings on stop (bnc#468826) - Set stacksize for log thread - Terminate all I/O before flushing maps (bnc#475523) - Select 'features' keyword from multipath setting (bnc#465009) - Use lists for uevent processing (bnc#478874) - Set stacksize of uevent handling thread (bnc#478874) - Increase uevent buffer size - Strip trailing blanks from wwid - Stack overflow in uev_trigger (bnc#476540) - Fixup multibus zero path handling (bnc#476330) - Update checker handling for blocked devices - Only pass block events to multipathd - Clean up uevent processing (bnc#478874) - Set stacksize correctly for event processing thread (bnc#478874) - Remove stray umask() call (bnc#458598) - Don't call kpartx if no paths are active (bnc#473352) - Multipathd dies immediately after startup (bnc#473029) - Return ghost state if port is in standby (bnc#475816) - Switch off queue_if_no_path before removing paths (bnc#475523) - Fix leastpending loadbalancer output (bnc#444199) - Start waitevent checker on new paths (bnc#473841) - Use 'noflush' for kpartx (bnc#473352) - Display multipath output for leastpending loadbalancer properly (bnc#444199) - Set queue_if_no_path setting during map reload (bnc#472253) - Remove obsolete 'umount map' uevent handling - Retry TUR on driver errors (bnc#456961) - Copy persistent bindings file into initramfs (bnc#468804) - Invert DM_STATE check for kpartx rules (bnc#440959) - Correct dbg_malloc() definition - Fix more memory leaks - Double free on path release (bnc#458393) OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=16
2010-07-06 16:27:45 +02:00
fi
%{?regenerate_initrd_post}
exit 0
%preun
%service_del_preun multipathd.service
2015-04-22 15:52:56 +02:00
%service_del_preun multipathd.socket
%postun
%{?regenerate_initrd_post}
%service_del_postun multipathd.service
2015-04-22 15:52:56 +02:00
%service_del_postun multipathd.socket
%{run_ldconfig}
%posttrans
%{?regenerate_initrd_posttrans}
%files
%defattr(-,root,root)
%doc COPYING README
%{_udevrulesdir}/11-dm-mpath.rules
%{_udevrulesdir}/56-multipath.rules
%{_udevrulesdir}/67-kpartx-compat.rules
- Merge with fixes from mainline. - Import multipath-tools from SLES11 SP1. - Increase initial timeout for 'tur' checker (bnc#616694) - Set geometry information for multipath maps (bnc#613363) - Reset 'running' parameter for directio (bnc#600043) - Add fallback to init script for older versions (bnc#602957) - Add HP 2000 to internal hardware table (bnc#603359) - Make path state messages unique - Add 'reassign_maps' configuration parameter - Profiling fixes: * Update 'max_fds' handling * Use strcmp() instead of strcmp_chomp() * Simplify sysfs_get_device() * Remove duplicate calls to path_offline() * Simplify dm_get_name() * Fixup devt2devname() * Rework dm_reassign() - check argument length in execute_program(bnc#610914) - Do not use LOG_CONS when opening syslog (bnc#610914) - Remove pid file usage from init scripts (bnc#600412) - Fixup boot.multipath init script (bnc#600412) - Always provide symlinks for udev (bnc#603785) - Use minor number in ev_remove_map() (bnc#599770) - signal_waiter() overwrites structure (bnc#591399) - Serialize startup on large machines (bnc#598697) - Update multipath(8) manpage for '-p' (bnc#602970) - Mark 'readsector0' checker as deprecated (bnc#589340) - Errorneous message 'error starting uevent listener' - Graceful shutdown of logging thread (bnc#591399) - Missing '-p' option for mkdir in mkinitrd script (bnc#597786) - rdac message not printed correctly (bnc#598302) - Use alias when printing log messages (bnc#598302) - valgrind fixes (bnc#591399) - Use VECTOR_SIZE() defines - Update hwtable factorization - Use log_close() on shutdown - Use refcounting for checkers (bnc#591399) - More valgrind fixes - Provide correct persistent symlinks for user_friendly_names (bnc#596301) - Fixup hardware table for LSI arrays (bnc#597713) - Reassign maps during startup (bnc#586834) - Update manpage - Use mkdir -p in mkinitrd setup script (bnc#597786). - Remove 'minor' argument from add_map_without_path - Check for correct device-mapper device in uevent handler - Start uevent service handler from main thread - Do not reassign multipath maps (bnc#594341) - Protect waiter structure by mutex (bnc#581200) - Log directly to syslog on shutdown (bnc#581200) - Clear up uevent queue on shutdown - Add more IBM/FAStT arrays (bnc#578738) - Display average priority as group priority (bnc#588591) - Implement 'wait event' cli command (bnc#586834) - Reset existing maps (bnc#577894) - Setup 'checkint' when loading config file (bnc#586847) - Fix typo in persistent rules for by-label/by-uuid - Update debug string in verify_paths() - Evaluate feature setting in verify_paths() (bnc#584197) - Fixup 'async_timeout' initialization again (bnc#580413) - 'reset log' cli command crashes daemon (bnc#577889) - Initialize 'async_timeout' variable correctly (bnc#580413) - Add hardware defaults for EMC Invista (bnc#573870) - Use '--replace-whitespace' for scsi_id (bnc#572209) - Asynchronous mode for tur checker (bnc#552688) - Update queue_if_no_path after sync with kernel state (bnc#570932) - Add 'max_polling_interval' config variable (bnc#570932) - Add 'async_timeout' configuration variable (bnc#570932) - Use default scsi_id callout for EMC Symmetrix (bnc#528481) - Update path_offline() to return device status - Update filename in init script - Fixes from upstream: * do not allow 0 size for multipath devices * Add nexenta comstart hardware defaults * Add checks for conf->xxx * Add %z wildcard to display path serial * don't pretend config file has setup parameters * documentation fixes - Fixup kpartx initrd script to handle loop devices (bnc#523749) - Switch off 'queue_if_no_path' before removing maps (bnc#475523) - Update logical partition handling (bnc#551827) - Fix mkinitrd scripts for 64bit (bnc572143) - Remove logical partitions maps with 'multipath -f' - testing for existence of /lib64 is not sufficient to find out if we are building for a lib64 platform - Update dev_loss_tmo for no_path_retry (bnc#492469) - Merge in changes from OpenSUSE 11.2 - Update 'no_path_retry' correctly for failed paths (bnc#534666) - Update no_path_retry setting when evaluating features (bnc#542145) - directio: block count calculation wrong (bnc#549028) - multipath segfaults if configuration file contains errors (bnc#540118) - Fixup strip whitespaces from getuid output (bnc#542085) - Change prefix for DASD devices to 'ccw' - Update no_path_retry setting when evaluating features (bnc#542145) - Update features when queue_if_no_path is set (bnc#511607) - Ignore error messages when multipathd is not started - Add debugging output for feature changes - Add generic LSI/Engenio controller (bnc#508030) - Update 'no_path_retry' correctly for failed paths (bnc#534666) - TUR checker should not return 'failed' for reservation conflict (bnc#498413) - Check for errors in pthread_create() - Lock vectors during shutdown - Cleanup various MALLOC/REALLOC callers - Fix multipathd crash on shutdown - Do not run kpartx on dm-uevent messages (bnc#473352) - Set pthread stacksize correctly (bnc#485287) - Add STK arrays to internal hardware table (bnc#503855) - Correct persistent symlink for cciss (bnc#497997) - Backport some fixes from upstream (bnc#445023) - Add 'reset log' cli command - no_path_retry <N> causes I/O to fail (bnc#485281) - Terminate uevent service queue - Wait for daemon to shutdown (bnc#481389) - Update cli request processing - Safe memory allocation in cli_handlers - Use 'LOG_CONS' option for openlog() - Remove sysfs attribute cache - Add 'shutdown' cli command - Display FC error messages correctly - Wait for devices in init script (bnc#487586) - Always synchronize with dm state (bnc#447887) - Add 'aas' path prioritizer (bnc#472069) - Synchronize daemon startup with init file (bnc#481389) - Merge feature string in assemble_map (bnc#507793) ------------------------------------------------------------------- - Reset checker message for blocked checkers - Increase priority for EMC Clariion arrays (bnc#484529) - Start waiter threads for single paths correctly (bnc#473841) - Use pthread_sigmask in alias.c when called from daemon. - Add %pre and %post scripts to stop multipathd during update - Don't set FC parameter on non-SCSI devices - multipath -t crashes with invalid configuration file - Don't remove partition mappings on stop (bnc#468826) - Set stacksize for log thread - Terminate all I/O before flushing maps (bnc#475523) - Select 'features' keyword from multipath setting (bnc#465009) - Use lists for uevent processing (bnc#478874) - Set stacksize of uevent handling thread (bnc#478874) - Increase uevent buffer size - Strip trailing blanks from wwid - Stack overflow in uev_trigger (bnc#476540) - Fixup multibus zero path handling (bnc#476330) - Update checker handling for blocked devices - Only pass block events to multipathd - Clean up uevent processing (bnc#478874) - Set stacksize correctly for event processing thread (bnc#478874) - Remove stray umask() call (bnc#458598) - Don't call kpartx if no paths are active (bnc#473352) - Multipathd dies immediately after startup (bnc#473029) - Return ghost state if port is in standby (bnc#475816) - Switch off queue_if_no_path before removing paths (bnc#475523) - Fix leastpending loadbalancer output (bnc#444199) - Start waitevent checker on new paths (bnc#473841) - Use 'noflush' for kpartx (bnc#473352) - Display multipath output for leastpending loadbalancer properly (bnc#444199) - Set queue_if_no_path setting during map reload (bnc#472253) - Remove obsolete 'umount map' uevent handling - Retry TUR on driver errors (bnc#456961) - Copy persistent bindings file into initramfs (bnc#468804) - Invert DM_STATE check for kpartx rules (bnc#440959) - Correct dbg_malloc() definition - Fix more memory leaks - Double free on path release (bnc#458393) OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=16
2010-07-06 16:27:45 +02:00
/%{_lib}/libmultipath.so.0
/%{_lib}/libmpathcmd.so.0
/%{_lib}/libmpathpersist.so.0
/%{_lib}/multipath
/sbin/multipath
/sbin/multipathd
/sbin/mpathpersist
/usr/sbin/rcmultipathd
%attr (0700, root, root) /var/cache/multipath
%dir /%{_sysdir}/systemd/system
/%{_sysdir}/systemd/system/multipathd.service
/%{_sysdir}/systemd/system/multipathd.socket
%dir /usr/lib/modules-load.d
/usr/lib/modules-load.d/multipath.conf
%{_mandir}/man8/multipath.8*
%{_mandir}/man5/multipath.conf.5*
%{_mandir}/man8/multipathd.8*
%{_mandir}/man8/mpathpersist.8*
%files devel
%defattr(-,root,root)
/usr/include/mpath_cmd.h
/usr/include/mpath_persist.h
%{_mandir}/man3/mpath_persistent_*
%files -n kpartx
%defattr(-,root,root)
/sbin/kpartx
%{_udevrulesdir}/66-kpartx.rules
/%{_sysdir}/udev/kpartx_id
%{_mandir}/man8/kpartx.8*
%if 0%{?with_libdmmp} == 1
%post -n libdmmp%{libdmmp_version}
%{run_ldconfig}
%postun -n libdmmp%{libdmmp_version}
%{run_ldconfig}
%files -n libdmmp%{libdmmp_version}
%defattr(-,root,root)
/%{_lib}/libdmmp.so.%{_libdmmp_version}
%files -n libdmmp-devel
%defattr(-,root,root)
%{_mandir}/man3/libdmmp.h*
%{_mandir}/man3/dmmp_*
%{_includedir}/libdmmp
%{_datadir}/pkgconfig/libdmmp.pc
%endif # with_libdmmp
%changelog