BIOS update doesn't prompt for reboot [snap-store snap] fwupd

Bug #1872334 reported by Béné
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OEM Priority Project
Triaged
High
Yuan-Chen Cheng
snap-store-desktop
New
High
Robert Ancell

Bug Description

The snap store shows that there is a BIOS update available for my Dell XPS 9360.

What happens:

On clicking "install", the button greys out and a small charging bar appears on it. Once charging is complete, the store page goes blank briefly and then the original update appears like it was never applied.

What should happen:

After clicking on install the Snap Store should signal me that the update went fine and that I need to reboot my computer to apply the update.

The gnome-software DEB behaves as intended, prompts me to reboot and the update installs successfully.

This is a fully updated fresh install of the Focal Beta, the snap-store snap is from the stable channel.

Please let me know if I can supply any further info!

Béné (bene-d)
information type: Public → Public Security
information type: Public Security → Public
Béné (bene-d)
summary: - BIOS update silently fails on Dell XPS 9360 DE
+ BIOS update doesn't prompt for reboot, silently fails
description: updated
Daniel Manrique (roadmr)
affects: snapstore → snap-store
Revision history for this message
Sebastien Bacher (seb128) wrote : Re: BIOS update doesn't prompt for reboot, silently fails

Thank you for your bug report, could you add your 'journalctl -b 0' after getting the issue?

Changed in snap-store-desktop:
status: New → Incomplete
tags: added: fwupd
Revision history for this message
Yuan-Chen Cheng (ycheng-twn) wrote (last edit ):

fwupd deb 1.3.11-1~focal1
snap-store, Version: 3.38.0-59-g494f078, Rev: 518 (latest/stable)

I can partially reproduce this issue.

I setup a test lvfs server, create a gpg key, create a xml file that bump the bios version, and put the cab file downloaded from lvfs, use the key to sign the xml file, then I can simulate the firmware upgrade repeatedly.

Given above, I use snap-store to upgrade system bios, it works well, but it does not prompt for reboot. Then I manually reboot, the efi app is properly running to upgrade(re-install per my test case) the system bios. After upgrading is done, then it reboots into ubuntu without any problem.

So the real bug is, I can't see the reboot prompt.

As I use the gnome-software deb 3.36.1-0ubuntu0.20.04.0 to run the same test (well, I didn't remove snap-store snap), then I can see the reboot prompt.

The attached log is capture using snap-store to upgrade the BIOS, as I can't see the reboot prompt.

Changed in snap-store-desktop:
status: Incomplete → New
Changed in oem-priority:
assignee: nobody → Yuan-Chen Cheng (ycheng-twn)
importance: Undecided → High
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for the journal log, it includes

dbus-daemon[1231]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/org/gtk/Notifications" interface="org.gtk.Notifications" member="AddNotification" mask="send" name="org.gtk.Notifications" pid=1788 label="snap.snap-store.ubuntu-software" peer_pid=1525 peer_label="unconfined"

which could be the issue there

tags: added: oem-priority
Changed in snap-store-desktop:
assignee: nobody → Robert Ancell (robert-ancell)
importance: Undecided → High
Revision history for this message
Béné (bene-d) wrote :

I got another BIOS update and could retest. The issue persists. I attached a short video of the issue and the output of 'journalctl -b 0'.

Revision history for this message
Béné (bene-d) wrote :

And here the short video of the issue. Hope it helps!

Changed in oem-priority:
status: New → Triaged
summary: - BIOS update doesn't prompt for reboot, silently fails
+ BIOS update doesn't prompt for reboot, silently fails [snap-store snap]
Revision history for this message
Yuan-Chen Cheng (ycheng-twn) wrote : Re: BIOS update doesn't prompt for reboot, silently fails [snap-store snap]

Test on an updated jammy and still can reproduce this issue.

Revision history for this message
Yuan-Chen Cheng (ycheng-twn) wrote :

per my test, it does not prompt reboot, but the update still works.

As we do a reboot after that, it will run the bios upgrade EFI app, and upgrade the bios.

So I'll remove the "silently fails" part from the subject.

summary: - BIOS update doesn't prompt for reboot, silently fails [snap-store snap]
+ BIOS update doesn't prompt for reboot [snap-store snap]
Revision history for this message
Béné (bene-d) wrote : Re: BIOS update doesn't prompt for reboot [snap-store snap]

Yuan-Chen, yes, I can confirm that the update still runs. There is no user feedback about it though. So if the user doesn't know how the firmware update works (runs the upgrade app on reboot) they will believe the update is broken and not applied. That's what I thought before I dug into it.

summary: - BIOS update doesn't prompt for reboot [snap-store snap]
+ BIOS update doesn't prompt for reboot [snap-store snap] fwupd
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.