[Rpm-maint] [rpm-software-management/rpm] Change dbpath from /var/lib/rpm to /usr/lib/rpmdb (#331)

Panu Matilainen notifications at github.com
Wed Oct 25 08:57:43 UTC 2017


I understand the use-case, but this wont suffice. As outlined on rpm-maint already:
- /usr/lib is not such a good place for this, but within strict confines of the FHS, maybe the least-worst. However rpm is not alone with this kind of data so /usr/lib/rpmdb would be short-sighted, there should be a toplevel directory for the *class* of data. /usr(/lib)/sysimage was suggested on rpm-maint, discussion with other package manager maintainers (all of which put their data to /var) and distros would be good.
- Spec-level hacks might be okay for a distro-specific move solution, for upstream change a migration path within rpm is needed
- The rpmdb directory has - in current upstream default configuration - data that truly is /var material. At least the Berkeley DB environment is such, locks probably too. It'd seem that BDB supports data in different directory from the environment, but that needs to be taken care of. Dunno about the other backends.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20171025/2321bed4/attachment-0001.html>

More information about the Rpm-maint mailing list