You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to mount a gocryptfs volume and the $PATH environment variable includes the mount point (or a subdirectory of it), then the gocryptfs process hangs and the mount does not complete and other processes that try to access it also hang. This can be reproduced by running the following:
If you pass the -fg flag to gocryptfs, everything works correctly. So I think this has to do with how the foreground gocryptfs process executes the background gocryptfs process; presumably it tries to find gocryptfs in $PATH which includes a yet not accessible directory. If that's the case, the foreground process should find the full path of the gocryptfs executable (i.e. of itself) and then use that instead of relying on $PATH.
Fascinating. Turns out it was the call to logger that locked everything up. logger is started after the mountpoint is attached but before the FUSE server is started - hence it hangs.
When I try to mount a
gocryptfs
volume and the$PATH
environment variable includes the mount point (or a subdirectory of it), then thegocryptfs
process hangs and the mount does not complete and other processes that try to access it also hang. This can be reproduced by running the following:gocrypfs
will remain in the foreground. Then on a different terminal run:and
ls
will also hang.The text was updated successfully, but these errors were encountered: