[Rpm-maint] RFC: SUSE/openSUSE's proposed relocation of /var/lib/rpm

Colin Walters walters at verbum.org
Tue Oct 10 18:05:33 UTC 2017

On Mon, Oct 9, 2017, at 11:25 AM, Richard Brown wrote:

> The discussion currently boils down to either copying rpm-ostree and placing our rpmdb in /usr/share/rpm, or
> locating it in /usr/lib/rpmdb

I definitely like the "db" suffix, makes it less of a potential naming clash if
librpm decided to have arch-independent data.

> Product timetables are likely to force SUSE/openSUSE to adopt one of the above options relatively soon, so any
> quick feedback and thoughts will be greatly appreciated. 

My opinion here boils down to: if rpm upstream is happy with /usr/lib/rpmdb,
I'm happy to do the work of changing rpm-ostree to use that.

(Longer version: I don't find the "sharable architecture-independent data" argument to
 be a very strong one today; I'm sure one could find people doing that but
 I suspect most of those people are doing full NFS root or PXE-live + NFS-for-/usr
 etc.  But OTOH, I don't think it'll be difficult for rpm-ostree to make the move,
 and I definitely like the "db" suffix, so I'm ending up as a weak-ish +1)

Random question: Is OpenSUSE planning to make this change for their
container/Docker images too, or just host systems managed via snapper?

More information about the Rpm-maint mailing list