New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DispVMs not starting from AppVMs #1303

Closed
andrewdavidwong opened this Issue Oct 8, 2015 · 5 comments

Comments

Projects
None yet
2 participants
@andrewdavidwong
Member

andrewdavidwong commented Oct 8, 2015

Starting a DispVM directly (from KDE menu) works fine.

Trying to start a DispVM from another AppVM (e.g., right click file -> open in DispVM) results in a dom0 notification ("Starting new DispVM..."), but one never appears.

Already tried: checked RPC rules and regenerated DVM template.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Oct 8, 2015

Member

Check /var/log/qubes/qrexec.VMNAME.log of calling VM.

Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

Member

marmarek commented Oct 8, 2015

Check /var/log/qubes/qrexec.VMNAME.log of calling VM.

Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Oct 8, 2015

Member
Rpc allowed: untrusted dom0 qubes.NotifyUpdates
eintr
Rpc allowed: untrusted $dispvm qubes.OpenInVM
time=1444346638.28, qfile-daemon-dvm init
time=1444346638.28, creating DispVM
time=1444346638.32, collection loaded
time=1444346638.32, VM created
time=1444346639.03, VM starting
time=1444346639.03, creating config file
time=1444346639.03, getting 419430400 memory
time=1444346639.38, calling restore
time=1444346640.86, done
time=1444346640.88, done qubesdb
time=1444346640.88, resumed
time=1444346641.79, qrexec done
time=1444346642.6, guid done
Traceback (most recent call last):
  File "/usr/lib/qubes/qfile-daemon-dvm", line 182, in <module>
    main()
  File "/usr/lib/qubes/qfile-daemon-dvm", line 173, in main
    dispvm = qfile.get_dvm()
  File "/usr/lib/qubes/qfile-daemon-dvm", line 145, in get_dvm
    return self.do_get_dvm()
  File "/usr/lib/qubes/qfile-daemon-dvm", line 106, in do_get_dvm
    dispvm.netvm = vm.dispvm_netvm
  File "/usr/lib64/python2.7/site-packages/qubes/modules/000QubesVm.py", line 428, in netvm
    self._set_netvm(new_netvm)
  File "/usr/lib64/python2.7/site-packages/qubes/modules/000QubesVm.py", line 443, in _set_netvm
    self.detach_network()
  File "/usr/lib64/python2.7/site-packages/qubes/modules/000QubesVm.py", line 1651, in detach_network
    self.mac, self.netvm.name))
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1095, in detachDevice
    if ret == -1: raise libvirtError ('virDomainDetachDevice() failed', dom=self)
libvirt.libvirtError: internal error: libxenlight failed to detach network device
eintr

Member

andrewdavidwong commented Oct 8, 2015

Rpc allowed: untrusted dom0 qubes.NotifyUpdates
eintr
Rpc allowed: untrusted $dispvm qubes.OpenInVM
time=1444346638.28, qfile-daemon-dvm init
time=1444346638.28, creating DispVM
time=1444346638.32, collection loaded
time=1444346638.32, VM created
time=1444346639.03, VM starting
time=1444346639.03, creating config file
time=1444346639.03, getting 419430400 memory
time=1444346639.38, calling restore
time=1444346640.86, done
time=1444346640.88, done qubesdb
time=1444346640.88, resumed
time=1444346641.79, qrexec done
time=1444346642.6, guid done
Traceback (most recent call last):
  File "/usr/lib/qubes/qfile-daemon-dvm", line 182, in <module>
    main()
  File "/usr/lib/qubes/qfile-daemon-dvm", line 173, in main
    dispvm = qfile.get_dvm()
  File "/usr/lib/qubes/qfile-daemon-dvm", line 145, in get_dvm
    return self.do_get_dvm()
  File "/usr/lib/qubes/qfile-daemon-dvm", line 106, in do_get_dvm
    dispvm.netvm = vm.dispvm_netvm
  File "/usr/lib64/python2.7/site-packages/qubes/modules/000QubesVm.py", line 428, in netvm
    self._set_netvm(new_netvm)
  File "/usr/lib64/python2.7/site-packages/qubes/modules/000QubesVm.py", line 443, in _set_netvm
    self.detach_network()
  File "/usr/lib64/python2.7/site-packages/qubes/modules/000QubesVm.py", line 1651, in detach_network
    self.mac, self.netvm.name))
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1095, in detachDevice
    if ret == -1: raise libvirtError ('virDomainDetachDevice() failed', dom=self)
libvirt.libvirtError: internal error: libxenlight failed to detach network device
eintr

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Oct 8, 2015

Member

Ouch, #975. Try setting netvm to none on DispVM template.
But that would probably affect DispVMs started from the menu...

Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

Member

marmarek commented Oct 8, 2015

Ouch, #975. Try setting netvm to none on DispVM template.
But that would probably affect DispVMs started from the menu...

Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Oct 8, 2015

Member

Ouch, #975. Try setting netvm to none on DispVM template.

Yep, that fixed it.

But that would probably affect DispVMs started from the menu...

Yes, looks like I'll have to decide which functionality I want more for now. :)

Member

andrewdavidwong commented Oct 8, 2015

Ouch, #975. Try setting netvm to none on DispVM template.

Yep, that fixed it.

But that would probably affect DispVMs started from the menu...

Yes, looks like I'll have to decide which functionality I want more for now. :)

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Oct 10, 2015

Member

Ok, so this is (another) issue caused by #975 . I've already raised its priority.

Member

marmarek commented Oct 10, 2015

Ok, so this is (another) issue caused by #975 . I've already raised its priority.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment