Silverblue upgrade silently fails, Bootloader write config issue

Hey all,

I’m on Silverblue 36.20220810.0 and I’m struggling to get it to upgrade further. If I run rpm-ostree upgrade it works fine:

$ rpm-ostree upgrade

2 metadata, 0 content objects fetched; 788 B transferred in 0 seconds; 0 bytes content written
Checking out tree 3e46a58... done
Enabled rpm-md repositories: fedora-cisco-openh264 fedora-modular updates-modular updates fedora rpmfusion-free-updates rpmfusion-free rpmfusion-nonfree-updates rpmfusion-nonfree phracek-PyCharm rpmfusion-nonfree-nvidia-driver rpmfusion-nonfree-steam google-chrome updates-archive
Importing rpm-md... done
rpm-md repo 'fedora-cisco-openh264' (cached); generated: 2022-04-07T16:52:38Z solvables: 4
rpm-md repo 'fedora-modular' (cached); generated: 2022-05-04T21:12:01Z solvables: 825
rpm-md repo 'updates-modular' (cached); generated: 2022-08-12T01:56:42Z solvables: 1418
rpm-md repo 'updates' (cached); generated: 2022-08-15T01:03:07Z solvables: 21528
rpm-md repo 'fedora' (cached); generated: 2022-05-04T21:16:11Z solvables: 67992
rpm-md repo 'rpmfusion-free-updates' (cached); generated: 2022-08-11T16:32:44Z solvables: 104
rpm-md repo 'rpmfusion-free' (cached); generated: 2022-05-04T04:48:11Z solvables: 506
rpm-md repo 'rpmfusion-nonfree-updates' (cached); generated: 2022-08-11T17:07:54Z solvables: 66
rpm-md repo 'rpmfusion-nonfree' (cached); generated: 2022-05-04T05:11:55Z solvables: 225
rpm-md repo 'phracek-PyCharm' (cached); generated: 2022-07-27T04:31:44Z solvables: 5
rpm-md repo 'rpmfusion-nonfree-nvidia-driver' (cached); generated: 2022-08-11T17:26:04Z solvables: 30
rpm-md repo 'rpmfusion-nonfree-steam' (cached); generated: 2022-08-11T17:26:14Z solvables: 2
rpm-md repo 'google-chrome' (cached); generated: 2022-08-12T21:25:48Z solvables: 3
rpm-md repo 'updates-archive' (cached); generated: 2022-08-15T01:37:29Z solvables: 31082
Resolving dependencies... done
Applying 2 overrides and 143 overlays
Processing packages... done
Running pre scripts... done
Running post scripts... done
Running posttrans scripts... done
Writing rpmdb... done
Writing OSTree commit... done
Staging deployment... done
Freed: 49,4 MB (pkgcache branches: 0)
  NetworkManager 1:1.38.2-1.fc36 -> 1:1.38.4-1.fc36
  NetworkManager-adsl 1:1.38.2-1.fc36 -> 1:1.38.4-1.fc36
  NetworkManager-bluetooth 1:1.38.2-1.fc36 -> 1:1.38.4-1.fc36
  NetworkManager-config-connectivity-fedora 1:1.38.2-1.fc36 -> 1:1.38.4-1.fc36
  NetworkManager-libnm 1:1.38.2-1.fc36 -> 1:1.38.4-1.fc36
  NetworkManager-ppp 1:1.38.2-1.fc36 -> 1:1.38.4-1.fc36
  NetworkManager-wifi 1:1.38.2-1.fc36 -> 1:1.38.4-1.fc36
  NetworkManager-wwan 1:1.38.2-1.fc36 -> 1:1.38.4-1.fc36
  cups 1:2.4.2-3.fc36 -> 1:2.4.2-4.fc36
  cups-client 1:2.4.2-3.fc36 -> 1:2.4.2-4.fc36
  cups-filesystem 1:2.4.2-3.fc36 -> 1:2.4.2-4.fc36
  cups-ipptool 1:2.4.2-3.fc36 -> 1:2.4.2-4.fc36
  cups-libs 1:2.4.2-3.fc36 -> 1:2.4.2-4.fc36
  distribution-gpg-keys 1.75-1.fc36 -> 1.76-1.fc36
  filesystem 3.18-1.fc36 -> 3.18-2.fc36
  firefox 103.0.1-2.fc36 -> 103.0.2-1.fc36
  git-core 2.37.1-1.fc36 -> 2.37.2-1.fc36
  gnome-shell 42.3.1-1.fc36 -> 42.4-1.fc36
  ibus-libpinyin 1.12.91-1.fc36 -> 1.12.92-1.fc36
  ibus-typing-booster 2.18.7-1.fc36 -> 2.18.9-1.fc36
  kernel 5.18.16-200.fc36 -> 5.18.17-200.fc36
  kernel-core 5.18.16-200.fc36 -> 5.18.17-200.fc36
  kernel-modules 5.18.16-200.fc36 -> 5.18.17-200.fc36
  kernel-modules-extra 5.18.16-200.fc36 -> 5.18.17-200.fc36
  libglvnd 1:1.4.0-2.fc36 -> 1:1.4.0-4.fc36
  libglvnd-egl 1:1.4.0-2.fc36 -> 1:1.4.0-4.fc36
  libglvnd-gles 1:1.4.0-2.fc36 -> 1:1.4.0-4.fc36
  libglvnd-glx 1:1.4.0-2.fc36 -> 1:1.4.0-4.fc36
  libglvnd-opengl 1:1.4.0-2.fc36 -> 1:1.4.0-4.fc36
  libnfsidmap 1:2.6.1-2.rc8.fc36 -> 1:2.6.2-0.fc36
  libtirpc 1.3.2-1.rc4.fc36 -> 1.3.3-0.fc36
  man-pages 5.13-2.fc36 -> 5.13-4.fc36
  mesa-dri-drivers 22.1.5-2.fc36 -> 22.1.6-1.fc36
  mesa-filesystem 22.1.5-2.fc36 -> 22.1.6-1.fc36
  mesa-libEGL 22.1.5-2.fc36 -> 22.1.6-1.fc36
  mesa-libGL 22.1.5-2.fc36 -> 22.1.6-1.fc36
  mesa-libgbm 22.1.5-2.fc36 -> 22.1.6-1.fc36
  mesa-libglapi 22.1.5-2.fc36 -> 22.1.6-1.fc36
  mesa-libxatracker 22.1.5-2.fc36 -> 22.1.6-1.fc36
  mesa-vulkan-drivers 22.1.5-2.fc36 -> 22.1.6-1.fc36
  microcode_ctl 2:2.1-51.fc36 -> 2:2.1-51.1.fc36
  mutter 42.3-1.fc36 -> 42.4-1.fc36
  nfs-utils 1:2.6.1-2.rc8.fc36 -> 1:2.6.2-0.fc36
  openssl-pkcs11 0.4.12-1.fc36 -> 0.4.12-2.fc36
  perl-Scalar-List-Utils 5:1.62-464.fc36 -> 5:1.63-489.fc36
  python3-unbound 1.16.0-5.fc36 -> 1.16.2-3.fc36
  skopeo 1:1.9.0-4.fc36 -> 1:1.9.2-1.fc36
  unbound-anchor 1.16.0-5.fc36 -> 1.16.2-3.fc36
  unbound-libs 1.16.0-5.fc36 -> 1.16.2-3.fc36
  vim-data 2:9.0.137-1.fc36 -> 2:9.0.189-1.fc36
  vim-minimal 2:9.0.137-1.fc36 -> 2:9.0.189-1.fc36
  webkit2gtk3 2.36.6-1.fc36 -> 2.36.6-2.fc36
  webkit2gtk3-jsc 2.36.6-1.fc36 -> 2.36.6-2.fc36
  wpebackend-fdo 1.12.0-2.fc36 -> 1.12.1-1.fc36
  zlib 1.2.11-31.fc36 -> 1.2.11-32.fc36
Run "systemctl reboot" to start a reboot

But rpm-ostree status shows a warning:

$ rpm-ostree status
State: idle
Warning: failed to finalize previous deployment
         error: Bootloader write config: grub2-mkconfig: Child process exited with code 1
         check `journalctl -b -1 -u ostree-finalize-staged.service`

Unfortunately, the journal doesn’t really help much:

$ journalctl -b -1 -u ostree-finalize-staged.service
Aug 15 23:18:23 fedora systemd[1]: Finished ostree-finalize-staged.service - OSTree Finalize Staged Deployment.
Aug 15 23:21:30 fedora systemd[1]: Stopping ostree-finalize-staged.service - OSTree Finalize Staged Deployment...
Aug 15 23:21:30 fedora ostree[6775]: Finalizing staged deployment
Aug 15 23:21:30 fedora ostree[6775]: Copying /etc changes: 40 modified, 0 removed, 79 added
Aug 15 23:21:30 fedora ostree[6775]: Copying /etc changes: 40 modified, 0 removed, 79 added
Aug 15 23:21:32 fedora ostree[6775]: error: Bootloader write config: grub2-mkconfig: Child process exited with code 1
Aug 15 23:21:32 fedora systemd[1]: ostree-finalize-staged.service: Control process exited, code=exited, status=1/FAILURE
Aug 15 23:21:32 fedora systemd[1]: ostree-finalize-staged.service: Failed with result 'exit-code'.
Aug 15 23:21:32 fedora systemd[1]: Stopped ostree-finalize-staged.service - OSTree Finalize Staged Deployment.
Aug 15 23:21:32 fedora systemd[1]: ostree-finalize-staged.service: Consumed 1.838s CPU time.

Rebooting the machine doesn’t help: it boots into the same old version and the new deployment completely disappears (even from rpm-ostree status). I can repeat the upgrade but it doesn’t help.

Anybody have an idea?

Just saw: – not sure how I missed this before posting. Sorry for the dupe.