Blame SOURCES/0238-RHBZ-1508483-mpathconf-info.patch

4ae388
---
4ae388
 libmultipath/config.c |    3 ++-
4ae388
 multipath/mpathconf.8 |    8 ++++++--
4ae388
 2 files changed, 8 insertions(+), 3 deletions(-)
4ae388
4ae388
Index: multipath-tools-130222/libmultipath/config.c
4ae388
===================================================================
4ae388
--- multipath-tools-130222.orig/libmultipath/config.c
4ae388
+++ multipath-tools-130222/libmultipath/config.c
4ae388
@@ -739,7 +739,8 @@ load_config (char * file, struct udev *u
4ae388
 		condlog(0, "/etc/multipath.conf does not exist, blacklisting all devices.");
4ae388
 		condlog(0, "A default multipath.conf file is located at");
4ae388
 		condlog(0, "/usr/share/doc/device-mapper-multipath-%d.%d.%d/multipath.conf", MULTIPATH_VERSION(VERSION_CODE));
4ae388
-		condlog(0, "You can run /sbin/mpathconf to create or modify /etc/multipath.conf");
4ae388
+		condlog(0, "You can run /sbin/mpathconf --enable to create");
4ae388
+		condlog(0, "/etc/multipath.conf. See man mpathconf(8) for more details");
4ae388
 		if (conf->blist_devnode == NULL) {
4ae388
 			conf->blist_devnode = vector_alloc();
4ae388
 			if (!conf->blist_devnode) {
4ae388
Index: multipath-tools-130222/multipath/mpathconf.8
4ae388
===================================================================
4ae388
--- multipath-tools-130222.orig/multipath/mpathconf.8
4ae388
+++ multipath-tools-130222/multipath/mpathconf.8
4ae388
@@ -19,7 +19,9 @@ daemon, and configure the
4ae388
 .B multipathd
4ae388
 service to start automatically or not. If
4ae388
 .B mpathconf
4ae388
-is called with no commands, it will display the current configuration.
4ae388
+is called with no commands, it will display the current configuration, but
4ae388
+will not create or modify 
4ae388
+.B /etc/multipath.conf
4ae388
 
4ae388
 The default options for mpathconf are
4ae388
 .B --with_module
4ae388
@@ -50,7 +52,9 @@ command.
4ae388
 .B --enable
4ae388
 Removes any line that blacklists all device nodes from the
4ae388
 .B /etc/multipath.conf
4ae388
-blacklist section.
4ae388
+blacklist section. Also, creates
4ae388
+.B /etc/multipath.conf
4ae388
+if it doesn't exist.
4ae388
 .TP
4ae388
 .B --disable
4ae388
 Adds a line that blacklists all device nodes to the