Re: [qubes-users] Template updates: "cannot execute qrexec-deamon" for sys-net - Documentation improvement/addition (or just link update?)

2016-12-26 Thread Andrew David Wong
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 2016-12-25 13:28, @LeeteqXV (Twitter) wrote:
> For the record; my shift from Fedora-23 to Fedora-24 went
> painlessly/successfully, thanks to the existing, good documentation.
> 
> Only thing I had to figure out logically (by experience, luckily, or I
> would have started wasting time unnecessarily) was that I should try to
> reboot when sys-* failed to start afterwards, which then worked, and all
> was fine.
> 
> *Suggested documentation addition:**
> *
> 
> So I think the main docs page should have a top-level link both in the
> "Upgrade guides" section to "updating template association for
> sys-net/sys-firewall" and also from the existing Fedora 23-to-24 doc
> page, especially for some time now that Fedora-23 is EoL/End-of-Life. As
> this is not specific to any particular version number, it should be easy
> to find regardless of which upgrade one is performing, therefore I think
> it should have its own page and be linked from the Upgrades section.
> 
> In particular, it should be easy to spot the information about the need
> to reboot the computer immediately after changing the template
> association for sys-firewall and sys-net, as that is not entirely
> obvious for everyone.
> 
> The existing page does not mention sys-firewall/sys-net , neither does
> it link to any other page that deals with that:
> 
> https://www.qubes-os.org/doc/template/fedora/upgrade-23-to-24/
> 
> And, if someone is coming to those pages AFTER having bravely tried to
> update the system without searching (sufficiently?) through all the docs
> (...), they just might be searching for this error message: "cannot
> execute qrexec-deamon", which also should offer a hit to this suggested
> new page among the top search results...
> 
> (I seached briefly myself, but did not find a page describing this
> template switch for sys-net/sys-firewall .)
> 
> In case there is such a page that I did not find, here is some info that
> it 'should' include:
> 
> 
> *Doc text suggestion:*
> 
> Disable both sys-firewall and sys-net so that only dom0 is running, then
> change the template association to the new template in each one's VM
> settings. Restart the computer.
> 
> PS. If you do not restart the computer right afterwards, but instead try
> to start either one of them, you may get this error:
> 
> "Error starting VM 'sys-firewall'" / "Error starting VM 'sys-net'":
> "cannot execute qrexec-deamon"
> 
> (This may also be the error you get if running the commands 'qvm-start
> sys-firewall' / 'qvm-start sys-net' in this scenario)
> 
> 
> 
> Happy xmas everyone :-)
> 
> @LeeteqXV
> 

Are you certain that this isn't just a bug (perhaps an uncommon one)? If
it's a bug and not intended design, we should file a bug report rather
than (just) documenting the workaround. I don't recall having to reboot
the host machine after changing the TemplateVM on which sys-net and/or
sys-firewall is based, even as part of upgrading a TemplateVM from
Fedora 23 to Fedora 24. The qrexec error is a common error message,
often caused by a lack of memory, but for other reasons, too.

In particular, it sounds a lot like this issue (which we can potentially
reopen):

https://github.com/QubesOS/qubes-issues/issues/1724

- -- 
Andrew David Wong (Axon)
Community Manager, Qubes OS
https://www.qubes-os.org
-BEGIN PGP SIGNATURE-

iQIcBAEBCgAGBQJYYbHCAAoJENtN07w5UDAwT1UP/2lBJ46cTSHPjeLAgGQlux19
fNKPttHg8q50jSTMpo+sVNP0fDC9GZq2UWHOk77m+LOT/PSmutUj1LbxcD9uufQq
NXFACriFd9rIXxzjJEij1iKrbYWr9L8wVyQcWOuqkxS9vdpncGHnOOI2QkzdJnvQ
CeoIyd2KbfvPsluMUcWjYpUXC8w9l+JX3awiuyFDfXD/eSGHKd1JFoAjgKwoDUGX
AHLapgK4lsY8dx2moKvqbC7VDvJpetEgzcEeuOm7TcTg+3wlT4EkStbgiB2furCt
wklcTcMT/p71rjMVvDFjmR7F9PL16IgR/mDQR7uGQu254TdNaeBwd9YXDyO1d4c1
9ihhFB4kXWBKuAMNjDD2wDL6ygbU81G8lTxhKJLguD2zitTRnLckN58RDLSwtSte
UnWHkd/klYwlEoy6UMeEN7Scv4g85wrn3BB1Mo7a2V2YN7LOaa4d5vav3N4Q7WHt
yW+oy/rhsQYXYQYIh74X8V6SC3huV+55+ZF8X7zh/Fgf4AKiYiWa6uooOOhiuycQ
rNJwoFOppoPM01Tz497n9aw8YvMbW9IQ8a0mBhquZEtvovr5G0TZd8CgQNRuwApK
g/d83k1KaNYqpnZo+wTYVgF7p8j7VMoYhZei3lJNluD66HQTCwcMM0iroEb4rgpC
vRWOeSdvlXaTwBukWM59
=ATQT
-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/6b3271a3-54d8-607d-caad-8f4632578b62%40qubes-os.org.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] Template updates: "cannot execute qrexec-deamon" for sys-net - Documentation improvement/addition (or just link update?)

2016-12-25 Thread @LeeteqXV (Twitter)
For the record; my shift from Fedora-23 to Fedora-24 went 
painlessly/successfully, thanks to the existing, good documentation.


Only thing I had to figure out logically (by experience, luckily, or I 
would have started wasting time unnecessarily) was that I should try to 
reboot when sys-* failed to start afterwards, which then worked, and all 
was fine.


*Suggested documentation addition:**
*

So I think the main docs page should have a top-level link both in the 
"Upgrade guides" section to "updating template association for 
sys-net/sys-firewall" and also from the existing Fedora 23-to-24 doc 
page, especially for some time now that Fedora-23 is EoL/End-of-Life. As 
this is not specific to any particular version number, it should be easy 
to find regardless of which upgrade one is performing, therefore I think 
it should have its own page and be linked from the Upgrades section.


In particular, it should be easy to spot the information about the need 
to reboot the computer immediately after changing the template 
association for sys-firewall and sys-net, as that is not entirely 
obvious for everyone.


The existing page does not mention sys-firewall/sys-net , neither does 
it link to any other page that deals with that:


https://www.qubes-os.org/doc/template/fedora/upgrade-23-to-24/

And, if someone is coming to those pages AFTER having bravely tried to 
update the system without searching (sufficiently?) through all the docs 
(...), they just might be searching for this error message: "cannot 
execute qrexec-deamon", which also should offer a hit to this suggested 
new page among the top search results...


(I seached briefly myself, but did not find a page describing this 
template switch for sys-net/sys-firewall .)


In case there is such a page that I did not find, here is some info that 
it 'should' include:



*Doc text suggestion:*

Disable both sys-firewall and sys-net so that only dom0 is running, then 
change the template association to the new template in each one's VM 
settings. Restart the computer.


PS. If you do not restart the computer right afterwards, but instead try 
to start either one of them, you may get this error:


"Error starting VM 'sys-firewall'" / "Error starting VM 'sys-net'": 
"cannot execute qrexec-deamon"


(This may also be the error you get if running the commands 'qvm-start 
sys-firewall' / 'qvm-start sys-net' in this scenario)




Happy xmas everyone :-)

@LeeteqXV

--
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/d6463f45-e9b7-4c29-2ecf-0b57f4b23e94%40leeteq.com.
For more options, visit https://groups.google.com/d/optout.