During the boot sequence on modern Ubuntu Linux installations running on UEFI-enabled hardware, systemd may halt briefly and report a prominent red failure message: [FAILED] Failed to start Secure Boot DBX Configuration. While Ubuntu typically continues booting to the desktop or login prompt, this error signals that the system firmware update daemon (fwupd) failed to apply UEFI Secure Boot Forbidden Signature Database (DBX) revocations. Addressing this error ensures firmware integrity and keeps the boot chain clean.
Understand the Cause of the DBX Boot Failure
The UEFI Secure Boot DBX (Forbidden Signature Database) contains a revocation list of untrusted cryptographic hashes and certificates associated with vulnerable bootloaders and binaries. The system service fwupd-refresh.service or secure-boot-dbx.service attempts to write newly released DBX updates into NVRAM during startup. This operation fails if:
- The motherboard UEFI firmware has insufficient free NVRAM variable storage to hold the expanded revocation list.
- Secure Boot is disabled in the system BIOS/UEFI settings, preventing DBX writes.
- The firmware vendor has locked NVRAM variables against runtime modification from the operating system.
- A broken or corrupted fwupd cache is attempting to apply malformed binary payload updates.
Verify Secure Boot and Firmware Status
Open a terminal window and check whether Secure Boot is active and whether fwupd can communicate with the system firmware:
mokutil --sb-state
If the output reads SecureBoot disabled, the system cannot apply DBX revocation lists because the Secure Boot subsystem is inactive. To resolve this, you can either enable Secure Boot within your computer BIOS/UEFI firmware settings or safely disable the redundant systemd update service.
Next, query fwupd to inspect hardware security attributes:
fwupdmgr security
Review the output under the UEFI dbx section to determine whether the current revocation database matches the latest vendor security profile.
Manually Update the DBX Revocation List via fwupd
Often, running the update interactively in the terminal allows fwupd to handle storage constraints gracefully and complete the pending transaction:
- Refresh fwupd metadata from online device firmware repositories:
fwupdmgr refresh --force - Check for pending firmware and DBX updates:
fwupdmgr get-updates - If an update for Secure Boot dbx is listed, apply it manually:
fwupdmgr update - Confirm any prompts to write updates to firmware. If the update applies successfully, reboot your system to verify that the boot-time error has cleared:
sudo reboot
Clear Corrupted fwupd Cache Files
If fwupd fails with a checksum or decompression error when reading cached DBX packages, clearing the local spool forces a clean download:
- Stop the fwupd service:
sudo systemctl stop fwupd.service - Remove cached firmware packages:
sudo rm -rf /var/lib/fwupd/pending.db sudo rm -rf /var/cache/fwupd/* - Restart the service:
sudo systemctl start fwupd.service - Re-run the refresh command:
fwupdmgr refresh
Disable the Failing DBX Service on Incompatible Hardware
On systems where motherboard firmware NVRAM is permanently limited or vendor-locked, applying DBX updates via Linux is impossible without a vendor BIOS update. In such scenarios, disabling the failing service prevents boot delays and eliminates error noise:
- Identify the exact systemd unit triggering the boot failure:
systemctl list-units --failed - If the failing service is
secure-boot-dbx.service, mask it so systemd will not attempt to start it during boot:sudo systemctl stop secure-boot-dbx.service sudo systemctl mask secure-boot-dbx.service - If the failure is tied to
fwupd-refresh.service, you can disable the automatic timer:sudo systemctl disable fwupd-refresh.timer - Check your system journal to ensure no remaining errors persist on the next restart:
sudo journalctl -u secure-boot-dbx -b 0