You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
During the first boot you have to create the local user, if you fail the password Ex. password missmatch, the user is still created but the whole "user creation process" restart, so if you enter the same username you get an error stating th ueser already exist, if you choose another username the process continue but create a new user with UID 1001 for example.
This will create problem later on because the /etc/wsl.conf the uid 1000 is referenced in the options section and the person will probably try to use the second user because there's no password set on the first user created..
To Reproduce
Steps to reproduce the behavior:
Fresh install using the msixbundle
When prompted for a user enter user1
Write '"Passwd1" as a password and when prompted to reenter, enter "Passwd123"
See error
When the process restart enter user2 for user name
enter password and reenter password correctly this time.
continue the process untill you have the shell
type "id" to see your UID/GID
'$ cat /etc/wsl.conf'
Expected behavior
The user should not be create if the password verification fail OR we should loop in a subfunction to set password untill successfull.
Additional context
Unfortunately I cannot create another fresh fedoraremix install for some reason the msixbundle offer me to upgrade so I cannot confirm everything but this is what we just experienced. This has lead to a lot of problem for the user because he was trying to install/run wsl-vpnkit but was getting weird permission denied on wsl.exe.
We fixed this by setting a correct password on the first user, adjusting the default user in '/etc/wsl.conf' and everything worked as expected. I'm rushing this report before forgetting information I lack screenshots and other info because I can't report from my job laptop, sorry about that.
Describe the bug
During the first boot you have to create the local user, if you fail the password Ex. password missmatch, the user is still created but the whole "user creation process" restart, so if you enter the same username you get an error stating th ueser already exist, if you choose another username the process continue but create a new user with UID 1001 for example.
This will create problem later on because the /etc/wsl.conf the uid 1000 is referenced in the options section and the person will probably try to use the second user because there's no password set on the first user created..
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The user should not be create if the password verification fail OR we should loop in a subfunction to set password untill successfull.
Screenshots
The magic happen here:
https://github.com/WhitewaterFoundry/Fedora-Remix-for-WSL/blob/master/DistroLauncher/DistributionInfo.cpp#L52-L88
Additional context
Unfortunately I cannot create another fresh fedoraremix install for some reason the msixbundle offer me to upgrade so I cannot confirm everything but this is what we just experienced. This has lead to a lot of problem for the user because he was trying to install/run wsl-vpnkit but was getting weird permission denied on wsl.exe.
We fixed this by setting a correct password on the first user, adjusting the default user in '/etc/wsl.conf' and everything worked as expected. I'm rushing this report before forgetting information I lack screenshots and other info because I can't report from my job laptop, sorry about that.
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 WLinux issues page: https://github.com/WhitewaterFoundry/WLinux/issues.
[X] I have reset WLinux: Settings->Apps->Apps & features->WLinux->Advanced Options->Reset.
[X] I have disabled and re-enabled WSL in Windows Features.
[X] I have run Windows 10 updates and restarted.
What other troubleshooting have you attempted?
Insert here:
Fedora Remix for WSL Version
FEDORA_REMIX_VERSION=39.0.1
Insert here:
Windows Build
Windows V 10.0.22621 N/A build 22621
The text was updated successfully, but these errors were encountered: