forked from rook/rook
Trying to execute a binary from the host within the container can result in mismatched libraries. The host version is compiled with paths of libraries on the host where the libs inside the container can differ. Because the path is known and we only need to make sure whether the bin exists or not then simply doing a lookup when we fallback on /rootfs is sufficient. Closes: https://github.com/rook/rook/issues/6078 Signed-off-by: Sébastien Han <seb@redhat.com>