Change in vdsm[master]: Use absolute path of multipath.conf file, patch fix error 's...

pzhukov at redhat.com pzhukov at redhat.com
Wed Feb 20 08:46:41 UTC 2013


Pavel Zhukov has uploaded a new change for review.

Change subject: Use absolute path of multipath.conf file, patch fix error 'sudo: sorry, a password is required to run sudo' while rotating multipath.conf file.
......................................................................

Use absolute path of multipath.conf file, patch fix error
'sudo: sorry, a password is required to run sudo' while
rotating multipath.conf file.

Change-Id: Ie732400423f12b0a783bd251b4e2cc2e2409ffec
Signed-off-by: Pavel Zhukov <pzhukov at redhat.com>
---
M vdsm/sudoers.vdsm.in
1 file changed, 5 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/26/12226/1

diff --git a/vdsm/sudoers.vdsm.in b/vdsm/sudoers.vdsm.in
index 7e53ab9..b8450c6 100644
--- a/vdsm/sudoers.vdsm.in
+++ b/vdsm/sudoers.vdsm.in
@@ -31,13 +31,14 @@
     @CAT_PATH@ /etc/multipath.conf, \
     @DD_PATH@ of=/sys/class/scsi_host/host*/scan, \
     @DD_PATH@, \
-    @PERSIST_PATH@ *multipath.conf, \
+    @PERSIST_PATH@ /etc/multipath.conf, \
     @PERSIST_PATH@ /var/log/vdsm/backup/*, \
-    @UNPERSIST_PATH@ *multipath.conf, \
+    @UNPERSIST_PATH@ /etc/multipath.conf, \
     @UNPERSIST_PATH@ /var/log/vdsm/backup/*, \
-    @CP_PATH@ *multipath.conf *, \
+    @CP_PATH@ /etc/multipath.conf *, \
     @CP_PATH@ * /var/log/vdsm/backup/* *, \
-    @MULTIPATH_PATH@ *, \
+    @MULTIPATH_PATH@, \
+    @MULTIPATH_PATH@ -F, \
     @BLOCKDEV_PATH@ --getsize64 *, \
     @SETSID_PATH@ @IONICE_PATH@ -c ? -n ? @SU_PATH@ vdsm -s /bin/sh -c /usr/libexec/vdsm/spmprotect.sh*, \
     @SERVICE_PATH@ vdsmd *, \


--
To view, visit http://gerrit.ovirt.org/12226
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie732400423f12b0a783bd251b4e2cc2e2409ffec
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Pavel Zhukov <pzhukov at redhat.com>


More information about the vdsm-patches mailing list