Whamcloud - gitweb
LU-11176 systemd: use univeral path for modprobe 44/32944/3
authorJames Simmons <uja.ornl@yahoo.com>
Mon, 6 Aug 2018 20:00:58 +0000 (16:00 -0400)
committerOleg Drokin <green@whamcloud.com>
Thu, 9 Aug 2018 18:20:53 +0000 (18:20 +0000)
commitaa50bf9e63ac35f13f1e170daac9ebce29d450cc
treebd7a5e272a665016b63e56de0727086e8be3cf65
parentddb3d0b61ded0b9507baa25de08a2d51af17b284
LU-11176 systemd: use univeral path for modprobe

The program modprobe is not the same on all platforms. On RHEL
systems it is located in /usr/sbin. For Ubuntu/Debian which is
busybox based /sbin/modprobe is a symlink to /bin/kmod. On all
platforms to keep some sort of standard a symlink for modprobe
exist in /sbin. Update the lnet.service script to use the hard
patch /sbin/modprobe

Test-Parameters: trivial

Change-Id: I54342971a6ee1aa4ce86a9fae0ac4dcb167b1510
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: https://review.whamcloud.com/32944
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Li Dongyang <dongyangli@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/scripts/systemd/lnet.service.in