Werk #17407: Support diagnostics: Fix unspecific error message when collecting RPM data

Component Setup
Title Support diagnostics: Fix unspecific error message when collecting RPM data
Date Jan 22, 2025
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.4.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p26 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p40
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

In rare cases, the collection of RPM packages failed with the error message

warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend
error: bdb_ro error reading Packages database

This werk improves the error handling and prints out a more helpful message.

To the list of all Werks