If you emerge virt-manager on a system that does not run an Xorg server and virt-manager is started via x11 ssh forwarding, you may end up with a configuration where no setting changes can be saved.
It turns out that virt-manager requires dconf to write its configuration changes, however if dbus is not compiled with the X use flag, writing the configuration fails with an error:
failed to commit changes to dconf: Error spawning command line “dbus-launch --autolaunch=<some_id> --binary-syntax --close-stderr"
app-emulation/virt-manager[gtk] does not have a direct runtime dependency of dbus, however the dependency is inherited from: gnome-base/dconf, which does not seem to ask for X on sys-apps/dbus:
Steps to Reproduce:
1. Compile current stable app-emulation/virt-manager[gtk] on a system where there is no global X use flag
2. Launch virt-manager via an ssh tunnel with X11 forwarding from another system that runs Xorg server
3. Try to add a connection or make any changes via the UI, observe how they are not saved
The settings of the application are not saved
The settings of the application to be saved