[node-patches] Change in ovirt-node[master]: init: Reload multipathd during boot

fabiand at redhat.com fabiand at redhat.com
Fri May 29 13:18:12 UTC 2015


Fabian Deutsch has uploaded a new change for review.

Change subject: init: Reload multipathd during boot
......................................................................

init: Reload multipathd during boot

We need to do this, to make sure that an eventually persisted
multipath.conf is recognized by multipathd.

Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1225182
Change-Id: I1a50bb9c1342d379f7454edff952a0511b5c2802
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M scripts/ovirt-init-functions.sh.in
1 file changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/04/41604/1

diff --git a/scripts/ovirt-init-functions.sh.in b/scripts/ovirt-init-functions.sh.in
index 3a185ec..073e465 100644
--- a/scripts/ovirt-init-functions.sh.in
+++ b/scripts/ovirt-init-functions.sh.in
@@ -1401,6 +1401,9 @@
         # Create a minimalistic /etc/hosts if it's empty, rhbz#829753
         create_minimal_etc_hosts_file
 
+	# Reload multipath to pickup a persisted multipath.conf
+	service multipathd reload
+
         if [ -f /usr/lib/systemd/system/systemd-journald.service ];
         then
             # Restart jorunald to pick up /var/log/journal


-- 
To view, visit https://gerrit.ovirt.org/41604
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1a50bb9c1342d379f7454edff952a0511b5c2802
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at redhat.com>



More information about the node-patches mailing list