Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Networking breaks if %TEMP% is not the default #6823

Closed
1 of 2 tasks
lcsondes opened this issue Apr 18, 2021 · 3 comments
Closed
1 of 2 tasks

Networking breaks if %TEMP% is not the default #6823

lcsondes opened this issue Apr 18, 2021 · 3 comments

Comments

@lcsondes
Copy link

Windows Build Number

Microsoft Windows [Version 10.0.19042.867]

WSL Version

  • WSL 2
  • WSL 1

Kernel Version

5.4.72-microsoft-standard-WSL2

Distro Version

Gentoo

Other Software

No response

Repro Steps

  1. Have a WSL distro with working networking (e.g., ping 1.1.1.1 works as you'd expect)
  2. Change the TEMP and TMP environment variables (in Windows) to something other than the default, preferably also on another drive like D:\Temp when WINDIR is C:\WINDOWS - it seems that the per-user ones are the ones that matter but change all 4 of them just in case
  3. Reboot
  4. Start the very same WSL distro and try step 1 again

Note that the non-default Temp folder existed and was NOT NTFS-compressed in this scenario, which is another bug that will break WSL networking.

Expected Behavior

Networking to keep working regardless of what TEMP/TMP are on the Windows side if they still point to a sensible path

Actual Behavior

Network is unreachable or Temporary failure in name resolution depending on you pinging an IP address or a domain name

Diagnostic Logs

No response

@0xbadfca11
Copy link

#5437

@benhillis
Copy link
Member

/dupe #5437

@ghost
Copy link

ghost commented Apr 19, 2021

Hi! We've identified this issue as a duplicate of another one that already exists in this repository. This specific instance is being closed in favor of tracking the concern over on the referenced thread.

Thanks for your report!

@ghost ghost closed this as completed Apr 19, 2021
@ghost ghost added the duplicate label Apr 19, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants