-
Notifications
You must be signed in to change notification settings - Fork 2.1k
fstatat errors printed to console when entering input #9550
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
Comments
Is ~/gdrive in your $CDPATH or your $PATH?
If it is in your $PATH or $CDPATH, then accessing it is in fact necessary.
The error spew shouldn't happen, sure. But this filesystem is also broken - ENODEV is not documented to be returned for fstatat. So, because this error isn't expected, we can't really explain it any better other than just show the standard error message. I'm gonna silence this and send you on your way. |
@faho ~/gdrive is not in $PATH or $CDPATH, nor the fish config:
|
In that case I'm assuming autosuggestion thought it was a cromulent path. In any case the error should be silent now. |
ty! |
environment info:
$ fish --version
fish, version 3.6.0
$ echo $version
3.6.0
$ uname -a
Linux framework 5.15.79.1-microsoft-standard-WSL2 #1 SMP Wed Nov 23 01:01:46 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
The problem occurs when running under "sh -c 'env HOME=$(mktemp -d) fish'", as well as "env -i fish --login --no-config"
details
When entering a command in fish, I'll see error output on each keypress like the following:
This starts after a few keypresses, and ends after I've typed something that is found in the PATH. strace tells me that the failing call is:
~/gdrive is a symlink to a mounted but somehow messed up mount point, using the WSL drvfs filesystem that gives access to Windows drives into WSL. This is specifically a Google Drive virtual drive:
If I delete the symlink, or re-mount the bad mountpoint the errors stop.
what should happen instead?
I'm not sure why ~/gdrive is being accessed at all, since it's not mentioned in my fish config or environment. So two suggestions:
The text was updated successfully, but these errors were encountered: