summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2011-06-28 17:29:49 +1000
committerMartin Schwenke <martin@meltin.net>2011-08-09 16:36:37 +1000
commit71e9016ec2c14d7c57a23d3fda457c8540beb2ee (patch)
treeab369298ee3cb9dd4998a4af84fe93ee45faa4ad
parentd81c1319e9a996f06e1105b4c8bd4d7a41dd5804 (diff)
downloadsamba-71e9016ec2c14d7c57a23d3fda457c8540beb2ee.tar.gz
samba-71e9016ec2c14d7c57a23d3fda457c8540beb2ee.tar.xz
samba-71e9016ec2c14d7c57a23d3fda457c8540beb2ee.zip
Scripts: add note about not using absolute command paths to README.
Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 87e6a4a23a6ae6c276e9628ce513663f47b4ee77)
-rw-r--r--ctdb/config/README13
1 files changed, 10 insertions, 3 deletions
diff --git a/ctdb/config/README b/ctdb/config/README
index adc26a8e86..f2457a7618 100644
--- a/ctdb/config/README
+++ b/ctdb/config/README
@@ -25,6 +25,13 @@ Selected highlights:
rpc.statd high-availability callout to support lock migration on
failover.
-Note that all of these scripts are written in POSIX Bourne shell.
-Please avoid bash-isms, including the use of "local" variables (which
-are not available in POSIX shell).
+Notes:
+
+* All of these scripts are written in POSIX Bourne shell. Please
+ avoid bash-isms, including the use of "local" variables (which are
+ not available in POSIX shell).
+
+* Do not use absolute paths for commands. Unit tests attempt to
+ replace many commands with stubs and can not do this if commands are
+ specified with absolute paths. The functions file controls $PATH so
+ absolute paths should not be required.