294
you are viewing a single comment's thread
view the rest of the comments
[-] jmanes@lemmy.world 11 points 1 year ago

I work at Oracle and leverage WSL for for some things. It works.. but I wish I could just use Linux. WSL is full of gotchas and weird bugs. Performance is not good either.

[-] DigitalBits@lemmy.fmhy.ml 3 points 1 year ago

WSL2 is essentially a VM, and doesn't seem to have any weird bugs or gotcha's anymore (at least for command line programs). I don't use it for work, but playing around with it as a hobby, it seems fairly solid.

[-] jmanes@lemmy.world 4 points 1 year ago

I use WSL2. It has bugs. DNS stops working when you connect to a VPN, which I have to do every day for all of my work. To fix that you can either modify the resolv conf (which gets wiped out on every startup) and then chattr it to prevent it from being deleted (this still didn't quite work for me). Or you can install wsl-vpnkit and pipe all of your network traffic through another container.

I have been working in docker and rancher desktop, both of which have integrations with WSL but with other caviats and bugs. I basically have a bunch of very highly specific steps written up for other employees for "how to get this working with WSL" because it is so buggy.

[-] RyeBread@feddit.de 3 points 1 year ago

I feel so vinticated reading somebody else going through the DNS hell WSL2+VPN DNS issues. It is a nightmare in professional environments and for the life of me I cannot get my resolv to stop reverting after a while. Thanks for the tip on wsl-vpnkit, much harder to convince VM teams to spin you up a remote dev environment than to just use WSL sometimes.

[-] communistcapy@lemmy.sdf.org 1 points 1 year ago* (last edited 1 year ago)

Tinkering around to get things working is a part of the authentic Linux experience. Performance is 95% to Ubuntu 20.0.4 so not sure what you mean by that. resolv.conf won't get wiped out if you put

[networking]
generateResolvConf = false

in your /etc/wsl.conf file.

A more modern solution is outlined here which you will want to adjust if you're using something other than Cisco.

[-] squaresinger@feddit.de 1 points 1 year ago

I use WSL2 a lot and it does have weird "uniquenesses".

load more comments (2 replies)
this post was submitted on 29 Jun 2023
294 points (100.0% liked)

linuxmemes

21234 readers
15 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.

  • Please report posts and comments that break these rules!

    founded 1 year ago
    MODERATORS