On Fri, 15 Sep 2017 at 00:57:39AM +0100, Colin Watson wrote: > A reasonable solution to this kind of thing is to set > PATH="$PATH:/sbin:/usr/sbin" to ensure that utilities there are > available.
I edited the patch and tested it. Now everywhere where I use the zpool or zfs commands I temporarily extend $PATH with PATH="$PATH:/sbin:/usr/sbin".