ibm-s390-linux / s390-tools

Tools for use with the s390 Linux kernel and device drivers
MIT License
63 stars 60 forks source link

Adjust zdev modprobe path to be compatible with split-usr systems. #31

Closed xnox closed 6 years ago

xnox commented 6 years ago

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).

Bug-Launchpad: https://bugs.launchpad.net/ubuntu/+source/s390-tools/+bug/1777600 Signed-off-by: Dimitri John Ledkov xnox@ubuntu.com

oberpar commented 6 years ago

Thanks for the fix proposal.

I also checked the main current non-Debian based distributions and /sbin/modprobe seems to be universally available. So this is a working approach to fix the problem.

@hoeppnerj: Can you integrated this fix?

hoeppnerj commented 6 years ago

@hoeppnerj: Can you integrated this fix?

Will do!

@xnox Thanks for the contribution!