Each time I tried to start a container I got this error from lxd
Failed closing listener connection
err="close unix /var/lib/lxd/unix.socket->@: use of closed network connection"
Do you have any clue about this ? I can’t find anything about it
Sounds like lxd is crashing, can you see if you can get a stack trace:
Debugging a stack trace:
systemctl stop snap.lxd.daemon.service snap.lxd.daemon.unix.socket
sudo lxd --debug --group lxd
To start backup normal:
systemctl start snap.lxd.daemon.unix.socket
Found why by testing it via lxc directly. Caused by the fact I forgot to mount cgroups for systemd (I use openrc system). While those errors are still popping, container is starting
Did you get a stack trace? Would be interesting to see what caused the drop in connection.