/etc/init.d/kldutils: 21: which: not found

Laurent Bigonville <[email protected]> Thu, 8 Oct 2020 11:55:46 +0200
Newsgroups gmane.linux.debian.ports.bsd
Message-ID <[email protected]>
Hello,

I'm not sure where to report bugs for packages in unreleased, hope it's 
OK here

The kldutils initscript fails with the following error:

/etc/init.d/kldutils: 21: which: not found

This is because, the "which" executable has been moved from /bin to 
/usr/bin as part of usr-merge in the debianutils package

The PATH on the top should include /usr/bin as well but the little 
problem is that /usr is often considered as a "remote" file system and 
the module must be loaded as early as possible, so maybe the logic of 
the script should be changed?

That seems to explain why the "nullfs" module on my system was not 
loaded automatically Can someone fix this?

Kind regards,

Laurent Bigonville