keybase / keybase-issues

A single repo for managing publicly recognized issues with the keybase client, installer, and website.
902 stars 37 forks source link

KBFS on macOS Catalina throws errors about missing /keybase #3614

Open lilyball opened 4 years ago

lilyball commented 4 years ago

macOS Catalina, with its brand new read-only root volume, doesn't allow for mounting arbitrary volumes at the root. This means when Keybase tries to mount the /keybase volume it ends up mounting at /Volumes/Keybase instead, and then the Keybase GUI throws errors about not finding /keybase.

This can be solved by adding a line consisting of the word keybase to /etc/synthetic.conf and then restarting the machine. That enables the ability to mount volumes at /keybase, though the requirement of a restart is unfortunate.

At the very least, Keybase should learn to detect this mounting issue on Catalina, and support the mount at /Volumes/Keybase if it can't mount at /keybase. It should ideally prompt the user if they want to enable mounting at /keybase, with a warning that it requires a reboot, and if the user agrees then prompt if they want to reboot now or later. But merely detecting the mount failure and accepting /Volumes/Keybase should be the first step.

strib commented 4 years ago

@lilyball the GUI error about /keybase is a mistake and has been fixed in master. We are already planning to add the synthetic.conf stuff to our documentation, but as you say we probably won't automate it because of the restart (and also it's a little invasive).

lilyball commented 4 years ago

The restart / being invasive is an issue, which is why I suggested asking the user if they care about it being at /keybase. The simpler thing to do would be to just show the user an informational text and link to detailed instructions on how to get it working if they so choose.