I have migrated my virtual machines from one instance to the next for a long time, and what I have configured on my system is thus far away from the current defaults. This led already to issues when I had to file bugs, and especially with current SELinux policies (concerning SELinux confined user accounts), my configurations are no longer compatible and cause trouble (especially with SELinux policies in confined accounts, it is not always easy to identify the origin, its not always the VM configuration/setup itself, of something that is broken and thus identify how to mitigate).
I thus decided to delete “my” defaults, assuming the applications will create new ones that are (from today’s point of view) not customized.
I just wanted to get some review about the directories I have chosen to delete:
/var/lib/libvirt/
/etc/libvirt/
/etc/cockpit
/etc/qemu
/etc/qemu-ga/
~/.local/share/libvirt
~/.config/virt-viewer
~/.config/libvirt
/home/<cockpit user account>/
Any more directories that might be worth deleting to keep it short and simple and ensuring the outcome?
→ I aim to not delete /var/lib/libvirt/images to keep the disks of existing VMs, assuming this does not have potential for any negative impact given the mentioned goal.
I do not care if the new default is based on user sessions or system. On this machine, I just need to occasionally run VMs from inside my libvirt-group user account with GUIs. I also do not care if my virtual networks are lost.
I am aware that some of these directories are likely not related to the relevant VM configuration, but I just want to save time and delete to get defaults as easy and reliable as possible tbh, and with the highest possible chance to be compatible with each other and other parts of the system in the current condition of F42. No longer bug reports that cost my time and that of maintainers Including issues around the interfaces and so on
At the moment, it is a good time for that as this approach does not take much time, and at the moment I have no critical virtual machines or much that needs to be conserved. At the moment, I can just add the disks of VMs I retain some time later again to new machines, I do not need to conserve hardware configurations or so atm.