From d4398aea897475b95e4ab18cde4a32d0d70e6973 Mon Sep 17 00:00:00 2001 From: Dimitri John Ledkov Date: Tue, 19 Jun 2018 16:09:46 +0100 Subject: [PATCH] zdev: Adjust zdev modprobe path to be compatible with split-usr systems. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit mk-pxelinux-ramfs, mod_fsstatd|procd.service, zfcpdump all use /sbin/modprobe path. Adjust zdev to use that path as well. This works universally on both usr-merge systems (e.g. Debian/Ubuntu with usrmerge package installed), and split-usr systems alike (Debian/Ubuntu current stable releases default). Closes: #31 Link: https://bugs.launchpad.net/ubuntu/+source/s390-tools/+bug/1777600 Signed-off-by: Dimitri John Ledkov Acked-by: Peter Oberparleiter Signed-off-by: Jan Höppner --- zdev/include/path.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zdev/include/path.h b/zdev/include/path.h index 5d2b8369..e889deb5 100644 --- a/zdev/include/path.h +++ b/zdev/include/path.h @@ -20,7 +20,7 @@ #define UDEV_SUFFIX ".rules" #define PATH_MODPROBE_CONF "/etc/modprobe.d" -#define PATH_MODPROBE "/usr/sbin/modprobe" +#define PATH_MODPROBE "/sbin/modprobe" #define PATH_CCW_BUS "/sys/bus/ccw" #define PATH_CCWGROUP_BUS "/sys/bus/ccwgroup" #define PATH_UDEV_RULES "/etc/udev/rules.d"