![]() |
VOOZH | about |
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| zsys (Ubuntu) |
Fix Released
|
Medium
|
Didier Roche-Tolomelli | ||
| Focal |
Fix Released
|
Medium
|
Didier Roche-Tolomelli | ||
[Impact]
* When building other machines or when listing after a revert system states, ensure we present the correct order (snapshots taken on this filesystem dataset should be before the filesystem dataset itself, as it was used afterwards).
* Minimize this by a new command, which only updates the LastUsed fields for used datasets on shutdown.
* Shutdown is triggered with ExecStop on the service which updates it on boot, which is more coherent.
* This is covered by new tests cases
[Test Case]
1. Run zfs get com.ubuntu.zsys:last-used <current root system dataset> -> note the time
2. Shut down the machine
3. Boot on another machine or on a live session
4. Mount rpool
5. Run zfs get com.ubuntu.zsys:last-used <current root system dataset> -> check the timestamp is newer that the first one noted.
[Regression Potential]
* A new hidden command is added, triggered when shutting down the zsys-commit service.
* This is covered by new tests.
| Changed in zsys (Ubuntu): | |
| assignee: | nobody → Didier Roche (didrocks) |
| Changed in zsys (Ubuntu Focal): | |
| assignee: | nobody → Didier Roche (didrocks) |
| Changed in zsys (Ubuntu): | |
| importance: | Undecided → Medium |
| Changed in zsys (Ubuntu Focal): | |
| importance: | Undecided → Medium |
| description: | updated |
| tags: |
added: verification-done verification-done-focal removed: verification-needed verification-needed-focal |
Bug watches keep track of this bug in other bug trackers.