DamionGans / ubuntu-wsl2-systemd-script

[Does not work anymore!] Script to enable systemd support on current Ubuntu WSL2 images
1.56k stars 383 forks source link

Fixed the script by chaging installation location #46

Open Namyts opened 3 years ago

Namyts commented 3 years ago

Hi,

I'm not suggesting that you merge this change. I am creating this pull request to let you know that I managed to get the script working again by changing the install location of the enter-systemd-namespace and start-systemd-namespace files.

I put them both in /ubuntu-wsl2-systemd-script which has an added benefit of making "updates" easier (if you git clone in /, you can update it by doing a git pull)

I'd improve the solution if I had time, but I imagine you probably will find a better fix :)

Or you can just merge this and improve it after?

Good luck,

Namyts

Namyts commented 3 years ago

Ok, this doesn't fix the underlying problem that I'm now having... It gets me to the same point as before, but snap installation doesn't work as expected. Upon reboot, all the snaps are deleted from /snap. It might be unrelated, but that's a bug I am facing. Neither version is working on either latest Ubuntu or 18.04LTS

pablorq commented 3 years ago

Ok, this doesn't fix the underlying problem that I'm now having... It gets me to the same point as before, but snap installation doesn't work as expected. Upon reboot, all the snaps are deleted from /snap. It might be unrelated, but that's a bug I am facing. Neither version is working on either latest Ubuntu or 18.04LTS

Check for issue #47 and how to fix it.