Oh yeah, I hated that when systemd would kill (restart) my libvirtd daemon (and my various VMs/containers whenever I adjusted my systemd-controlled nftable.
Monolithic libvirtd (which is disabling the systemd libvirt) is the way to go.
Re:LXD is now under Canonical
by generalizations on Wednesday July 05, 2023 @11:16AM
(#36601589)
Nice, thanks. Though I was going to try using Xen on there, rather than kvm - any experience/thoughts on that?
* * *
Re:LXD is now under Canonical
by generalizations on Wednesday July 05, 2023 @08:43PM
(#36609392)
Ha, sounds good. If I remember to I'll necropost ya when I work on it. Otherwise you may see me begging for help on the alpine IRC.
The one gotcha to be aware of here is that libvirtd as of now has two ways to be operated: Either run just the monolithic libvirtd service, or individual subsystems like virtstoraged. Trying to do both at the same time will cause issues.
Due to the limitations of OpenRC compared to systemd for interdependent and interoperating system services like this, I stuck with the monolthic libvirtd approach and it's been running fine so far.
https://libvirt.org/daemons.html#architectural-options