Skip to content
Snippets Groups Projects
  1. Nov 19, 2020
    • Frederic Danis's avatar
    • Frederic Danis's avatar
      Move encrypted update mount to its own task · 3a16f6ae
      Frederic Danis authored
      
      Unlocking encrypted update can take a long time, preventing other DBus
      method to respond in time, e.g. `MarkUpdateSuccessful` with logs like:
      ```
      Nov 17 15:41:30 apertispro apertis-update-[236]: mount added : /media/1AB7-E289
      Nov 17 15:41:31 apertispro application[159]: DEBUG [SystemInit.cpp:135] [operator()]: UpdateMgr is ready.
      Nov 17 15:41:31 apertispro application[159]: DEBUG [SystemInit.cpp:207] [operator()]: Boot count before MarkUpdateSuccessful() is: 1
      Nov 17 15:41:56 apertispro application[159]: ERROR [UpdateMgr.cpp:205] [OnMarkUpdateSuccessful]: Error while MarkUpdateSuccessful : Timeout was reached
      Nov 17 15:41:57 apertispro application[159]: DEBUG [SystemInit.cpp:220] [operator()]: Boot count after MarkUpdateSuccessful() is: 1
      Nov 17 15:41:57 apertispro application[159]: ERROR [SystemInit.cpp:223] [operator()]: Boot count reset failed!
      Nov 17 15:44:29 apertispro apertis-update-[236]: Marked update as successful
      Nov 17 15:44:32 apertispro apertis-update-[236]: mount added : /media/update
      Nov 17 15:44:32 apertispro apertis-update-[236]: Ostree static delta starting
      ```
      
      Mount event for the encrypted filesystem can occur before return of
      `udisks_filesystem_call_mount_sync()` call in the task
      `unlock_and_mount_encrypted_thread`. During call to mount, store mounted
      path and process them when the task is completed.
      
      Signed-off-by: default avatarFrédéric Danis <frederic.danis@collabora.com>
      3a16f6ae
  2. Nov 18, 2020
  3. Nov 07, 2020
  4. Oct 15, 2020
  5. Oct 13, 2020
  6. Oct 12, 2020
  7. Oct 07, 2020
  8. Oct 06, 2020
  9. Sep 30, 2020
  10. Sep 24, 2020
  11. Sep 02, 2020
  12. Aug 28, 2020
  13. Jul 03, 2020
  14. Jun 22, 2020
  15. Jun 04, 2020
  16. Apr 24, 2020
  17. Apr 10, 2020
  18. Mar 31, 2020
  19. Mar 30, 2020
  20. Mar 12, 2020
Loading