Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upPersistent qrexec policy daemon #3868
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
marmarek
Apr 29, 2018
Member
Do you mean qvm-ls in dom0 or in some VM (with appropriate permissons for qrexec calls)? In case of dom0, it already use local socket and qrexec policy is not involved at all. But in case of VM, your diagnosis is correct.
Generally:
- the idea you propose is good (with slightly different details about updating the info), this is what we plan to implement when time allows
- this is a duplicate of #3293 (comment), lets move the discussion there
|
Do you mean Generally:
|
marmarek
closed this
Apr 29, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
|
Duplicate of #3293 |
andrewdavidwong
marked this as
a duplicate of
#3293
Apr 30, 2018
andrewdavidwong
added
the
duplicate
label
Apr 30, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
DemiMarie
Apr 30, 2018
I actually have the problem when making the calls from dom0. They are
still slow.
…On Sun, Apr 29, 2018, 6:43 PM Marek Marczykowski-Górecki < ***@***.***> wrote:
Do you mean qvm-ls in dom0 or in some VM (with appropriate permissons for
qrexec calls)? In case of dom0, it already use local socket and qrexec
policy is not involved at all. But in case of VM, your diagnosis is correct.
Generally:
- the idea you propose is good (with slightly different details about
updating the info), this is what we plan to implement when time allows
- this is a duplicate of #3293 (comment)
<#3293 (comment)>,
lets move the discussion there
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3868 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGGWB0tYIToD3q5YLVAb26OJCLy78T26ks5ttkIRgaJpZM4Tr9Jl>
.
DemiMarie
commented
Apr 30, 2018
|
I actually have the problem when making the calls from dom0. They are
still slow.
…On Sun, Apr 29, 2018, 6:43 PM Marek Marczykowski-Górecki < ***@***.***> wrote:
Do you mean qvm-ls in dom0 or in some VM (with appropriate permissons for
qrexec calls)? In case of dom0, it already use local socket and qrexec
policy is not involved at all. But in case of VM, your diagnosis is correct.
Generally:
- the idea you propose is good (with slightly different details about
updating the info), this is what we plan to implement when time allows
- this is a duplicate of #3293 (comment)
<#3293 (comment)>,
lets move the discussion there
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3868 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGGWB0tYIToD3q5YLVAb26OJCLy78T26ks5ttkIRgaJpZM4Tr9Jl>
.
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
|
Ok, but in case of dom0, qrexec policy is not involved at all. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
DemiMarie commentedApr 29, 2018
Qubes OS version:
R4.0
Affected component(s):
qubes-core-admin
Steps to reproduce the behavior:
qvm-lsExpected behavior:
qvm-lsis fastActual behavior:
qvm-lsis slowGeneral notes:
The problem seems to be that every qrexec call starts a new Python process. I propose that this be replaced by a persistent daemon. The daemon will listen on a Unix domain socket and maintain an in-memory cache of all qrexec policy files.
inotifywill be used to notify the daemon when these change. Additionally, whenever the machine is awake, the daemon will reload its configuration every minute or so, to ensure that it stays up-to-date.Related issues: