fuse icon indicating copy to clipboard operation
fuse copied to clipboard

fuse.Conn.Ready closes before mount is visible in /proc/mounts

Open tv42 opened this issue 6 years ago • 1 comments

This makes tests using fstestutil.GetMountInfo racy.

$ go test ./... -test.count=100
...
--- FAIL: TestMountOptionFSNameEvilTab (0.00s)
    options_test.go:75: mount not found

I haven't yet verified whether there's some sort of a delay mechanism in kernel (either fuse or proc), or if we got Ready semantics wrong.

tv42 avatar Dec 20 '19 23:12 tv42

Workaround in place: https://github.com/bazil/fuse/commit/7084418246670b17810b8af332b63cdf13440c9b

tv42 avatar Dec 21 '19 04:12 tv42