ManageIQ / manageiq-smartstate

Apache License 2.0
4 stars 36 forks source link

[RFE] Support RHEL / CentOS Stream 9 #180

Open agrare opened 8 months ago

agrare commented 8 months ago

RHEL 9 does not have a /lib/rpm/Packages database for the package scanner, resulting in no package list being created

evm[2302]: DEBUG -- evm: Q-task_id([job_dispatcher]) Processing RPM package database
evm[2302]: ERROR -- evm: Q-task_id([job_dispatcher]) MIQExtract.extract File not found: '/lib/rpm/Packages'
Fryguy commented 8 months ago

I thought the location is /var/lib/rpm/Packages and I had thought it was there for a long time.

Fryguy commented 8 months ago

Oh interesting, seems there's now a /var/lib/rpm/rpmdb.sqlite (luckily we have SQLite support)

Fryguy commented 8 months ago

SQLite added and BDB deprecated in https://rpm.org/wiki/Releases/4.16.0 (current version is 4.19)

miq-bot commented 5 months ago

This issue has been automatically marked as stale because it has not been updated for at least 3 months.

If you can still reproduce this issue on the current release or on master, please reply with all of the information you have about it in order to keep the issue open.