keybase / keybase/client

Unable to access KBFS on Linux

Open
#24,364 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
9.2k
Forks
1.3k
Avg merge
12h 58m
Merged PRs (30d)
56

Description

Hi,

my log id: b3ea3b6e8cf34f724449441c

I'm unable to perform any actions with KBFS using the `keybase` CLI on my Linux machine (openSUSE Tumbleweed)

```shell
$ keybase --version
keybase version 5.5.2
$ keybase fs ls --rec --all /keybase
▶ ERROR EOF
```

I installed `keybase-client` via my system's package manager and enabled the two following system user units. Both systemd services are enabled and seem to be working. I read in a separate story that the "failure" related to kbfs starting up is fine, but I couldn't understand why ([link](https://github.com/keybase/client/issues/18986#issuecomment-523565153))

```
$ systemctl --user status kbfs.service
● kbfs.service - Keybase Filesystem service
Loaded: loaded (/usr/lib/systemd/user/kbfs.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2020-11-11 23:11:23 CET; 4min 32s ago
Process: 13515 ExecStartPre=/bin/sh -c SERVICE=$(keybase config get -d -b mountdir); fusermount -uz "${SERVICE:-/run/user/1000/keybase/kbfs}" (code=exited, status=1/FAILURE)
Process: 13530 ExecStartPre=/bin/sh -c mkdir -p "${XDG_RUNTIME_DIR}/keybase/kbfs" (code=exited, status=0/SUCCESS)
Main PID: 13531 (kbfsfuse)
CGroup: /user.slice/user-1000.slice/user@1000.service/kbfs.service
└─13531 /usr/bin/kbfsfuse -debug -log-to-file

Nov 11 23:11:23 x1carbon systemd[1850]: Starting Keybase Filesystem service...
Nov 11 23:11:23 x1carbon systemd[1850]: Started Keybase Filesystem service.
$ systemctl --user status keybase.service
● keybase.service - Keybase core service
Loaded: loaded (/usr/lib/systemd/user/keybase.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2020-11-11 23:09:20 CET; 7min ago
Main PID: 12696 (keybase)
CGroup: /user.slice/user-1000.slice/user@1000.service/keybase.service
└─12696 /usr/bin/keybase --use-default-log-file --debug service

Nov 11 23:09:20 x1carbon systemd[1850]: Starting Keybase core service...
Nov 11 23:09:20 x1carbon systemd[1850]: Started Keybase core service.
```

I appreciate any help you can offer, and I'm happy to share anything else you might need

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing `keybase fs ls --rec --all /keybase` on openSUSE Tumbleweed and inspect the `keybase.service` and `kbfs.service` user-unit logs. Use the reported log ID and service status to identify why the CLI returns EOF; done means KBFS actions through the CLI work without that error.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.