Describe the bug
When I start tmux, I receive following error:
Updated configuration for WSL2. Restart Pengwin to apply changes.
While in tmux, I can start new windows without getting that error. If I exit tmux, and start new one right away, I don't get that error.
After this, if I close whole Pengwin, and start it again, I get that same updated configuration warning. If I close Pengwin and reopen, no error anymore. Until I start tmux, then all repeat s itself.
To Reproduce
Steps to reproduce the behavior:
Start Pengwin
Start tmux -> error appears
Close tmux, close Pengwin
Start Pengwin -> error appears
Repeat from step 2.
Expected behavior
I don't expect running tmux to affect WSL2 in such way that it would require whole restart.
Additional context
I have dug this up a bit trying to figure out what causes this.
When starting Pengwin, my /etc/environment is like this:
Describe the bug When I start
tmux
, I receive following error:Updated configuration for WSL2. Restart Pengwin to apply changes.
While in tmux, I can start new windows without getting that error. If I exit tmux, and start new one right away, I don't get that error.
After this, if I close whole Pengwin, and start it again, I get that same updated configuration warning. If I close Pengwin and reopen, no error anymore. Until I start tmux, then all repeat s itself.
To Reproduce Steps to reproduce the behavior:
tmux
-> error appearsExpected behavior I don't expect running
tmux
to affect WSL2 in such way that it would require whole restart.Additional context I have dug this up a bit trying to figure out what causes this.
When starting Pengwin, my /etc/environment is like this:
After I have started tmux, /etc/environment is like this:
I think that this change happens in
/etc/profile.d/00-pengwin.sh
. I have no idea what are these Type 1, 2 and 3 WSL2's, and what causes actual change.Basic Troubleshooting Checklist
[ x] I have searched Google for the error message. [x ] I have checked official WSL troubleshooting documentation: https://docs.microsoft.com/en-us/windows/wsl/troubleshooting#confirm-wsl-is-enabled. [ x] I have searched the official Microsoft WSL issues page: https://github.com/Microsoft/WSL/issues. [x ] I have searched the Pengwin issues page: https://github.com/WhitewaterFoundry/Pengwin/issues. [ x] I have run Windows 10 updates and restarted. [x ] I have restarted WSL service:
wsl.exe --terminate WLinux
wsl.exe --shutdown
.Insert here:
Pengwin Version
Run
grep "PENGWIN_VERSION" /etc/os-release
in Pengwin.Insert here: PENGWIN_VERSION="22.1.6"
WSL general info
Run
wslsys
in Pengwin.Insert here: