-
-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Persistent qrexec policy daemon #3868
Labels
R: duplicate
Resolution: Another issue exists that is very similar to or subsumes this one.
Comments
Do you mean Generally:
|
Duplicate of #3293 |
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>
.
|
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
Qubes OS version:
R4.0
Affected component(s):
qubes-core-admin
Steps to reproduce the behavior:
qvm-ls
Expected behavior:
qvm-ls
is fastActual behavior:
qvm-ls
is 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.
inotify
will 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:
The text was updated successfully, but these errors were encountered: