kbfsfuse: refuses to mount over bcachefs

未关闭
#28,428 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
38/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
go, linux

调研方向

从 kbfsfuse 挂载路径开始,在 home 文件系统为 bcachefs 的 Linux 系统上重现该故障。将 fusermount 错误与其他文件系统类型上的成功挂载进行比较;当 kbfsfuse 挂载到 ~/Keybase 且 Keybase filestore 在那里可用时,即视为完成。

由索引模型根据 Issue 内容生成。

描述

Describe the bug

To Reproduce
Steps to reproduce the behavior:

  1. Set up a Linux system with /home on a bcachefs filesystem
  2. Run kbfsfuse ~/Keybase at the console

Expected behavior

Keybase filestore is available at ~/Keybase

Screenshots

❯ uname -a  
Linux gwydion 6.15.10-xanmod1 #1-NixOS SMP PREEMPT_DYNAMIC Tue Jan  1 00:00:00 UTC 1980 x86_64 GNU/Linux


❯ kbfsfuse ~/Keybase   
▶ INFO KBFS version 6.5.1
▶ DEBUG Connecting to socket with dialFiles=[/run/user/5001/keybase/keybased.sock], bindFiles=/run/user/5001/keybase/keybased.sock
▶ WARNING adding NotifyService protocol
▶ DEBUG + GetSocket
▶ DEBUG + GetSocket
▶ DEBUG - GetSocket -> ok [time=791ns]
▶ DEBUG - GetSocket -> ok [time=691ns]
▶ DEBUG | empty socket wrapper; need a new one
▶ DEBUG + SocketInfo#dialSocket(unix:/run/user/5001/keybase/keybased.sock)
▶ DEBUG | net.Dial(unix:/run/user/5001/keybase/keybased.sock)
▶ DEBUG - SocketInfo#dialSocket(unix:/run/user/5001/keybase/keybased.sock) -> ok [time=50.736µs]
▶ DEBUG | DialSocket -> ok
▶ DEBUG + GetSocket
▶ DEBUG - GetSocket -> ok [time=2.465µs]
▶ INFO OnConnect called with a new connection
▶ INFO authentication successful; ping interval: 30s
2025/08/28 14:28:15 mount helper error: /nix/store/k5lxhm3yqqad0kyvmnzrhci93g4qhkiy-fuse-2.9.9-bin/bin/fusermount: mounting over filesystem type 0xca451a4e is forbidden
2025/08/28 14:28:15 mount helper error: /nix/store/k5lxhm3yqqad0kyvmnzrhci93g4qhkiy-fuse-2.9.9-bin/bin/fusermount: mounting over filesystem type 0xca451a4e is forbidden
KBFS failed to FUSE mount at /home/jez/Keybase: fusermount: exit status 1
▶ DEBUG removing stale socket file: /run/user/5001/keybase/kbfsd.sock
▶ DEBUG + SocketInfo#BindToSocket(unix:/run/user/5001/keybase/kbfsd.sock)
▶ INFO | net.Listen on unix:/run/user/5001/keybase/kbfsd.sock
▶ DEBUG - SocketInfo#BindToSocket(unix:/run/user/5001/keybase/kbfsd.sock) -> ok [time=424.863µs]
▶ INFO Unmounting
▶ INFO Ignoring mount-not-found fusermount error
▶ WARNING KBFS failed to FUSE mount at /home/jez/Keybase: fusermount: exit status 1
▶ ERROR Mounting the filesystem failed: fusermount: exit status 1

Well I guess I'll put the number 345567 back in again...

主要语言
Go
星标
9.3k
派生
1.3k
平均合并
1 天 1 小时
30 天内合并 PR
102

环境准备

  • 提供 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

keybase/client 的其他 Issue

查看 keybase/client 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。