Open Fobhep opened 1 year ago
I ran into a similar issue when installing julie
in my WSL Ubuntu from the v4.4.1 DEB file.
After installing it, I could not open new shells, instead I had the error :
-bash: LC_IDENTIFICATION: unbound variable
Commands ran with wsl -e <cmd>
with no interactive shell still worked, so I thought there was something wrong with the startup scripts.
Uninstalling julie fixed my problem, though I don't know exactly what caused the issue.
yeah - I wonder whether we can fix this by removing the set -o nounset line from the script. I am only confused since I thought I had this working before w/o any issues :D
ok - imho this is due to https://github.com/systemd/systemd/issues/19987
I did not manage to check in the nick of time, whether that was fixed for systemd-249 already or only afterwards. I for myself have sytemd249 - @Dugong42 can you check your systemd version?
ok - wrong again.
#!/usr/bin/env bash
#set -o errexit
set -o nounset
set -o pipefail
works again if I remove the first bash-set-command. @purbon wdyt? could we make this a dirty-hot-fix to remove the bash-flags until we have a proper solution again? Keeping this way will likely break a bunch of user-sessions of people :P
Created a hotfix
I did not manage to check in the nick of time, whether that was fixed for systemd-249 already or only afterwards. I for myself have sytemd249 - @Dugong42 can you check your systemd version?
Though the installed version is 245, systemd is not enabled on my WSL. So not sure if that helps...
This is a placeholder for now - will specify further still