Bug 1377110

Summary: [gnome-boxes] failed to set post-install configuration
Product: [Fedora] Fedora Reporter: Joachim Frieben <jfrieben>
Component: gnome-boxesAssignee: Christophe Fergeau <cfergeau>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: cfergeau, fidencio, gnome-sig, marcandre.lureau, mclasen, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: gnome-boxes-3.22.2-1.fc25 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-25 09:26:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Joachim Frieben 2016-09-18 15:00:14 UTC
Description of problem:
After installing Fedora 25 in a virtual machine using the live media and launching gnome-boxes again, the new virtual machine starts up without user interaction and boots from the live media instead of from the system disk. The thumbnail of the virtual machine exhibits the subtitle "Live". It thus seems that  the install procedure has not been fully completed. When launching gnome-boxes from the command line, the following output is directed to the shell:

(gnome-boxes:2223): Gtk-WARNING **: Theme parsing error: gtk-style.css:81:18: The 'outline-radius' property has been renamed to '-gtk-outline-radius'

(gnome-boxes:2223): Gtk-WARNING **: Theme parsing error: gtk-style.css:92:18: The 'outline-radius' property has been renamed to '-gtk-outline-radius'

(gnome-boxes:2223): GVFS-RemoteVolumeMonitor-WARNING **: remote volume monitor with dbus name org.gtk.vfs.UDisks2VolumeMonitor is not supported

(gnome-boxes:2223): Boxes-WARNING **: libvirt-broker.vala:66: Failed to update domain 'boxes-unknown': Failed to set domain configuration: XML error: there is no hub at port 1 in USB address bus: 0 port: 1.1

(gnome-boxes:2223): Boxes-WARNING **: vm-creator.vala:201: Failed to set post-install configuration on 'Fedora 25': Failed to set domain configuration: XML error: there is no hub at port 1 in USB address bus: 0 port: 1.1

** (gnome-boxes:2223): WARNING **: Using a file (/usr/share/gnome-boxes/gnome-boxes-logos-db.xml) as a database location is deprecated, use a directory instead

Version-Release number of selected component (if applicable):
gnome-boxes-3.21.92-1.fc25

How reproducible:
Always

Steps to Reproduce:
1. Install Fedora 25 in a virtual machine using the live media and shut down.
2. Quit gnome-boxes.
3. Start gnome-boxes.

Actual results:
The new virtual machine starts spontaneously and is booting from the live media.

Expected results:
The new virtual machine starts upon selection by the user and is booting from the system disk.

Additional info:
- Installing Fedora 25 from the live media works as expected on a Fedora 24 host system.
- When several virtual machines have been installed using a live media, -all- virtual machines start up spontaneously within a short period of time. This also applies to guest systems such as "Linux Mint 18".
- By editing the corresponding XML configuration files, i.e. by changing the machine type from "Live" to "Installed" and the boot device from "cdrom" to "hd", normal behaviour is recovered.