-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
qubes.OpenInVM * @anyvm @dispvm ask default_target=@dispvm:[...]
causes AssertionError
#7720
Comments
I don't see this.
In any case, unless you have changed the rules, should your expectation
not be - "A dialog appears with @dispvm:dvm-default preselected" rather
than "a disposable is created based on `dvm-other`" ?
That's exactly what happens for me.
|
Those rules, with the current policy semantic, does not allow the call. The So, we have few points here:
The first point is an obvious bug. The second is intended semantics, but I can be persuaded to change it. The third one was intentional choice, but when looking at it now, I think it was a wrong one and should be changed. |
Yes, I caught my mistake and edited the issue description between the time when GitHub emailed a copy of it to you and the time when you replied.
Ok, let's keep this issue for that.
Opened a separate issue for this: #7723
Reopened #5510 for this.
Summary:
|
I've found another case where this happens; I'll report just to cover this edge case, as it's error is slightly different and the trigger / use case is different: When specifying a named DVM as default_target, e.g.
The order of error messages is reversed and the line numbers are different, but I think it still fits the case described in this issue. If I should post this also in one of the other two related issues, let me know... |
The corner case here is that loopback calls are refused, so |
Edit: I retract this post, as I've made a mistake while trying to correct this issue via an additional policy (I thought that |
Summary of the problem: an Instead of handling the exception, I would like to propose for the If this proposal is not accepted, I will try to PR handling the exception. |
This comment was marked as outdated.
This comment was marked as outdated.
This issue was fixed. Qubes 4.2.3 and qubes-core-qrexec 4.2.21-1. Used rule on non-existent service to try:
|
How to file a helpful issue
Qubes OS release
4.1.1
Brief summary
Attempting to open a file in a non-global-default disposable with an
ask default_target=[...]
policy fails.Steps to reproduce
dvm-default
.dvm-default
as the default disposable template./etc/qubes/policy.d/30-user.policy
in dom0:dvm-other
.my-app-qube
my-app-qube
's advanced settings, set "Default disposable template" todvm-other
.my-app-qube
, doqvm-open-in-dvm <some_file>
.Expected behavior
An "Operation execution" prompt is created in dom0 with the following:
(The target should be pre-filled.)
Actual behavior
No dom0 prompt is created.
journalctl
shows:The text was updated successfully, but these errors were encountered: