-
Notifications
You must be signed in to change notification settings - Fork 269
panic: interface conversion: *fs.dirStreamAsFile is not fs.FileGetattrer: missing method Getattr #897
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Yes this is an API change in newer go-fuse.
if you use newer x/sys/unix, you will also hit
#892 .
…On Wed, 19 Feb 2025, 19:30 Felix Lechner, ***@***.***> wrote:
Hi,
Anybody ever seen this?
Gocryptfs.error.log.jpg (view on web)
<https://github.com/user-attachments/assets/b1402ea5-e775-4e10-8cb1-577fb62402c0>
In GNU Guix, the actual Go prerequisites used for building may not match
those specified. Thanks!
Kind regards,
Felix
—
Reply to this email directly, view it on GitHub
<#897>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACGA74RHNJ2I6ITOJW7H6L2QTETBAVCNFSM6AAAAABXO4IGKGVHI2DSMVQWIX3LMV43ASLTON2WKOZSHA3DIMJQHEZTMNA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
[image: lechner]*lechner* created an issue (rfjakob/gocryptfs#897)
<#897>
Hi,
Anybody ever seen this?
Gocryptfs.error.log.jpg (view on web)
<https://github.com/user-attachments/assets/b1402ea5-e775-4e10-8cb1-577fb62402c0>
In GNU Guix, the actual Go prerequisites used for building may not match
those specified. Thanks!
Kind regards,
Felix
—
Reply to this email directly, view it on GitHub
<#897>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACGA74RHNJ2I6ITOJW7H6L2QTETBAVCNFSM6AAAAABXO4IGKGVHI2DSMVQWIX3LMV43ASLTON2WKOZSHA3DIMJQHEZTMNA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
What is the best mitigation, please? Should I downgrade go-fuse? I'm currently at 2.7.2 for go-fuse. x/sys is at 0.28.0. Thanks! |
Okay, thanks! This was fixed in GNU Guix via Bug#76444. |
Yes, downgrade go-fuse. Unless you run gocryptfs as root, x/sys does not matter |
rfjakob
added a commit
that referenced
this issue
Apr 5, 2025
Essentially a port of hanwen/go-fuse@531a685 . This fixes panic: interface conversion: *fs.dirStreamAsFile is not fs.FileGetattrer: missing method Getattr goroutine 20 [running]: github.com/rfjakob/gocryptfs/v2/internal/fusefrontend.(*Node).Getattr(0x55a7ac9d9090?, {0x55a7ac85a4d8, 0xc0013401c8}, {0x55a7ac80eb40?, 0xc0013401b0}, 0xc000586938) github.com/rfjakob/gocryptfs/v2/internal/fusefrontend/node.go:74 +0x22c github.com/hanwen/go-fuse/v2/fs.(*rawBridge).getattr(0xc0000b6180, {0x55a7ac85a4d8, 0xc0013401c8}, 0xc0010ea160, {0x55a7ac80eb40?, 0xc0013401b0}, 0xc000586938) github.com/hanwen/go-fuse/[email protected]/fs/bridge.go:569 +0x9b [...] which is a bug exposed by a go-fuse update. Fixes #897
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
Anybody ever seen this?
In GNU Guix, the actual Go prerequisites used for building may not match those specified. Thanks!
Kind regards,
Felix
The text was updated successfully, but these errors were encountered: