device-mapper-multipath-0.4.9-70
Add 0102-RHBZ-1160478-mpathconf-template.patch * mpathconf no longer copies the default config template for the docs directory. It simply writes the template itself. Resolves: bz# 1160478
This commit is contained in:
parent
5b9502fcc7
commit
8795157d36
52
0102-RHBZ-1160478-mpathconf-template.patch
Normal file
52
0102-RHBZ-1160478-mpathconf-template.patch
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
---
|
||||||
|
multipath/mpathconf | 26 ++++++++++++++++++++------
|
||||||
|
1 file changed, 20 insertions(+), 6 deletions(-)
|
||||||
|
|
||||||
|
Index: multipath-tools-130222/multipath/mpathconf
|
||||||
|
===================================================================
|
||||||
|
--- multipath-tools-130222.orig/multipath/mpathconf
|
||||||
|
+++ multipath-tools-130222/multipath/mpathconf
|
||||||
|
@@ -19,10 +19,27 @@
|
||||||
|
|
||||||
|
unset ENABLE FIND FRIENDLY MODULE MULTIPATHD HAVE_DISABLE HAVE_FIND HAVE_BLACKLIST HAVE_DEFAULTS HAVE_FRIENDLY HAVE_MULTIPATHD HAVE_MODULE SHOW_STATUS CHANGED_CONFIG
|
||||||
|
|
||||||
|
-DEFAULT_CONFIGFILE="/usr/share/doc/device-mapper-multipath-0.4.9/multipath.conf"
|
||||||
|
+DEFAULT_CONFIG="# device-mapper-multipath configuration file
|
||||||
|
+
|
||||||
|
+# For a complete list of the default configuration values, run either:
|
||||||
|
+# # multipath -t
|
||||||
|
+# or
|
||||||
|
+# # multipathd show config
|
||||||
|
+
|
||||||
|
+# For a list of configuration options with descriptions, see the
|
||||||
|
+# multipath.conf man page.
|
||||||
|
+
|
||||||
|
+# For an example configuration file, see:
|
||||||
|
+# /user/share/doc/device-mapper-multipath/multipath.conf
|
||||||
|
+
|
||||||
|
+defaults {
|
||||||
|
+ user_friendly_names yes
|
||||||
|
+ find_multipaths yes
|
||||||
|
+}"
|
||||||
|
+
|
||||||
|
CONFIGFILE="/etc/multipath.conf"
|
||||||
|
MULTIPATHDIR="/etc/multipath"
|
||||||
|
-TMPFILE=/etc/multipath/.multipath.conf.tmp
|
||||||
|
+TMPFILE="/etc/multipath/.multipath.conf.tmp"
|
||||||
|
|
||||||
|
function usage
|
||||||
|
{
|
||||||
|
@@ -134,12 +151,9 @@ if [ ! -d "$MULTIPATHDIR" ]; then
|
||||||
|
fi
|
||||||
|
|
||||||
|
rm $TMPFILE 2> /dev/null
|
||||||
|
+echo "$DEFAULT_CONFIG" > $TMPFILE
|
||||||
|
if [ -f "$CONFIGFILE" ]; then
|
||||||
|
cp $CONFIGFILE $TMPFILE
|
||||||
|
-elif [ -f "$DEFAULT_CONFIGFILE" ]; then
|
||||||
|
- cp $DEFAULT_CONFIGFILE $TMPFILE
|
||||||
|
-else
|
||||||
|
- touch $TMPFILE
|
||||||
|
fi
|
||||||
|
|
||||||
|
if grep -q "^blacklist[[:space:]]*{" $TMPFILE ; then
|
@ -1,7 +1,7 @@
|
|||||||
Summary: Tools to manage multipath devices using device-mapper
|
Summary: Tools to manage multipath devices using device-mapper
|
||||||
Name: device-mapper-multipath
|
Name: device-mapper-multipath
|
||||||
Version: 0.4.9
|
Version: 0.4.9
|
||||||
Release: 69%{?dist}
|
Release: 70%{?dist}
|
||||||
License: GPL+
|
License: GPL+
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
URL: http://christophe.varoqui.free.fr/
|
URL: http://christophe.varoqui.free.fr/
|
||||||
@ -109,6 +109,7 @@ Patch0098: 0098-UPBZ-1067171-mutipath-i.patch
|
|||||||
Patch0099: 0099-RH-add-all-devs.patch
|
Patch0099: 0099-RH-add-all-devs.patch
|
||||||
Patch0100: 0100-RHBZ-1067171-multipath-i-update.patch
|
Patch0100: 0100-RHBZ-1067171-multipath-i-update.patch
|
||||||
Patch0101: 0101-RH-adapter-name-wildcard.patch
|
Patch0101: 0101-RH-adapter-name-wildcard.patch
|
||||||
|
Patch0102: 0102-RHBZ-1160478-mpathconf-template.patch
|
||||||
|
|
||||||
# runtime
|
# runtime
|
||||||
Requires: %{name}-libs = %{version}-%{release}
|
Requires: %{name}-libs = %{version}-%{release}
|
||||||
@ -261,6 +262,7 @@ kpartx manages partition creation and removal for device-mapper devices.
|
|||||||
%patch0099 -p1
|
%patch0099 -p1
|
||||||
%patch0100 -p1
|
%patch0100 -p1
|
||||||
%patch0101 -p1
|
%patch0101 -p1
|
||||||
|
%patch0102 -p1
|
||||||
cp %{SOURCE1} .
|
cp %{SOURCE1} .
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -359,6 +361,12 @@ bin/systemctl --no-reload enable multipathd.service >/dev/null 2>&1 ||:
|
|||||||
%{_mandir}/man8/kpartx.8.gz
|
%{_mandir}/man8/kpartx.8.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Dec 9 2014 Benjamin Marzinski <bmarzins@redhat.com> 0.4.9-70
|
||||||
|
- Add 0102-RHBZ-1160478-mpathconf-template.patch
|
||||||
|
* mpathconf no longer copies the default config template for the
|
||||||
|
docs directory. It simply writes the template itself.
|
||||||
|
- Resolves: bz# 1160478
|
||||||
|
|
||||||
* Thu Nov 13 2014 Benjmain Marzinski <bmarzins@redhat.com> 0.4.9-69
|
* Thu Nov 13 2014 Benjmain Marzinski <bmarzins@redhat.com> 0.4.9-69
|
||||||
- Rebuild
|
- Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user