[Bug 1174820] New: Unattended WSL install hangs
http://bugzilla.opensuse.org/show_bug.cgi?id=1174820 Bug ID: 1174820 Summary: Unattended WSL install hangs Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.3 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: WSL Assignee: sle-ms@suse.de Reporter: Bjoern@Kautler.net QA Contact: qa-c@suse.de Found By: --- Blocker: --- I tried to install openSUSE 42 for WSL unattended as can be seen here: https://github.com/Vampire/setup-wsl/runs/938741277?check_suite_focus=true I tried to install like shown in the WSL-distrolauncher reference implementation at https://github.com/Microsoft/WSL-distrolauncher using `openSUSE-42.exe install --root` which works fine for Ubuntu and Debian. But when I try it with openSUSE, it just hangs and shows nothing. After 6 hours of waiting, the GitHub Actions runner aborted the try. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1174820 Björn Kautler <Bjoern@Kautler.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Unattended WSL install |Unattended WSL install not |hangs |possible -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1174820 http://bugzilla.opensuse.org/show_bug.cgi?id=1174820#c1 --- Comment #1 from Björn Kautler <Bjoern@Kautler.net> --- It seems unattended is not possible cleanly. I now tried to supply an empty stream on stdin and now I at least see `Enter new UNIX username: Invalid user name.`, so it seems the `--root` option is either ignored or not implemented properly. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1174820 http://bugzilla.opensuse.org/show_bug.cgi?id=1174820#c3 --- Comment #3 from Björn Kautler <Bjoern@Kautler.net> --- Ah sorry, I was not aware that 15 comes after 42, that feels a bit wrong. :-D I used the link on https://docs.microsoft.com/de-de/windows/wsl/install-manual which still is the version 42, and now also found https://github.com/MicrosoftDocs/WSL/issues/330 which suggest to update for 15. :-) Is there a stable link to 15? As far as I read in mentioned issue, the link in the openSUSE repository is not stable as it gets updated with new builds and old builds get deleted. This is bad for including in scripts then, that provision an openSUSE distribution. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1174820 http://bugzilla.opensuse.org/show_bug.cgi?id=1174820#c4 --- Comment #4 from Fabian Vogt <fvogt@suse.com> --- (In reply to Björn Kautler from comment #3)
Ah sorry, I was not aware that 15 comes after 42, that feels a bit wrong. :-D
I used the link on https://docs.microsoft.com/de-de/windows/wsl/install-manual which still is the version 42, and now also found https://github.com/MicrosoftDocs/WSL/issues/330 which suggest to update for 15. :-)
Is there a stable link to 15? As far as I read in mentioned issue, the link in the openSUSE repository is not stable as it gets updated with new builds and old builds get deleted. This is bad for including in scripts then, that provision an openSUSE distribution.
That's https://github.com/openSUSE/open-build-service/issues/8594. For now you'd either have to scrape the download page or use the OBS API to get the latest filename... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1174820 http://bugzilla.opensuse.org/show_bug.cgi?id=1174820#c5 Björn Kautler <Bjoern@Kautler.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WONTFIX |--- --- Comment #5 from Björn Kautler <Bjoern@Kautler.net> --- (In reply to Fabian Vogt from comment #4)
That's https://github.com/openSUSE/open-build-service/issues/8594.
Ah, thanks, probably would never have found that myself. :-D
For now you'd either have to scrape the download page or use the OBS API to get the latest filename...
As far as I have seen the OBS API needs to be called authenticated. That would be unsuitable for my use-case. But for now I now use `store.rg-adguard.net` to get the appx download link from the Microsoft Store servers and it seems to work fine as far as the download is concerned.
Please reopen if this still happens with Leap 15.2.
It does, though a bit differently: https://github.com/Vampire/setup-wsl/runs/940654945?check_suite_focus=true It now starts YaST2, but in an interactive mode. There are color codes and key bindings. And after a few seconds it hangs at `Hit next to continue` for which it waits until cancelled. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1174820 http://bugzilla.opensuse.org/show_bug.cgi?id=1174820#c6 --- Comment #6 from Björn Kautler <Bjoern@Kautler.net> --- I can work-around it by providing an empty stream as input. The output is still like it were interactive, but at least it continues to install in that case. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com