rfjakob
rfjakob
I took a quick look earlier, looks like a blind spot in the api
Interesting. I can reproduce this. smb server ------ network --------> cifs mount -> gocryptfs reverse mount ``` $ ls -R > /dev/null ls: reading directory './exaZ9-h5hT_CuSEkijIV9g/3_uwsn7uKxiF-ppuGjslmg/z-zD5SNR2-B8XNWvWpalaykve0P_j-HfMmpW2XN22aQ': Interrupted system call ls:...
Looks like Go bug https://github.com/golang/go/issues/38836
Yes I merged the fix yesterday as https://github.com/rfjakob/gocryptfs/commit/25f1727de9e5681a5ceefe1516a5a01fa4ca624a . You can test by following the (short) instructions at https://github.com/rfjakob/gocryptfs#compile
Well, that's no good.
But I cannot reproduce this here ``` cifs.reverse/u6tT_dcDrMxxuIYe7X0XbQ/CS_zRxKJxBOoyibUU6V3xw$ find -type f|wc -l 1006 cifs.reverse/u6tT_dcDrMxxuIYe7X0XbQ/CS_zRxKJxBOoyibUU6V3xw$ find -type f|wc -l 1006 cifs.reverse/u6tT_dcDrMxxuIYe7X0XbQ/CS_zRxKJxBOoyibUU6V3xw$ find -type f|wc -l 1006 cifs.reverse/u6tT_dcDrMxxuIYe7X0XbQ/CS_zRxKJxBOoyibUU6V3xw$ find -type f|wc -l...
Got one: ``` cifs.reverse/u6tT_dcDrMxxuIYe7X0XbQ/CS_zRxKJxBOoyibUU6V3xw$ find -type f|wc -l 0 ```
Wow, looks like a kernel bug. Related: https://github.com/golang/go/issues/24015
Can confirm with latest gocryptfs / Go version: ``` $ uname -a Linux brikett 5.8.13-200.fc32.x86_64 #1 SMP Thu Oct 1 21:49:42 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux $ gocryptfs -version...
For future reference: * Bug report I posted to the linux-cifs mailing list: https://lore.kernel.org/linux-cifs/[email protected]/ * This Go ticket was the most active in debugging this problem: https://github.com/golang/go/issues/39237