-
Notifications
You must be signed in to change notification settings - Fork 9.9k
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
Etcd does not run on Bash on Ubuntu on Windows #8178
Comments
This is a BashOnWindows issue: microsoft/WSL#2243 |
@RobinGeuze in the meantime just use etcd.exe from the etcd windows releases as this is an issue with how BashOnWindows emulates POSIX filesystems, not an issue with etcd. |
I actually managed to "fix" it by including the code from wal_windows.go in the wal_unix.go in case the rename fails (a retry if you will). However then I run into boltdb/bolt#702 so that joy was short lived :P |
Partially duplicates #6984. The wal package / fileutil can dynamically check if the FS permits locked directory renames then act accordingly instead of tying it to the build target OS like how it is now. |
Detecting windows at compile time isn't enough since etcd might be on linux but the fs is backed by windows. Fixes: etcd-io#8178 Fixes: etcd-io#6984
Detecting windows at compile time isn't enough since etcd might be on linux but the fs is backed by windows. Fixes: etcd-io#8178 Fixes: etcd-io#6984
Detecting windows at compile time isn't enough since etcd might be on linux but the fs is backed by windows. Fixes: etcd-io#8178 Fixes: etcd-io#6984
Detecting windows at compile time isn't enough since etcd might be on linux but the fs is backed by windows. Fixes: etcd-io#8178 Fixes: etcd-io#6984
When running etcd on Bash on Ubuntu on Windows in any form (I'm mainly trying to run the integration test, but the normal application doesn't start either), I get the following error:
I did some digging and found the following comment in etcd/wal/wal_windows.go and I suspect the same thing is valid for the filesystem in Bash on Ubuntu on Windows:
The text was updated successfully, but these errors were encountered: