mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-08 16:49:02 +03:00
[GH-ISSUE #342] Address family not supported by protocol (os error 124) #185
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @archandanime on GitHub (Jan 10, 2024).
Original GitHub issue: https://github.com/sigoden/dufs/issues/342
Log
Environment:
Binary info:
It was compiled using Github action with:
More info:
I compiled the binary statically because the camera firmware doesn't have musl library.
When running the dufs mipsel binary from my x64 laptop with
qemu-user-static, dufs successfully runs and bind to my laptop IP address. However when running dufs form my camera, it seems to be unable to figure it's IP address as shown in the above log. Using bind address (-boption) with Unix socket works:Strace log:
I can still make it work but don't know if this bug(maybe) is known, it would be nice to make a bug report.
@sigoden commented on GitHub (Jan 10, 2024):
If
--bindis omitted, dufs will bind default addresses:0.0.0.0(IPv4),::(IPv6).Your mipsel device won't support IPv6, which is why the error occurred.
Mainstream devices all support IPv6. For the few devices that do not support IPv6, one must manually specify the bind address instead of using the default bind addresses.
@archandanime commented on GitHub (Jan 10, 2024):
May I ask you more more thing?
Is there any way to run dufs in "detached" mode beside putting
&behind the command? If there is no such an option, I suggest adding it.@sigoden commented on GitHub (Jan 10, 2024):
No, please use systemd or something like that. @archandanime
@archandanime commented on GitHub (Jan 10, 2024):
Thank you for your support!
I'm closing the issue.