Created attachment 144515 [details] use shebangfix for all zfs-* scripts REINPLACE_CMD fix is not applied to zfs-mon which leads to |env -i| erasing PATH that contains /usr/local/bin necessary to find the script. $ zfs-mon env: perl: No such file or directory zsh: exit 127 $ env -i perl env: perl: No such file or directory zsh: exit 127 $ env perl load: 1.81 cmd: perl 39623 [ttyin] 1.27r 0.00u 0.00s 0% 4316k ^C $ env -i sh $ echo $PATH /usr/bin:/bin $ ^D
USE_PERL should be disabled in lang/perl* in order to reproduce (see also bug 170219)
A commit references this bug: Author: wg Date: Thu Jul 31 17:31:14 UTC 2014 New revision: 363642 URL: http://svnweb.freebsd.org/changeset/ports/363642 Log: sysutils/zfs-stats: fix zfs-mon shebang PR: 191737 Submitted by: Jan Beich Approved by: maintainer (timeout) Changes: head/sysutils/zfs-stats/Makefile