On Thu, 2022-05-05 at 13:51 +0200, Fabian Vogt wrote:
Hi,
Hi from me as well, :-)
Am Donnerstag, 5. Mai 2022, 13:44:50 CEST schrieb Luca Di Maio:
1 - reintroduce transactional-update.timer 2 - set up rebootmgr to work well with desktop workloads 3 - notify the user that the system is updated and a reboot is needed 4 - nice-to-have: if I click the notification it calls the native reboot prompt of the installed DE.
IMO ideally transactional updates get integrated into the usual (maybe DE specific) ways to perform updates. That way they're rather similar to PK offline upgrades which most of them can already handle.
Indeed. In fact, that was and still is a plan. There's an outdated halfway working POC for that, which I hope to be able to get back to do some work on at some point... Which also means that we currently have nothing (and we may continue not to for a while, as far as we can tell). Also, PackageKit/pkcon has its own issues. For instance, it doesn't always work, e.g.: https://bugzilla.suse.com/show_bug.cgi?id=1196512 There's also the problem that snapshots marked with "transactional- update-in-progress=yes" are left around and not cleaned up, e.g.: $ sudo snapper list # | Type | Pre # | Date | User | Used Space | Cleanup | Description | Userdata ----+--------+-------+---------------------------+------+------------+---------+------------------------+------------------------------------- 0 | single | | | root | | | current | 1 | single | | lun 21 feb 2022, 20:54:29 | root | 3,59 MiB | | first root filesystem | 2 | single | | lun 21 feb 2022, 21:00:31 | root | 57,27 MiB | number | after installation | important=yes 3 | single | | lun 21 feb 2022, 22:46:04 | root | 808,00 KiB | | Snapshot Update of #1 | 4 | single | | lun 21 feb 2022, 22:48:20 | root | 488,00 KiB | | Snapshot Update of #3 | 5 | single | | lun 21 feb 2022, 23:26:26 | root | 1,87 MiB | | Snapshot Update of #4 | 6 | single | | lun 21 feb 2022, 23:40:29 | root | 368,00 KiB | | Snapshot Update of #5 | 7 | single | | lun 21 feb 2022, 23:42:00 | root | 1,38 MiB | | Snapshot Update of #6 | transactional-update-in-progress=yes 8 | single | | lun 21 feb 2022, 23:50:22 | root | 128,00 KiB | | Snapshot Update of #6 | 9 | single | | lun 21 feb 2022, 23:51:25 | root | 128,00 KiB | | Snapshot Update of #8 | transactional-update-in-progress=yes 10 | single | | mar 22 feb 2022, 00:12:36 | root | 576,00 KiB | | Snapshot Update of #8 | 11 | single | | mar 22 feb 2022, 10:10:04 | root | 2,67 MiB | | Snapshot Update of #10 | 12 | single | | mar 22 feb 2022, 10:23:56 | root | 16,00 KiB | | Snapshot Update of #11 | 13 | single | | ven 25 feb 2022, 18:27:38 | root | 16,00 KiB | | Snapshot Update of #12 | transactional-update-in-progress=yes 15 | single | | ven 25 feb 2022, 18:33:02 | root | 353,36 MiB | | Snapshot Update of #12 | 17 | single | | mar 1 mar 2022, 15:18:50 | root | 49,01 MiB | | Snapshot Update of #15 | 18 | single | | mar 1 mar 2022, 19:40:35 | root | 7,00 MiB | | Snapshot Update of #17 | 20 | single | | sab 5 mar 2022, 16:43:43 | root | 4,35 MiB | | Snapshot Update of #18 | 21 | single | | mar 8 mar 2022, 13:56:35 | root | 4,36 MiB | | Snapshot Update of #20 | transactional-update-in-progress=yes 22 | single | | mar 8 mar 2022, 14:10:25 | root | 4,36 MiB | | Snapshot Update of #20 | transactional-update-in-progress=yes 23 | single | | mar 8 mar 2022, 14:14:46 | root | 4,36 MiB | | Snapshot Update of #20 | transactional-update-in-progress=yes 24 | single | | mer 16 mar 2022, 11:16:46 | root | 4,38 MiB | | Snapshot Update of #20 | transactional-update-in-progress=yes 26 | single | | mer 16 mar 2022, 11:22:40 | root | 4,33 MiB | | Snapshot Update of #20 | 27 | single | | gio 28 apr 2022, 12:29:32 | root | 4,38 MiB | | Snapshot Update of #26 | transactional-update-in-progress=yes 29 | single | | ven 29 apr 2022, 08:17:15 | root | 416,00 KiB | | Snapshot Update of #26 | 30 | single | | ven 29 apr 2022, 08:31:31 | root | 13,47 MiB | | Snapshot Update of #29 | transactional-update-in-progress=yes 31* | single | | ven 29 apr 2022, 22:30:50 | root | 128,00 KiB | | Snapshot Update of #29 | 32 | single | | ven 29 apr 2022, 22:33:34 | root | 128,00 KiB | | Snapshot Update of #31 | transactional-update-in-progress=yes 33 | single | | gio 5 mag 2022, 21:44:17 | root | 6,69 MiB | | Snapshot Update of #31 | transactional-update-in-progress=yes Last thing I've noticed, I sometimes can't find packages, e.g.: $ pkcon search ffmpegthumb Searching by details [=========================] Querying [=========================] Loading cache [=========================] Finished $ Even if they are there: $ zypper se ffmpegthumb S | Name | Summary | Type ---+----------------------------+-----------------------------------------------------+-------- i+ | ffmpegthumbnailer | Video thumbnailer that can be used by file managers | package | ffmpegthumbs | FFmpeg-based thumbnail creator for video files | package | libffmpegthumbnailer-devel | Development files for ffmpegthumbnailer | package i+ | libffmpegthumbnailer4 | Video thumbnail generator | package (and can actually be installed with `pkcon install ffmpegthumbnailer`, once I know the name!) All these issues can probably be solved, but I do not think anyone is actively working on doing that, and IMO this is a problem for current (and potential! :-D) MicroOS Desktop users. What Luca is proposing (and already experimenting on! :-P) can, hopefully, let us move forward and avoid all these problems. So, FWIW, I quite like the idea. :-) It also shouldn't be the case that the approaches are completely mutually exclusive. In fact, users are already re-installing the transactional-update package, but at the same time using pkcon for package manipulation...
Ideally also update failures get announced that way. Currently it just silently fails, so unless the journal is getting looked at randomly it's currently too easy to miss that the system didn't get updated properly for a while.
+1
Regards,
Dario
--
Dario Faggioli, Ph.D
http://about.me/dario.faggioli
Virtualization Software Engineer
SUSE Labs, SUSE https://www.suse.com/
-------------------------------------------------------------------
<