diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2020-08-27 10:43:37 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2020-08-27 14:47:59 +0300 |
commit | 471b7be4bd5cc7f245f9aa00c7784a7056e439b7 (patch) | |
tree | 814c57f12244e0810e3ee5e94f5bc82973856923 /po/ja.po | |
parent | 276f61949f24b647129d11b1ecb9dc7bd7c9691b (diff) | |
download | rpm-471b7be4bd5cc7f245f9aa00c7784a7056e439b7.tar.gz |
Warn and fall back to dummy database on unknown database backend config
The rpmdb is our most precious piece of data, don't make assumptions on
invalid configuration. Together with our crazy create-db-on-read behavior,
total database loss is just one 'rpmdb --rebuilddb' away in some scenarios
with the former behavior: access an sqlite/ndb database with older
version not supporting those, silently fallback to creating empty bdb,
and if db is now rebuilt, poof the data is gone.
Detect and warn on unknown/invalid %_db_backend configuration and fall
back to using dummy backend where no damage can occur. Doesn't help with
the old versions out there, but lets at least be saner going forward.
Diffstat (limited to 'po/ja.po')
0 files changed, 0 insertions, 0 deletions