debcrafters-packages team mailing list archive
-
debcrafters-packages team
-
Mailing list archive
-
Message #07481
[Bug 2125011] Re: wsl-setup script hangs on WSL1 with WSL 2.6.0 and later
Originally experienced via the wsl-setup script from the package of the
same name, but fundamentally there is some compatibility issue between
bash and WSL1.
** Package changed: wsl-setup (Ubuntu) => bash (Ubuntu)
** Summary changed:
- wsl-setup script hangs on WSL1 with WSL 2.6.0 and later
+ bash read command hangs on WSL1 with WSL 2.6.0 and later
--
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to bash in Ubuntu.
https://bugs.launchpad.net/bugs/2125011
Title:
bash read command hangs on WSL1 with WSL 2.6.0 and later
Status in bash package in Ubuntu:
New
Bug description:
Tested with WSL 2.6.0 and 2.6.1, wsl-setup is not hanging in the cloud-init wait step, but rather at reading input with the command
`read -e -p "<SOME_PROMPT>" -i somevar`.
The exact same command works in Plucky, where bash version is the same (GNU bash, version 5.2.37(1)-release (x86_64-pc-linux-gnu); read is a shell builtin, not a real executable).
So, no logic error at the cloud-init step, but some unrelated regression to debug.
-- Edited from:
Tested with WSL 2.6.0 and 2.6.1, wsl-setup is hanging in the cloud-init wait step. That shouldn't be the case since the script checks if systemd is running before checking for cloud-init, so this must be a logic error.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/2125011/+subscriptions