On വെ, ഒക്ടോ 8 2021 at 07:53:10 വൈകു +0530
+0530, Pirate Praveen <praveen@onenetbeyond.org> wrote:
On 8 October 2021 7:11:38 am IST, Ayoyimika Ajibade
<ayoyimikaajibade@gmail.com> wrote:
Hello
While trying to setup meta script to enable further package a
Javascript
module, as i run ./setup i get this error with starting up LXC
container
https://paste.debian.net/1214649/ and when i try to run in
foreground
mode to observe the boot process i get this error
https://paste.debian.net/1214650/
Please what configuration's am i missing? and am I running Debian
on
windows WSL2 sub-system.
I don't think WSL2 supports containers. Anyone else using WSL may be
able confirm.
Looks like it does not work in current versions of WSL2
https://github.com/microsoft/WSL/issues/4158
Someone commented,
"If you have a compatible CPU, nested virtualization is now enabled
by default in recent Insider Dev builds." I don't know if there is a
way to get these builds.
Someone has a work around, you may be able to disable networking in
lxc, install privoxy and map its port inside the container
https://blog.simos.info/how-to-run-lxd-containers-in-wsl2/
Commenting out all lines with lxc.net in /etc/lxc/default.conf (also
comment out lines for apparmour) would disable the network.
You will also need to configure proxy gloablly inside the container
and not just set the variable in shell session.
echo 'Acquire::http { Proxy "http://proxy:3142"; }' | sudo tee -a
/etc/apt/apt.conf.d/proxy
Or alternatively you may be able to use docker to run autopkgtests by
modifying the setup and build scripts to use docker.
I think salsa ci use docker to run autopkgtests.