client icon indicating copy to clipboard operation
client copied to clipboard

Filesystem hangs with keybase-redirector

Open MichaelBitard opened this issue 2 years ago • 10 comments

I have to kill keybase-redirector to access tools such as nautilus, df or even upload a document from firefox

I'm using fedora 38, with sway.

I launch keybase with exec run_keybase -g in my sway config

keybase version 6.2.3-20231016183016+06cb935ee3

Strange thing is, sometimes it works, sometimes it does not, I don't really know the differences, I shutdown my laptop every night.

I think when it works, the process keybase-redirector is owned by my user, and when it is broken, it is owned by root

MichaelBitard avatar Nov 23 '23 08:11 MichaelBitard

Still present with keybase 6.2.4-20240101011938+ae7e4a1c15

I don't understand why it is sometimes owned by root and sometimes by my user.

When it is owned by root It causes a lot of problems

MichaelBitard avatar Mar 06 '24 08:03 MichaelBitard

I can confirm that keybase-redirector freezes my system eventually by means of anything that triggers an lstat on the mount

universam1 avatar Mar 08 '24 08:03 universam1

Still an issue for me

GollyTicker avatar May 18 '24 08:05 GollyTicker

I installed keybase-6.2.8.20240306193933.e38523abbe-1.x86_64 on a new RHEL 9.4 (Plow) machine and found that /keybase causes things to get stuck, just like others have reported. This really needs to be fixed, it took me much too long to figure out what was happening.

ExTechOp avatar Jun 04 '24 05:06 ExTechOp

Still happens on 6.3.1.

I found when it hang keybase-redirector is always running as root. And when it works it always running as my user account. /usr/bin/keybase-redirector itself is a SUID binary, so it may switch to root when it needs. Probably sometimes something goes wrong and it both won't switch from root to normal user and hang all attempts to access /keybase/. It's hard to reproduce - I've just run run_keybase a dozen of times and it always works okay.

powerman avatar Jun 21 '24 20:06 powerman

Ubuntu 22.04 (and now 24.04)

I was frequently having this issue as well, but a specific change made this less frequent.

Specifically, I changed keybase to autostart at startup and to Auto-Login when I open the keybase window. When I now want to open the kbfs mount, I just open keybase and open the mount in the file system a few seconds after the automatic login. This works like in 95% of the cases - in contrast to around 50% of the cases like before.

Due to security issues, I didn't want auto-login at the beginning previously - but now that my situation has changed, I am okay with this.

Just as a reference for others here.

GollyTicker avatar Jun 29 '24 19:06 GollyTicker