From: Ira Weiny <ira.we...@intel.com> On Debian in particular it was reported that the binary was attempting to run from /sbin when it was installed to /usr/sbin. This was not seen on RHEL as RHEL defines /sbin to be a softlink to /usr/sbin.
In addition fix the /var path by using the localstatedir macro. Reported-by: Dan Ben Yosef <da...@mellanox.com> Signed-off-by: Ira Weiny <ira.we...@intel.com> --- etc/rdma-ndd.init.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/etc/rdma-ndd.init.in b/etc/rdma-ndd.init.in index 41747f2..24ce1bd 100644 --- a/etc/rdma-ndd.init.in +++ b/etc/rdma-ndd.init.in @@ -41,7 +41,9 @@ # notice, one of the license notices in the documentation # and/or other materials provided with the distribution. -pidfile=/var/run/rdma-ndd.pid +prefix=@prefix@ +exec_prefix=@exec_prefix@ +pidfile=@localstatedir@/run/rdma-ndd.pid # Source function library. if [[ -s /etc/init.d/functions ]]; then -- 1.8.2 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html