-
Notifications
You must be signed in to change notification settings - Fork 136
kbfsfuse does not know how to handle missing directories during the mount stage. #1655
Comments
What confuses me is, I originally tried this some time ago when the default was |
Also the service file tries to call fusermount on the output of Instead, it relies on run_keybase to do so, even though technically run_keybase has nothing to do with kbfsfuse. IMHO, kbfsfuse should not assume it is started through any one particular method, but should do the right thing no matter how the user chooses to start it. |
@eli-schwartz this is working as intended. KBFS doesn't treat a missing dir as a failure because it is still useful for the service as a non-mounted daemon, to help power chat and git. |
Then kbfs.service should create it, perhaps. But I think it is reasonable to try to make the directory even so. The majority of applications that create files in e.g. ... Whether or not it should abort on failure to either create the directory or mount successfully, is a completely different issue entirely, and I acknowledge that kbfsfuse for chat/git is a valid use case the likes of which render my comment invalid. |
I understand your points, but that's not the way we've viewed it historically. We consider |
Well, I am sort of interested in getting these assumptions cleaned up. :) So it is worth it to me to make sure the point has been considered. An open issue means people are aware it's an issue, I just wanted to clarify why it should be kept open even if it's not a priority, rather than closed as NOTABUG. Unsure whether I'll find time to learn golang and fix this myself, I guess we'll see. Thanks for taking this into consideration anyway. |
Sure, I'm happy to leave it open, thanks for writing up all the details. cc: @oconnor663 who might also be interested. |
So, documentation seems to suggest the pull request I just created should work, though, disclaimer, I still don't actually really understand golang... The other potential improvement, I guess, is that |
For systems that run Systemd 235 or higher this could also be solved by adding |
I am having problems with this as well.. default /keybase not mounting I changed it to some ramdon user not mounting, I change it again to my user and not mounting...
why the issue after all this years now? I been using keybase with no problem until 3-4 weeks a go. |
@ReK2Fernandez we didn't change anything recently so i don't know what's going on and I don't see any fatal errors in what you posted. Please run |
@strib 2233fa3935fb303436a4461c <--- log sent.
|
That line "fusermount: entry for /home/rek2/keybase not found in /etc/mtab" is not an error, it's just the output of an attempted unmount that isn't necessary in this case. Please don't read it as an error. I don't see anything wrong in your logs either. What is your symptom you're having with the mountpoint at |
Also, what is the output of |
hmm the symptons is that before I used to cd to the directory and if it was a new install or I changed I will only have to do once cd private and it will get the whole thing public, teams, private now it does not get anything empty. NEVERMIND now is working.. O_o
maybe I just needed to wait more or something ... |
Move creation logic out of kbfsfuse/main. See - keybase/kbfs#1669 - keybase/kbfs#1655
Move creation logic out of kbfsfuse/main. See - keybase/kbfs#1669 - keybase/kbfs#1655
Move creation logic out of kbfsfuse/main. See - keybase/kbfs#1669 - keybase/kbfs#1655
Move creation logic out of kbfsfuse/main. See - keybase/kbfs#1669 - keybase/kbfs#1655
Move creation logic out of kbfsfuse/main. See - keybase/kbfs#1669 - keybase/kbfs#1655
Move creation logic out of kbfsfuse/main. See - keybase/kbfs#1669 - keybase/kbfs#1655
Move creation logic out of kbfsfuse/main. See - keybase/kbfs#1669 - keybase/kbfs#1655
Move creation logic out of kbfsfuse/main. See - keybase/kbfs#1669 - keybase/kbfs#1655
Move creation logic out of kbfsfuse/main. See - keybase/kbfs#1669 - keybase/kbfs#1655
Move creation logic out of kbfsfuse/main. See - keybase/kbfs#1669 - keybase/kbfs#1655
Move creation logic out of kbfsfuse/main. See - keybase/kbfs#1669 - keybase/kbfs#1655
Move creation logic out of kbfsfuse/main. See - keybase/kbfs#1669 - keybase/kbfs#1655
Move creation logic out of kbfsfuse/main. See - keybase/kbfs#1669 - keybase/kbfs#1655
Move creation logic out of kbfsfuse/main. See - keybase/kbfs#1669 - keybase/kbfs#1655
Move creation logic out of kbfsfuse/main. See - keybase/kbfs#1669 - keybase/kbfs#1655
Move creation logic out of kbfsfuse/main. See - keybase/kbfs#1669 - keybase/kbfs#1655
Move creation logic out of kbfsfuse/main. See - keybase/kbfs#1669 - keybase/kbfs#1655
Move creation logic out of kbfsfuse/main. See - keybase/kbfs#1669 - keybase/kbfs#1655
Move creation logic out of kbfsfuse/main. See - keybase/kbfs#1669 - keybase/kbfs#1655
I was having the same problem and the following solved it: keybase config set mountdir ~/.local/share/keybase/fs
systemctl restart --user kbfs |
Move creation logic out of kbfsfuse/main. See - keybase/kbfs#1669 - keybase/kbfs#1655
Move creation logic out of kbfsfuse/main. See - keybase/kbfs#1669 - keybase/kbfs#1655
Move creation logic out of kbfsfuse/main. See - keybase/kbfs#1669 - keybase/kbfs#1655
Move creation logic out of kbfsfuse/main. See - keybase/kbfs#1669 - keybase/kbfs#1655
The default Linux mountdir is currently
/run/user/$UID/keybase/kbfs
, which does not exist by default and causes kbfs to fail to mount if it doesn't exist. kbfs should try to create it, rather than logging the errorInterestingly, it doesn't actually consider this a failure state -- kbfsfuse continues to run, rather that exiting with a non-zero return code.
The text was updated successfully, but these errors were encountered: