keybase / keybase/client

Support multiple sessions on OS X

Open
#3,867 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
9.2k
Forks
1.3k
Avg merge
12h 58m
Merged PRs (30d)
56

Description

Same symptoms as #3576:

com.apple.xpc.launchd[1] (keybase.kbfs[9485]): Service exited with abnormal code: 2
com.apple.xpc.launchd[1] (keybase.kbfs): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.

Same reason: /keybase already exists.

Root cause: I had logged in to Keybase on another session. Even if the other session is closed, the folder is left there, and its permissions are drw------- and owner is the creator of it. I thus can't use KBFS on another session, even for the same account.

This is probably not limited to OS X, but I tested it only there. Feel free to edit the name of the issue. I can also do it if I get reports for other OS in comments.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing this report with issue #3576 and reviewing the KBFS startup behavior around an existing /keybase directory. Reproduce the failure with a second OS X session and verify that a later session can use KBFS when the directory and its restrictive ownership remain.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.