-
-
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-dom0-update opening terminal window of UpdateVM confuses some users #6871
Comments
@blockomat2100, does the update actually succeed? What happens next? |
Yes the updates always run successfully. If I search using |
AFAIK this is security feature in 4.1 |
@ivpn786 is correct ― this is a security feature added in R4.1, to prevent untrusted data (the output from the UpdateVM) being displayed in a dom0 terminal. That said, that this is confusing users indicates that the UX isn’t sufficiently clear. @ninavizz suggestions? |
Can this be completely silenced (by default)? So basically no output from from UpdateVM would be displayed, but dom0 would only display the list of validated packages that are going to modified |
There is an |
As a quick fix, I would recommend a Notification (the black bubble style with just text in it) telling the user that updates for Text I'd recommend for that bubble, for a user whose update proxy qube is set to be sys-net, is as follows:
Users like it that Qubes gives us TMI at all times, through the notifications system. I'm hypothesizing that just letting folks know what is going on, that way, will suffice for now.
Longer-term, I feel all of this is part of the broader "Update Experience" that needs to be re-thought; with resulting outputs, being an improved updater UI, an improved updater Tray icon and UI, and improvements to how qubes in need of updates are shown in the qube manager. |
Bear in mind that the problem reported in this issue arises only when the user manually enters the Related: #6635 |
Yes @andrewdavidwong TY for the "ahem, we are a resource constrained project" tip of the hat. :) Per the above, my inclination is to consider this issue solve'able by simply updating the docs to manage user expectations that in fact, this will happen—that logs are saved back to the qube being updated—and the user's system is not compromised when this activity happens. I expect CLI users to be more attentive to the docs, than GUI dependent users—so would rather go that route to solve for this, than something that would require a developer's time. I began composing something in a PR, and stopped when I realized it was either incorrect, or just poor grammar (or both). So, it would at a minimum be easier if folks iterated, here, and then I can file a PR later—or someone else here can file a PR. On the page Above the "In addition, advanced user..." line
Do y'all feel this process simply being more transparently addressed in the docs, would make a sought product fix a "non-issue"? @blockomat2100 had you consulted the docs before invoking this update (asking as a user researcher, so no judgement!)? It would honestly be helpful to know that, before recommending a solution. If this is new behavior and you've been doing your updates this way all along and suddenly things happened differently, that feels like a different approach would be needed. |
@ninavizz No I did not consult the documentation for a while. It makes sense that opening the terminal window is a security feature, I just did not recognize it as one ;). So even if I did not look at the documentation, a short hint in the docs would maybe help other users.
I use 4.1 for a longer time now (a year or so) and it was there from the beginning, if I remember correctly, so it is nothing new. I had always done the updates for dom0 this way in previous releases. |
On Mon, Sep 06, 2021 at 11:51:05PM -0700, blockomat2100 wrote:
@ninavizz No I did not consult the documentation for a while. It makes sense that opening the terminal window is a security feature, I just did not recognize it as one ;). So even if I did not look at the documentation, a short hint in the docs would maybe help other users.
> If this is new behavior and you've been doing your updates this way all along and suddenly things happened differently, that feels like a different approach would be needed.
I use 4.1 for a longer time now (a year or so) and it was there from the beginning, if I remember correctly, so it is nothing new. I had always done the updates for dom0 this way in previous releases.
Bear in mind that 4.1 is wip, and documentation is also wip. You cant
expect a beta release to be fully documented.
There are some use cases where a manual call is useful, particularly
with the `--action=` parameter. Output in a terminal window is fine
there, except that it isn't easy to parse/control the output.
|
@blockomat2100 per @unman's mention, my question was pure inquiry—to predict the likelihood of a note in the docs as an adequate solution to close this. Zero admonishment intended! :) I'll go ahead and open a PR, following Marta's "Eh, eff-it" advisement to just purge my existing forks of the docs and make a new one. :D |
PR per above: QubesOS/qubes-doc#1193 |
This issue is being closed because:
If anyone believes that this issue should be reopened, please leave a comment saying so. |
How to file a helpful issue
Qubes OS release
4.1 (current-testing)
Brief summary
If i run
qubes-dom0-update
a terminal window gets opened of the update vm.I tested different vms (e.g. sys-firewall, sys-net, sys-whonix, ..)
Steps to reproduce
Open Terminal in dom0 and run
qubes-dom0-update
.Expected behavior
Don't open other windows like it was in previous releases.
Actual behavior
A new terminal windows gets opened of the update vm (sys-net in the screenshot).
The text was updated successfully, but these errors were encountered: