Skip to content
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

Default KBFS mountpoint no longer created on Gentoo. #16050

Open
jaccarmac opened this issue Feb 14, 2019 · 6 comments
Open

Default KBFS mountpoint no longer created on Gentoo. #16050

jaccarmac opened this issue Feb 14, 2019 · 6 comments

Comments

@jaccarmac
Copy link

Using Keybase on Gentoo, noticed after an update that my KBFS folder in /var/run/user/1000/keybase no longer existed. Seems to be due to a change in the run_keybase script: 3d92148#diff-47650c75f7c44ae86a5b4806e122e18eL290. $mountdir creation was removed without a new version in the added lines of that patch. Problem's easy enough to fix by changing the mountdir or creating it and restarting the service, but it seems that the removal of that line may have been mistaken? Don't see anything about it in the commit message in any case.

@heronhaye
Copy link
Contributor

Thanks for the report. kbfsfuse now attempts to create the mountdir automatically now if it doesn't exist, which is why that was removed from the script.

What's in your keybase config get -d -b mountdir and echo $XDG_RUNTIME_DIR?

Also, what is the result of

keybase version
kbfsfuse --version

@jaccarmac
Copy link
Author

jaccarmac commented Feb 14, 2019

Ah, interesting.

I've updated my mountpoint to get things to work, but it was /var/run/user/1000/keybase/kbfs when I observed the issue.

$XDG_RUNTIME_DIR is /var/run/user/1000

Keybase is 3.0.0 but kbfsfuse reports 1.0.2. On the packaging side only the keybase ebuild got updated, so that version mismatch is likely the problem. Hadn't considered it since Keybase was still talking to KBFS when the directory existed.

Ebuild versions are 3.0.0 and 2.11.0 respectively. The KBFS one seems a bit outdated, as I updated Keybase from 2.13.1.

@heronhaye
Copy link
Contributor

In January we moved KBFS into the client repository at https://github.com/keybase/client/tree/master/go/kbfs, so from glancing at https://gitweb.gentoo.org/repo/gentoo.git/diff/app-crypt/kbfs/kbfs-2.11.0.ebuild?id=7cb8d9c30a3e0746ee7f0be432b66fefada0d75d, it's possible that your build system is still using the old code at https://github.com/keybase/kbfs/. (We actually updated this repo to fail to build, but only recently).

Sorry, I messaged a few distros that were packaging Keybase to let them know of the repo move but didn't catch all of them.

@jaccarmac
Copy link
Author

Roger that. I've emailed the Gentoo maintainer, seems like a packaging issue.

@heronhaye
Copy link
Contributor

They can still be separate packages by the way - you can use keybase without kbfs if you want to package them as separate ebuilds. But if you use kbfs you need to upgrade both at the same time.

@heronhaye
Copy link
Contributor

Okay, let me know if it works after KBFS is updated to the new remote. Thanks!

@jaccarmac jaccarmac changed the title KBFS mountpoint no longer created. Default KBFS mountpoint no longer created on Gentoo. Feb 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants