File 0565-Document-the-restrictions-on-the-rsh-command.patch of Package erlang

From e11502856586ba5c6d1468817e43a0bfcf6c7569 Mon Sep 17 00:00:00 2001
From: Richard Carlsson <richardc@klarna.com>
Date: Tue, 17 Apr 2018 21:34:08 +0200
Subject: [PATCH 2/3] Document the restrictions on the -rsh command

---
 lib/stdlib/doc/src/slave.xml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/lib/stdlib/doc/src/slave.xml b/lib/stdlib/doc/src/slave.xml
index 88902b364a..de9ec8669b 100644
--- a/lib/stdlib/doc/src/slave.xml
+++ b/lib/stdlib/doc/src/slave.xml
@@ -56,6 +56,13 @@
     <pre>
 -rsh Program</pre>
 
+    <p>Note that the command specified with the <c>-rsh</c> flag is
+      treated as a file name which may contain spaces. It is thus not
+      possible to include any command line options. The remote node will
+      be launched as <c>"$RSH" "$REMOTE_HOSTNAME" erl -detached -noinput
+      ...</c>, so the
+      <c>erl</c> command must be found in the path on the remote host.</p>
+
     <p>The slave node is to use the same file system at the master. At
       least, Erlang/OTP is to be installed in the same place on both
       computers and the same version of Erlang is to be used.</p>
-- 
2.16.4

openSUSE Build Service is sponsored by