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:
Somehow break the /var/lib/fwupd/pending.db
Restart the system
Check if fwupd service is running
Try running systemctl is-active fwupd
Try restarting it with systemctl restart fwupd
Check journalctl for fwupd related errors, warnings or failures
Expected behavior
fwupd should normally start on boot
fwupd.service or fwupd itself should validate the pending.db and other generated and cached files.
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 untilpending.db
beaks again.To Reproduce
Please describe the steps needed to reproduce the bug:
/var/lib/fwupd/pending.db
fwupd
service is runningsystemctl is-active fwupd
systemctl restart fwupd
journalctl
forfwupd
related errors, warnings or failuresExpected behavior
fwupd
should normally start on bootfwupd.service
orfwupd
itself should validate thepending.db
and other generated and cached files.OS version