-
Notifications
You must be signed in to change notification settings - Fork 204
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
Login fails with "failed to get keyring" on WSL #172
Comments
Hi, caksoylar Thanks for reaching us! We will further test your scenario. And will update the thread later. Best Regards, |
Hi, @caksoylar AzCopy on Linux is using Linux embedded keyring, while we can repro your issue, that on Ubuntu 18.04 on Windows Subsystem for Linux, even with keyctl, keyring cannot be used properly, e.g.:
Would you try to use it on standard Linux distro? At same time, we'll discuss and consider to add support for Ubuntu 18.04 on Windows Subsystem for Linux. Thanks, |
Thanks for the investigation and reply @jiacfan, sorry to hear this is a shortcoming of WSL. I don't have a real Linux system to test on, but I'll try to do my work with azcopy on Windows until a solution can be found. |
Thanks for updating the info! |
I ran into a similar azcopy issue in a Docker Container. Which version of the AzCopy was used? azcopy v10.2.1 Have you found a mitigation/solution? I also needed to "yum install keyutils". |
Thanks for sharing that info @sac8m! |
Which version of the AzCopy was used?
Note: The version is visible when running AzCopy without any argument
AzCopy 10.0.5-Preview
Which platform are you using? (ex: Windows, Mac, Linux)
Ubuntu 18.04 on Windows Subsystem for Linux, Windows 10 build 18312
What command did you run?
Note: Please remove the SAS to avoid exposing your credentials. If you cannot remember the exact command, please retrieve it from the beginning of the log file.
azcopy login
What problem was encountered?
After authenticating through
https://microsoft.com/devicelogin
with the authentication code (which shows success), login fails with errorHow can we reproduce the problem in the simplest way?
Ubuntu
from Windows storehttps://aka.ms/downloadazcopy-v10-linux
and unpackazcopy login
, go through the promptsHave you found a mitigation/solution?
No, tried installing a keyring through
sudo apt install gnome-keyring
but that did not solve the problem.The text was updated successfully, but these errors were encountered: