Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 793182 - app-emulation/virt-manager[gtk]: please add dbus[X] runtime dependency
Summary: app-emulation/virt-manager[gtk]: please add dbus[X] runtime dependency
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Virtualization Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-31 09:15 UTC by Nikolay Kichukov
Modified: 2021-06-01 05:55 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolay Kichukov 2021-05-31 09:15:17 UTC
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"

in ~/.cache/virt-manager/virt-manager.log

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:

RDEPEND="
        >=dev-libs/glib-2.44.0:2
        sys-apps/dbus
"


Reproducible: Always

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
Actual Results:  
The settings of the application are not saved

Expected Results:  
The settings of the application to be saved