[Rpm-maint] [rpm-software-management/rpm] Warn and fall back to dummy database on unknown database backend config (471b7be)

Panu Matilainen notifications at github.com
Wed Nov 18 09:52:13 UTC 2020


The idea is that it prevents the kind of scenario described in the commit message from happening in the future. If an unknown database is configured, rpm cannot know if its just a typo or some new backend from a newer rpm version (consider eg various chroot scenarios), and together with the implicit database init (which is really the evil thing here) it's downright dangerous. It's not the most common scenario for sure, but this chain of events managed to nuke the rpmdb on my own laptop...

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/commit/471b7be4bd5cc7f245f9aa00c7784a7056e439b7#commitcomment-44295216
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20201118/733ebbec/attachment.html>


More information about the Rpm-maint mailing list