Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Speaking of LXD, can we talk about the mess that LXD on WSL2 is?

Ubuntu 20.04 on WSL2 doesn't use systemd which means no snapd which means no LXD.

This happens due to a series of really bad decisions by canonical and Microsoft. The biggest one being "apt install lxd" attempts to install the snap version but fails silently when snapd is missing.



Yeah canonical is not too fond of error checking. I dropped ubuntu because it was calling sysv style init scripts from systemd unit files and not checking for errors (similar to what you can see for lxc here https://github.com/lxc/lxc/blob/master/config/init/systemd/l... and https://github.com/lxc/lxc/blob/master/config/init/sysvinit/...).

So you would get everything appearing fine but when you dig down you find something is dying but because of their bad engineering choices it is incredibly difficult to figure out why.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: