aparlak
(A P)
April 20, 2021, 7:46am
1
I have a Win7 VM in Boxes. After I upgraded to Fedora 34 everything worked like a charm, except that my VM inside Boxes refused to start. After tinkering a little bit, I tried cloning my VM. The newly created VM started successfully. I was able to use the VM for a while, then I suspended the VM and quit boxes. From than on, I cannot start Boxes at all. The Boxes window appears for a moment and then it disappears.
Any help appreciated.
Edit: I deleted the old VM immediately after seeing that the new VM was working.
alciregi
(Alessio)
April 20, 2021, 10:07am
2
What happens if you use virt-manager
?
1 Like
augenauf
(Flo)
April 20, 2021, 10:38am
3
1 Like
aparlak
(A P)
April 20, 2021, 11:24am
4
I cannot get the network to activate when importing the existing VM.
Could not start virtual network 'default': error from service: GDBus.Error:org.fedoraproject.FirewallD1.Exception: COMMAND_FAILED: 'python-nftables' failed:
Is this a sign of a problem or is it me that cannot configure the thing?
alciregi
(Alessio)
April 20, 2021, 11:27am
5
Mmm. You shouldn’t import the VM.
At least for me, the VMs I see in Boxes are the same as in virt-manager.
1 Like
aparlak
(A P)
April 20, 2021, 11:39am
7
The log goes something like this, which doesn’t help me on my own:
Apr 20 14:30:41 appc systemd[1]: Starting Hostname Service...
Apr 20 14:30:41 appc gnome-boxes[53476]: libcap-ng used by "/usr/bin/gnome-boxes" failed due to not having CAP_SETPCAP >
Apr 20 14:30:41 appc audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s>
Apr 20 14:30:41 appc systemd[1]: Started Hostname Service.
Apr 20 14:30:41 appc libvirtd[53504]: libcap-ng used by "/usr/sbin/libvirtd" failed due to not having CAP_SETPCAP in ca>
Apr 20 14:30:41 appc libvirtd[53505]: libcap-ng used by "/usr/sbin/libvirtd" failed due to not having CAP_SETPCAP in ca>
Apr 20 14:30:41 appc pool-gnome-boxe[53476]: libvirt version: 7.0.0, package: 4.fc34 (Fedora Project, 2021-02-03-20:03:>
Apr 20 14:30:41 appc pool-gnome-boxe[53476]: hostname: xxxx
Apr 20 14:30:41 appc pool-gnome-boxe[53476]: XML error: Invalid PCI address 0000:04:00.0. slot must be >= 1
Apr 20 14:30:41 appc gnome-boxes[53435]: libvirt-machine.vala:84: Failed to disable 3D Acceleration
Apr 20 14:30:41 appc pool-gnome-boxe[53476]: XML error: Invalid PCI address 0000:04:00.0. slot must be >= 1
Apr 20 14:30:41 appc gnome-boxes[53435]: libvirt-broker.vala:70: Failed to update domain 'win7-profess-2': Failed to se>
Apr 20 14:30:41 appc gnome-boxes[53435]: boxes_vm_importer_get_source_media: assertion 'self != NULL' failed
Apr 20 14:30:41 appc audit[53435]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfin>
Apr 20 14:30:41 appc kernel: gnome-boxes[53435]: segfault at 40 ip 000055608ccdb8b2 sp 00007ffd8c464100 error 4 in gnom>
Apr 20 14:30:41 appc kernel: Code: 31 ed 49 89 ac 24 c0 01 00 00 48 89 ef 49 8d 9c 24 10 03 00 00 49 89 ac 24 a0 01 00 >
Apr 20 14:30:41 appc audit: BPF prog-id=122 op=LOAD
Apr 20 14:30:41 appc audit: BPF prog-id=123 op=LOAD
Apr 20 14:30:41 appc audit: BPF prog-id=124 op=LOAD
Apr 20 14:30:41 appc systemd[1]: Started Process Core Dump (PID 53514/UID 0).
Apr 20 14:30:41 appc audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s>
Apr 20 14:30:43 appc gnome-keyring-daemon[1434]: asked to register item /org/freedesktop/secrets/collection/login/37, b>
Apr 20 14:30:43 appc systemd-coredump[53515]: [🡕] Process 53435 (gnome-boxes) of user 1000 dumped core.
Stack trace of thread 53435:
#0 0x000055608ccdb8b2 boxes_libvirt_broker_real_add_source_co.isra.0 (gn>
#1 0x00007f563364aa7a g_task_return_now (libgio-2.0.so.0 + 0xaea7a)
#2 0x00007f563364ac7b g_task_return (libgio-2.0.so.0 + 0xaec7b)
#3 0x000055608ccdab6b boxes_libvirt_broker_try_add_existing_domain_co.is>
#4 0x00007f563364aa7a g_task_return_now (libgio-2.0.so.0 + 0xaea7a)
#5 0x00007f563364ac7b g_task_return (libgio-2.0.so.0 + 0xaec7b)
#6 0x000055608cc51bed boxes_libvirt_broker_add_domain_co (gnome-boxes + >
#7 0x00007f563364aa7a g_task_return_now (libgio-2.0.so.0 + 0xaea7a)
#8 0x00007f563364aabd complete_in_idle_cb (libgio-2.0.so.0 + 0xaeabd)
aparlak
(A P)
April 20, 2021, 12:33pm
8
I was able to get virt-manager to work after
sudo dnf install @virtualization
gnome-boxes still doesn’t start
alciregi
(Alessio)
April 20, 2021, 1:09pm
9
aparlak:
virt-manager
And with virt-manager the VM works fine?
aparlak
(A P)
April 21, 2021, 5:57am
11
Apparently I replied too soon.
Every time I restart my Fedora, I have to stop firewalld, restart libvirtd, delete the network and recreate it. Then and only then it works.