https://github.com/lima-vm/sshocker hangs up when it is compiled with commit 861a8ea (Feb 22, 2021, v1.13.0) and later.
Reproduction step:
git clone https://github.com/lima-vm/sshocker.git
cd sshocker
git checkout v0.2.0
go get github.com/pkg/sftp@861a8eaf5c37b4ad5b2f1d0fc61004101bbdcb49
make
make install
mkdir /tmp/foo
sshocker -v /tmp/foo:/home/user/mnt:ro example.com df
(the remote host example.com is Ubuntu 21.04 with sshfs 2.10.0, the local host is macOS 11)
The df command executed on the remote host hangs up because statfs(2) hangs up.
This is a regression in commit 861a8ea (Feb 22, 2021, v1.13.0).
The previous commit 1d73fd9 works as expected.
https://github.com/lima-vm/sshocker hangs up when it is compiled with commit 861a8ea (Feb 22, 2021, v1.13.0) and later.
Reproduction step:
git clone https://github.com/lima-vm/sshocker.git cd sshocker git checkout v0.2.0 go get github.com/pkg/sftp@861a8eaf5c37b4ad5b2f1d0fc61004101bbdcb49 make make install mkdir /tmp/foo sshocker -v /tmp/foo:/home/user/mnt:ro example.com df(the remote host
example.comis Ubuntu 21.04 with sshfs 2.10.0, the local host is macOS 11)The
dfcommand executed on the remote host hangs up becausestatfs(2)hangs up.This is a regression in commit 861a8ea (Feb 22, 2021, v1.13.0).
The previous commit 1d73fd9 works as expected.