Re: [qubes-users] Re: Tip: Faster reboot
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 2016-12-30 10:50, Pawel Debski wrote: > W dniu piątek, 30 grudnia 2016 16:03:12 UTC+1 użytkownik Jon Solworth napisał: >> Is it possible to substitute Andrew's shutdown for the login screens >> shutdown? > > Yeah. Would be great usability improvement if we had it as default install of > Qubes. Could you, Qubes folks, please log it as "usability feature request" > for next Qubes release? > > PD > Added as a comment to the issue I reference above: https://github.com/QubesOS/qubes-issues/issues/1581#issuecomment-269873202 - -- Andrew David Wong (Axon) Community Manager, Qubes OS https://www.qubes-os.org -BEGIN PGP SIGNATURE- iQIcBAEBCgAGBQJYZ+LHAAoJENtN07w5UDAw6i8P/1uJF5f2URvwVTTOPIDRkuu6 ufoiPpdSehZ1pjpkuzK7dRrE6B5jGzRdA0nbZIFfbHxr1UPp0yaEiZh9DtOZYSFC c5SgQM23xtp8A9YvzNBwkM53k6+NWtqRBtSQftl3olPMUzQ5vpMk4u1+hs82v03V dxyWywrYlzUI7mmDVZINIchKa/cVdaOIYVLaSPJDwhQk6yv1fzUboL6OcUu5OcU0 I7AmsxuAiIBruQqTwKPdqIC4674O1IcUOr2tahp8IeqW3h35rVes2gwMuVUxXOtY QZ0j2J/xbpOQW2gFkz0KLlj6s2msZjlk2uaEMVKy+r8DsuW235+bM6FVRJuntYFO MgU2mq/Q2zVN4gW7wwSuy23+EjA1LxbxdojQCNdD+cTapy09NTGAPiLPcKDcg0uI QSv/Fwna3rGhGQOyAHnpNQyisLDwOVRYf/3DficI3EYJ+K5zxAd1YMvvrUQnWiPp 2Bc+NcJy+MGiPwgHxykx+xHq9rk603FEsGtQK0Iai2c6z+tny/g0sKdgDNBe6edl Wcs95eaXoPLym1jOJHYCgRiHTH9BJyw9Nbi5cyT1TDhlbhHT77Ed/1iJlfK4Mtxy t3Q1tyNFafN+1UxK8n+flA9UacwBP1MSpoFExu2gk/J5QHTOZgKi6p5qW9g+0Jg4 w3Zt2M4lEHlkTw/Iskhd =v5+m -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 qubes-users+unsubscr...@googlegroups.com. To post to this group, send email to qubes-users@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/133a59c3-c7ab-45a5-1102-1ecd4e1878c7%40qubes-os.org. For more options, visit https://groups.google.com/d/optout.
Re: [qubes-users] Re: Tip: Faster reboot
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 2016-12-30 03:47, Jarle Thorsen wrote: >> 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 > > I guess there is some formatting problems here? The '-' in the beginning of > all the --exclude lines should be removed I think? > Correct. Enigmail automatically inserts them. (It also automatically removes them, so if you were using Enigmail, you wouldn't see them.) - -- Andrew David Wong (Axon) Community Manager, Qubes OS https://www.qubes-os.org -BEGIN PGP SIGNATURE- iQIcBAEBCgAGBQJYZ+DQAAoJENtN07w5UDAwczAQAMJnigNypSSRznR64vBGxqhn 2cTaGf3zSMYiAQ1VfRzLYDOSJFi3CCCBOIFbopp1ughMRkLx0zEvsPD6/fY9ZhIU HzKcMiz8rqxBY7MNmNqj6ESHM8qRKdCHHbl+rJPjlNNk0lUPu0cXGI0YaSpDQQfc 6kWK+hEDzgoLrmaC/MiIyqyNZeOPl02gBQbAt1c1rzQAve9aaH573hyElS+n8ad8 fr9gVadQqrE2TyxtF6u6VSDWE6VpS3TyRaek4HIvk3sEBBUaPkSDa3E+1N5YlGp4 P+0l45DBeMeOwsGJks8BjL/uNs80HW9ioc+gmWcKWzHD/+XHTkl2g2Ul+iAGJZA6 pHV+GQlbSCcqn3p4dbwOg1dM/ztBB83N1eeJ7dUqvvaCjkJ0JYfY4WQMbw9hfcsS Wc7vXj1sepNrexEt+FwP0wNS5fHrFdmdvWEjlC/PBcd3ay7CQ5NFqYEd2TIqt9Mz 2id+qJ3Lf28ksc3Z8lV6yreRjyEPl7LDreeTjrLQzOlYxJymJ3KIHtkO1WmFbdcR YP2LZ84GIjnGIVPojKDbEZsT5+oWHAx1F805YY0yJVmqIZNQplymjFC2FF7FWcMC k+WEHdTFkKZf+A2j5GkuZ9LIKdRNkK/jkSUpn6C/pgmI2SnkcnZG1KzICjaNS8v9 hpWwwtHmVru0MtymCBm6 =IaS0 -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 qubes-users+unsubscr...@googlegroups.com. To post to this group, send email to qubes-users@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/32b4cfd0-3ce3-a5ff-29d2-7763517f3018%40qubes-os.org. For more options, visit https://groups.google.com/d/optout.
Re: [qubes-users] Re: Tip: Faster reboot
> 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 I guess there is some formatting problems here? The '-' in the beginning of all the --exclude lines should be removed I think? -- 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 qubes-users+unsubscr...@googlegroups.com. To post to this group, send email to qubes-users@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/fa458fb2-a8e3-4985-9804-4cb33fde695a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [qubes-users] Re: Tip: Faster reboot
-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 qubes-users+unsubscr...@googlegroups.com. To post to this group, send email to qubes-users@googlegroups.com. 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.