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

macOS Catalina fails to mount the Keybase KBFS mount #17796

Open
InternalLoss opened this issue Jun 3, 2019 · 30 comments
Open

macOS Catalina fails to mount the Keybase KBFS mount #17796

InternalLoss opened this issue Jun 3, 2019 · 30 comments
Labels

Comments

@InternalLoss
Copy link

While this is completely expected for a development beta, I wished to bring to attention that the KBFS mount point will not successfully mount on Catalina at this time.

my log id: b4fa03217e812a2c628d5a1c

@strib strib added the acked label Jun 3, 2019
@agsimeonov
Copy link

The Helper is probably 32bit which isn't supported in Catalina.

@InternalLoss
Copy link
Author

I don't get the usual "32 bit apps are no longer supported in Catalina" error, nor did I get a warning about it being 32-bit; if you have commands for me to run I can happily send their output c:

@dconroy
Copy link

dconroy commented Jun 9, 2019

Same, my log id 5b8bfad9ff4c7c70b4eca61c

@jgreever
Copy link

#17835

@ukd1
Copy link

ukd1 commented Jun 26, 2019

#18074 as well

@mitchell931993
Copy link

This is due to Catalia's read only system. When trying to manually create a folder at /keybase, terminal prompts mkdir: /keybase: Read-only file system even with sudo.

@b-
Copy link

b- commented Jun 27, 2019

This is due to Catalia's read only system. When trying to manually create a folder at /keybase, terminal prompts mkdir: /keybase: Read-only file system even with sudo.

I'm not so sure. I think I have SIP disabled, but when I did sudo mount -uw / to mount / as RW I was able to create a /keybase folder in Terminal, and Keybase made one but still won't start complaining about the same issue.

I think there's something else at hand.

@zachbr
Copy link

zachbr commented Jun 30, 2019

This appears to be because Keybase does not have a kext for 10.15 yet.

If we navigate to /Library/Filesystems/kbfuse.fs/Contents/Extensions, we can
see that the older macOS versions just use the 10.11 directory (via symlink).

If you create a similar symlink for 10.15, it works just fine.

$ cd /Library/Filesystems/kbfuse.fs/Contents/Extensions
$ sudo ln -s 10.11 10.15

This is not super thoroughly tested, there may be other changes in 10.15 that
will require a newer kext made just for it. For now though, this seems to be
working well enough for me. I can access and manipulate my files in kbfs.

@KizzyCode
Copy link

KizzyCode commented Aug 11, 2019

Just a word of warning: while the symlink seems to work, this is usually not a good idea...

The kernel-API/ABI is not stable and KEXTs may (and do!) suffer from silent corruption, e.g. if a struct gets a field removed and your KEXT misinterprets the subsequent fields (which additionally results in an OOB-r/w).
The results may be harmless (invalid timestamps etc.), but this can also affect really serious stuff like byte offsets – resulting in silent data corruption or corrupted kernel memory.

tl;dr: don't use it until you have backups of all potentially affected files (→ your entire KBFS and Mac) 😊

@arvenil
Copy link

arvenil commented Aug 21, 2019

After symlinking extension I get another error:

We were unable to load the part of Keybase that lets you access your files in your file system. You should be able to do so if you wait a few minutes and restart Keybase.

Please run keybase log send to report the error.

@KizzyCode
Copy link

I have a few questions regarding this bug:

  1. Is Keybase using osxfuse?
    1. If so, is there a possibility to use an installed version instead of the bundled version? This would fix this bug immediately and would remove the necessity for the devs to manage this dependency manually.
  2. Since Catalina will probably be out in less than a month, is there a beta version which can be tested?

@strib
Copy link
Contributor

strib commented Aug 21, 2019

Catalina support will be arriving in the next release, hopefully out next week sometime.

@strib
Copy link
Contributor

strib commented Sep 3, 2019

Keybase 4.4.0 (out today) has better file system support for Catalina now. Please let us know if you have more problems with it. Note that the /keybase mount point is no longer viable on fresh installs of Catalina due to macOS namespace restrictions, so now we mount at /Volumes/Keybase if /keybase does not already exist.

@cpressland
Copy link

cpressland commented Oct 12, 2019

After a fresh install of Catalina this pops up continuously now after trying to enable Finder integration.
Screenshot 2019-10-12 at 11 32 35

edit: Keybase version Version 4.6.0-20191010081014+134c2d892b

@uttej-zero
Copy link

We had the same issue of mkdir: /keybase: Read-only file system and we have gone through the man page and it has to do with /etc/synthetic.conf configuration file.

Try this: echo -e 'Keybase\t/Volumes/Keybase' | sudo tee -a /etc/synthetic.conf and reboot, it will work. We tested it out on Catalina 10.15.1

@alancwoo
Copy link

Similarly, I'm unable to dismiss this regardless of how many times I click 'Open Anyway'

image

Version 5.0.0-20191114182642+f73f97dac6 (5.0.0-20191114182642+f73f97dac6)
Mac OS X 10.15.1 (19B2106)

@scolby33
Copy link

scolby33 commented Dec 13, 2019

With

$ keybase version
Client:  5.1.1-20191211223249+15bbb94c23
Service: 5.1.1-20191211223249+15bbb94c23

I also have the issue with the kbfuse.fs dialog opening. Manually navigating to system preferences and clicking "Open Anyway" results in this same issue--the button clicks but no effect is observed.

@kaneplusplus
Copy link

kaneplusplus commented Dec 21, 2019

I'm having the same issue as @scolby33 with the same version of keybase on Catalina 10.15.2. The update of /etc/synthetic.conf and reboot did not help.

My log ID is f63465f55e5a7a32f5799e1c

@kaneplusplus
Copy link

Got it working using the following steps:

  1. Switch to "App Store" from "Allow apps downloaded from" in Security & Privacy. The message about kbfuse.fs should go away.
  2. Completely remove keybase including configuration files left after uninstalling.
  3. Reboot.
  4. Open and unlock Security & Privacy.
  5. Reinstall keybase.
  6. Reboot.
  7. When asked if you'd like to be able to run keybase even though it's not verified:
    • Make sure Security & Privacy is still unlocked
    • Open keybase.

It's not clear to me if it was the complete reinstall, or step 1, or both that did it. Also, note that I do not have an /etc/synthetic.conf file on my machine.

@scolby33
Copy link

Are there any updates on this? Is kaneplusplus' procedure from above the proper solution?

@TheRojam
Copy link

same problem log id: f5dfdc121a3fbaabf89d0d1c

@taylorbanks
Copy link

taylorbanks commented Mar 12, 2020

same problem log id: 0a9f84327d79562cdc0e9f1c

@kaneplusplus solution did not work for me :(

Update: added Keybase /Volumes/Keybase to /etc/synthetic.conf, rebooted, and managed to get fuse filesystem mounted, so it appears the issue was related to synthetic.conf in my case.

@mikegchambers
Copy link

Some points if you are editing /etc/synthetic.conf :

  • The file does not exist, you need to create it (the command above will do that).
  • You need to be super user to make the file.
  • The resulting file contents should look like this:
    Keybase /Volumes/Keybase
  • If you used 'sudo' to get permissions to write the file, then it probably added this to the file:
    -e Keybase\t/Volumes/Keybase
  • The easiest fix for this is probably to edit the file with:
    sudo vim /etc/synthetic.conf
    and fix it by hand.

@anubhavcodes
Copy link

anubhavcodes commented Apr 14, 2020

Same problem for me. I was running Catalina before and Keybase was already installed from my Mojave days. No problem at all. Today due to another problem I had to reinstall the os from scratch and straight installed Catalina and now struggling to install Keybase.

What I have done so far:

Created /etc/synthetic.conf and added Keybase /Volumes/Keybase but didn't seem to work.

Installed Keybase from both homebrew and official website.

here is the first error while trying to install fuse.

Screenshot 2020-04-14 at 19 23 07

Screenshot 2020-04-14 at 19 23 25

Here is the second screenshot while trying to open my files from the finder integration.

Also, this error in system preferences doesn't seem to go away. No matter what I do. I even deleted Keybase from my MacBook but still this persists. Also tried what @kaneplusplus recommended in his point one:

  1. Switch to "App Store" from "Allow apps downloaded from" in Security & Privacy. The message about kbfuse.fs should go away.

image

@Amaris7
Copy link

Amaris7 commented Apr 20, 2020

Also, this error in system preferences doesn't seem to go away. No matter what I do. I even deleted Keybase from my MacBook but still this persists. Also tried what @kaneplusplus recommended in his point one:

  1. Switch to "App Store" from "Allow apps downloaded from" in Security & Privacy. The message about kbfuse.fs should go away.
image

I had a similar problem. With my app download settings set on "App Store and and identified developers", what I did was:
brew reinstall keybase
...and this time choosing open (which I could) when the alert window from kubefuse.fs showed up, and then "allow". The installation succeeded and my mounted volume can now be opened.

In your case, choose "open anyway" and then allow if you get the question, and you'll be able to finish the install.

@mikegchambers
Copy link

Working! Thank you @Amaris7.

After much messing around I tried your 'reinstall' method and it's working.

Here's what I did:

  1. Uninstalled KeyBase

  2. Installed using brew cask reinstall keybase

  3. Answered positively to all prompts.

  4. Reinstalled using brew cask reinstall keybase

  5. Answered positively to all prompts.

  6. Tested, and file mount was working.

  7. Rebooted.

  8. Was prompted to be ok with main KeyBase application running from Internet. (OK)

  9. Still working.

  10. Rebooted again (testing)

  11. Still working.

Yay.

Thanks again @Amaris7 for the 'reinstall' trick.

@anubhavcodes
Copy link

Can confirm

brew cask reinstall keybase

worked for me too. 👍🏼

@mikegchambers
Copy link

It's broken again for me. The reinstall trick is no longer working.

@g0ddest
Copy link

g0ddest commented Jun 22, 2020

Just try to run after integration with finder this sudo xattr -rd com.apple.quarantine /Library/Filesystems/kbfuse.fs/ (maybe you need to do it with osxfuse.fs on the same path) and then restart the keybase.
It worked for me.

@miquelbrazil
Copy link

I can confirm that @mikegchambers solution is working for me after having the same kbfuse.fs issue on Catalina 10.15.5 and 10.15.6.

I should add that I installed both FUSE for OSX and Keybase via Homebrew. I installed FUSE prior to installing Keybase under the rationale that maybe Keybase would use a system installed version as opposed to attempting to install its own.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests