Whamcloud - gitweb
LU-8293 lnet: Add insserv header to lnet init script 35/20835/7
authorChris Horn <hornc@cray.com>
Thu, 16 Jun 2016 17:57:37 +0000 (12:57 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Sun, 6 May 2018 03:41:02 +0000 (03:41 +0000)
The lnet init script does not contain header information as described
by the insserv man page. This header information is needed to ensure
the lnet init script is not run until openibd has been able to start

Signed-off-by: Chris Horn <hornc@cray.com>
Change-Id: I6f778e827f88ce34199dff70be5d5089f0ba51b9
Reviewed-on: https://review.whamcloud.com/20835
Tested-by: Jenkins
Reviewed-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/scripts/lnet.in

index 215b550..84540bc 100644 (file)
@@ -1,5 +1,16 @@
 #!/bin/bash
 #
+# $Id: lnet.rc bogl Exp $
+#
+### BEGIN INIT INFO
+# Provides:          lnet
+# Required-Start:    $network openibd
+# Required-Stop:     $network openibd
+# Default-Start:     3
+# Default-Stop:      0 1 2 5 6
+# Description:       Enable Lustre Networking
+### END INIT INFO
+#
 # lnet This shell script takes care of starting and stopping
 #       the lnet (Lustre networking) services.
 #