-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On 2016-12-29 13:24, Foppe de Haan wrote: > On Thursday, December 29, 2016 at 10:01:07 PM UTC+1, Jon Solworth > wrote: >> To speed up reboot from dom0 type >> >> qvm-shutdown --all --wait reboot >> >> Its much faster than a restart from the login screen >> >> Jon > > In my experience, 95% of the wait time is caused by sys-usb and > sys-net taking forever to shut down. I just kill those, then > reboot. >
(Reposting my comments on #1581 and #1826.) FWIW, I've been using simple shutdown and reboot scripts to work around this issue (I think since I first started using Qubes). Here's an example: ``` #!/bin/bash qvm-shutdown --wait --all \ - --exclude=sys-net \ - --exclude=sys-firewall \ - --exclude=sys-usb \ - --exclude=sys-whonix \ - --exclude=sys-vpn \ - --exclude=sys-etc \ qvm-shutdown --wait --all sleep 3 shutdown now ``` Works every time. The idea is to exclude all service VMs from the first pass of qvm-shutdown so that it doesn't jam up (#1826), so if you use VPN VMs, exclude those too. (This works for me even if there are more than 5 VMs still running after the first pass.) If you're really in a hurry, you can use substitute qvm-kill for sys-usb and sys-net, as Foppe suggested. - -- Andrew David Wong (Axon) Community Manager, Qubes OS https://www.qubes-os.org -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJYZd2GAAoJENtN07w5UDAwJfcP/i1Te9M0+2yHs0g2JzmpTnel xYolg5seZLIa8mVe/cgyMKh4HDpTDUzFQUAOXb74RaCNz3v0BM0RDkZWoEB+XkzY u0nGnuuJxKMaj4jQCcZGmUspG0M2aArwmedjyCuaIqcNNNiNu/O7jNcAWpplbsRi 6m2j7tjYOgVWnJBvPcpNxbmxjxyPDnGALr2NxSCvWICVCVe/vuo5NzVwJZTVxiTH F1OxRCxRyPP2RztpgCIsWdUAonnrEhEm8zcsGsZkc89y7YI91sA9R5T4LeEEU6d/ 8KnQWjG7Azx61QdSpnBPlbq61QZVA63pCSB5z2ZvkqXxCSxDdsmOZ0We1QmoKg61 FjJwwuBlvqbDrDS/LavB4/QcIF4n2TLCxlt2Eekm2mvoC/v6oIpsow9UIT4njcwF 78JsDJiVbvpBCZI6OvfH0OdD98mjgjvfkFP4Gz4eNRPc1JzHea52VeVLLQMmp5FC DuF+4+nR4MAi4tmYb9deWxQ65D8bMYb0iF0pl4/FmOqovvGdu5iTZY+XLQN4Ohl/ iQk+gJFP+XQzLjpxfUIZbfUuP/XioPCWR5Xgsjg/IiIHxd8ZfIsFp8dTp9w3lxfT V04I1Vimk1H1vqiCDCKXbjr+2C3URlPQZW8etqggF9BHAwyWz4JgdHOMj0bMCzDl /9/s7ZKkx9fzV0KsPjwq =Shf4 -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/4354e577-60f2-a545-3650-47a454295e32%40qubes-os.org. For more options, visit https://groups.google.com/d/optout.
