canonical / firmware-updater

An experimental firmware updater UI based on fwupd
GNU General Public License v3.0
109 stars 14 forks source link

AppArmor Policy prevents firmware-updater to reboot. And complete installation. #227

Open KotUW opened 10 months ago

KotUW commented 10 months ago

Screenshot from 2023-11-08 20-48-03

olivercalder commented 9 months ago

Same with me.

Screenshot from 2023-11-27 14-58-35

Interestingly, I was updating system firmware from 1.7.0 to 1.8.0, and when this reboot failed, it acted as though the firmware update had failed. Running sudo fwupdmgr update showed no updates available, despite system firmware still being on 1.7.0. The Firmware Updater snap showed 1.7.0 as the version to install when clicking update again, which is strange, and then if I manually selected 1.8.0 it would again download the firmware update, trigger a reboot, and fail with the above error. But when I then rebooted the system, it carried out the firmware update as part of the boot, and on next boot was running 1.8.0. So both Firmware Updater and fwupdmgr seem confused when a firmware update is partially complete but the reboot fails.

Not sure if that's particularly helpful or relevant, but that's I experienced.

d-loose commented 9 months ago

Duplicate of #164. The fix (#206) is available in the candidate channel of the snap (snap refresh --candidate firmware-updater). @tim-hm we should consider promoting this to stable soon.