xl destroy vm-name/ID-number fails

30 views
Skip to first unread message

axtpq4+b7c...@guerrillamail.com

unread,
Mar 18, 2018, 3:20:33 PM3/18/18
to qubes...@googlegroups.com
Hi,
there are some issues regarding the war the qubes-manager and the xl command line handles execution of arguments.


xl destroy ID fails and leaves the terminated machine hanging in an intermediate state that prevents restart of the vm (with or without sudo).
Qubes needs to be re-booted in order to restart the vm


@dom0 ~]$ xl destroy 5
libxl: cannot execute /etc/xen/scripts/block-snapshot: Permission denied
libxl: cannot execute /etc/xen/scripts/block: Permission denied
libxl: cannot execute /etc/xen/scripts/block: Permission denied
libxl: cannot execute /etc/xen/scripts/block: Permission denied
libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: /etc/xen/scripts/block-snapshot remove [8317] exited with error status 255
libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: /etc/xen/scripts/block remove [8319] exited with error status 255
libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: /etc/xen/scripts/block remove [8321] exited with error status 255
libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: /etc/xen/scripts/block remove [8323] exited with error status 255

... why ?? ...thx!

----
Sent using Guerrillamail.com
Block or report abuse: https://www.guerrillamail.com//abuse/?a=UFR2AB5NR7EDjQKU93EQdRjCStifx8dDiadNcQ%3D%3D


Marek Marczykowski-Górecki

unread,
Mar 18, 2018, 3:21:51 PM3/18/18
to axtpq4+b7c...@guerrillamail.com, qubes...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Sun, Mar 18, 2018 at 07:17:05PM +0000, axtpq4+b7cb093yafps8 via qubes-devel wrote:
> Hi,
> there are some issues regarding the war the qubes-manager and the xl command line handles execution of arguments.
>
>
> xl destroy ID fails and leaves the terminated machine hanging in an intermediate state that prevents restart of the vm (with or without sudo).
> Qubes needs to be re-booted in order to restart the vm
>
>
> @dom0 ~]$ xl destroy 5
> libxl: cannot execute /etc/xen/scripts/block-snapshot: Permission denied
> libxl: cannot execute /etc/xen/scripts/block: Permission denied
> libxl: cannot execute /etc/xen/scripts/block: Permission denied
> libxl: cannot execute /etc/xen/scripts/block: Permission denied
> libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: /etc/xen/scripts/block-snapshot remove [8317] exited with error status 255
> libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: /etc/xen/scripts/block remove [8319] exited with error status 255
> libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: /etc/xen/scripts/block remove [8321] exited with error status 255
> libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: /etc/xen/scripts/block remove [8323] exited with error status 255
>
> ... why ?? ...thx!

1. You should use virsh destroy instead.
2. Even if you must use xl for some reason, this tool needs to be called
as root.

- --
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?
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEhrpukzGPukRmQqkK24/THMrX1ywFAlqoQ0kACgkQ24/THMrX
1ywQJAf/dgpMtc94XcPsqr7vn7jNDs9XiThvtb5P05fN/JMvhQt0Kz8JmzhQCYxv
SzL+pF2kYSb5a7lslMeBotPEaETtU3knvuE8TWQs1tkv0w9rkWq7suUmVX7eNIG/
6qmluwJQ7bG4RtL7ooURwrTbHjBZ9wH0ZkKkHrq15zQH+mkto2QezL8aqGSIlips
OWY/haz8m5jUZKygGBhHYm5mBmAnir7f+qN7vPz94J2aKtsJ5ILRZ920paf3vBzH
dAl3TgtzzPXk89Ont0xbheoObOkBnNjde+7XhonoqC4nOrsxnpSfzHOI5Pzmeu9+
+W5mRiOUy4srE32CPosQuXSNct4Now==
=SAK5
-----END PGP SIGNATURE-----
Reply all
Reply to author
Forward
0 new messages