fedora-silverblue / issue-tracker

Fedora Silverblue issue tracker
https://fedoraproject.org/atomic-desktops/silverblue/
122 stars 3 forks source link

fwupd service not starting if pending.db is corrupt #553

Closed tsilvs closed 7 months ago

tsilvs commented 7 months ago

Bug description

Sometimes fwupd service stops working without any proper error messages. In forums people say that it's caused by faulty /var/lib/fwupd/pending.db file. Testing this hypothesis showed good results, issue was temporarily solved until pending.db beaks again.

To Reproduce

Please describe the steps needed to reproduce the bug:

  1. Somehow break the /var/lib/fwupd/pending.db
  2. Restart the system
  3. Check if fwupd service is running
    • Try running systemctl is-active fwupd
    • Try restarting it with systemctl restart fwupd
  4. Check journalctl for fwupd related errors, warnings or failures

Expected behavior

  1. fwupd should normally start on boot
  2. fwupd.service or fwupd itself should validate the pending.db and other generated and cached files.

OS version

State: idle
BootedDeployment:
● fedora:fedora/39/x86_64/silverblue
                  Version: 39.20240403.0 (2024-04-03T00:41:12Z)
               BaseCommit: 23c1e1e0a565124e5f2fb6dca5189ccc9f717e8b32e9447e12bc63a98997162e
             GPGSignature: Valid signature by E8F23996F23218640CB44CBE75CF5AC418B8E74C
          LayeredPackages: alien android-tools autoconf automake beefy-miracle-backgrounds-gnome bison breeze-cursor-theme breeze-icon-theme cabal-install cabal-rpm chrpath colordiff coolreader corectrl dhex dynamips
                           f38-backgrounds-extras-gnome fedora-jam-backgrounds-gnome file-roller firewall-config flatseal flex gcc gdb ghc git-lfs glibc-devel gnome-backgrounds-extras gnome-firmware gnome-pomodoro
                           gnome-shell-extension-caffeine gnome-shell-extension-dash-to-dock gnome-shell-extension-drive-menu gnome-shell-extension-forge gnome-shell-extension-gsconnect gnome-shell-extension-just-perfection
                           gnome-shell-extension-openweather gnome-shell-extension-openweatherrefined gnome-shell-extension-pidgin gnome-tweaks gns3-gui gns3-server godot grub-customizer grubby gstreamer1-plugin-openh264 haskell-platform
                           heisenbug-backgrounds-extras-gnome heisenbug-backgrounds-gnome ImageMagick-heic java-latest-openjdk kotlin kotlin-native laughlin-backgrounds-extras-gnome laughlin-backgrounds-gnome libtool libwebp-tools
                           lovelock-backgrounds-gnome make menulibre neovim nethogs newt nextcloud nextcloud-client nextcloud-client-nautilus nextcloud-nginx nextcloud-postgresql nextcloud-sqlite nginx nmap nodejs npm openssl pandoc
                           pandoc-common pandoc-pdf parallel patch patchelf pcsc-tools plantuml postgresql postgresql-server qbittorrent qt5-qtbase-devel qt5-qtquickcontrols remmina rpm-build rpmdevtools rpmlint screenkey seahorse
                           subversion syncthing tor vcmi verne-backgrounds-extras-gnome virt-manager vlc waydroid wireshark xmlstarlet xxd yad zbar zenity
            LocalPackages: Blockbench-4.8.3-420.x86_64 diag-plugin-0.0.1-1.fc39.x86_64 dupeguru-4.3.1-2.x86_64 gnome-media-keys-override-0.0.1-1.fc38.noarch i2pd-2.50.2-1.fc39.x86_64 librtpkcs11ecp-2.13.0.0-1.x86_64
                           ocs-url-3.0.3-1.fc20.x86_64 prospect-mail-0.5.2-1.x86_64 rpmfusion-free-release-39-1.noarch rpmfusion-nonfree-release-39-1.noarch rpmsphere-release-38-1.noarch
travier commented 7 months ago

You should report this issue upstream to fwupd: https://github.com/fwupd/fwupd