Thank Stefan for taking care of it.
All my PCs are running VoidLinux so I can do some tests before
launching the command on my server.(and keep the fingers crossed)
The locations of the files are the standard ones, you have to run
every command as root or sudo-ing it.
Anyway i answered your questions inline below
stgraber Stéphane Graber Maintainer
February 19
To write the needed logic, I need to know:
On LXD
Where the LXD unix.socket is located (usually /var/lib/lxd/unix.socket)
/var/lib/lxd/unix.socket
What command to run to stop LXD and all associated services
sv stop /var/service/lxd
sv stop /var/service/lxd/log
What command to run to start LXD and all associated services
sv start /var/service/lxd
What command to run to fully purge LXD from the system
Do you mean completely remove the lxd program/package from the system?
I don’t know if Void has something such apt purge, but
xbps-remove -ROo lxd
should clean up the system (I have to check /var/cache)
The location of the data (usually /var/lib/lxd), cache (usually /var/cache/lxd) and log (usually /var/log/lxd) paths
/var/cache/lxd
/var/log/lxd
On Incus
Where the Incus unix.socket is located (usually /var/lib/incus/unix.socket)
/var/lib/incus/unix.socket
What command to run to stop LXD and all associated services
I suppose you mean Incus
sv stop /var/service/lxd
What command to run to start LXD and all associated services
sv start /var/service/lxd
The location of the data (usually /var/lib/incus), cache (usually /var/cache/incus) and log (usually /var/log/incus) paths
/var/lib/incus
/var/cache/incus
/var/log/incus
Based on that I can put together source and target logic in lxd-to-incus to properly handle Void.