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

Network is down if swap file cannot be created on WSL2 startup #6355

Closed
Konstantin-Glukhov opened this issue Dec 20, 2020 · 3 comments
Closed

Comments

@Konstantin-Glukhov
Copy link

Environment

Microsoft Windows [Version 10.0.19042.685]
Linux version 4.19.128-microsoft-standard (oe-user@oe-host) (gcc version 8.2.0 (GCC)) #1 SMP Tue Jun 23 12:58:10 UTC 2020

Steps to reproduce

wsl --shutdown
rmdir $env:USERPROFILE\AppData\Local\Temp
start wsl2
ip link
lo: mtu 65536 qdisc noop state DOWN mode DEFAULT group default qlen 1000
eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
wsl --shutdown
mkdir $env:USERPROFILE\AppData\Local\Temp
start wsl2
lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000

Expected behavior

Networking should be available regardless of swap space configuration,
or dmesg should be clearly stating that "Cannot start networking because could not configure swap space"

Actual behavior

Networking is down if swap space is not configured

@0xbadfca11
Copy link

#5437

@therealkenc
Copy link
Collaborator

/dupe #5437

@ghost
Copy link

ghost commented Dec 21, 2020

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 Dec 21, 2020
@ghost ghost added the duplicate label Dec 21, 2020
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