zsys causes apt install to output a confusing message
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zsys (Ubuntu) |
Fix Released
|
Medium
|
Didier Roche-Tolomelli | ||
Focal |
Fix Released
|
Medium
|
Didier Roche-Tolomelli |
Bug Description
[Impact]
* When Zsys is installed, an apt install includes the following message in its output:
INFO Updating GRUB menu
There's no information that explains why this is being done, so the first time I encountered this it was quite concerning.
* Replace the pre and post-apt run message with the following:
<apt download content>
Requesting to save current system state
Successfully saved as "autozsys_ttmh2w"
...
ZSys is adding automatic system snapshot to GRUB menu
[Test Case]
1. Install new ZSys version
2. Run apt upgrade (with content to be installed)
3. Check that the above messages are printed (without INFO)
4. Manual state save message is also enhanced for coherence:
$ zsysctl state save --system
ZSys is adding automatic system snapshot to GRUB menu
Successfully saved as "autozsys_l5247e"
[Regression Potential]
* We changed the print message process to not have any INFO printed. However, those were only used for this specific use case.
* This is only printed to command line users, and the change of strings don’t happen any GUI functionality. ZSys is labelled as experimental and not fully translated, so the change to non english locale has a minimal impact.
----
An apt install includes the following message in its output:
INFO Updating GRUB menu
There's no information that explains why this is being done, so the first time I encountered this it was quite concerning.
tags: | added: zfs |
Changed in zsys (Ubuntu): | |
importance: | Undecided → Medium |
assignee: | nobody → Didier Roche (didrocks) |
description: | updated |
Changed in zsys (Ubuntu Focal): | |
importance: | Undecided → Medium |
assignee: | nobody → Didier Roche (didrocks) |
True that we can craft a better message or maybe prepend another one just before the Updating GRUB menu (which will be reused in diverse part of the stack).
Maybe something like:
INFO Taking into account the new system snapshot
INFO Updating GRUB menu
would work? any suggestion appreciated