Mailinglist Archive: opensuse-factory (826 mails)

< Previous Next >
Re: [opensuse-factory] RFC: Proposed relocation of /var/lib/rpm
On Wed, Oct 04, Marcus Rueckert wrote:

On 2017-10-04 12:59:34 +0000, Dominique Leuenberger / DimStar wrote:
On Wed, 2017-10-04 at 14:37 +0200, Marcus Rueckert wrote:
tbh ... /etc/rpm/db would be a path i could live with ...
/usr/share/rpm
feels wrong to me. this is a path where i would expect static data.

/etc feels wrong in different ways: the rpm db is not any file we
expect an admin to go fiddle and change content of it

Most correct would likely be /usr/lib/something - but what is the
benefit over /usr/share (except improved feeling) compared to being
able to share patchwork with another distro?

/usr is more or less static for me. no modified data in it. /etc/ is
configuration at least.

The RPM database is as static as any other file in /usr. It is only
modified, if you modify files in /usr. It is not modified, if you
modify files in /etc.
So according to your own argumentation, the rpmdb should be in /usr.

Beside that moving the rpm database to /etc does not solve any
problem, but the result would be even worse than with /var/lib.

And if somebody finally finishes the /bin -> /usr move, having
the RPMDB outside of /usr doesn't make any sense anymore.

which also bring the question ... does someone have a reference to the
fedora/redhat discussion about this subject? it might short cut the
whole discussion.

I don't think there was any dicussion, Red Hat decided to do so for
RPM-Ostree, since they had no choice.

Thorsten
--
Thorsten Kukuk, Distinguished Engineer, Senior Architect SLES & CaaSP
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany
GF: Felix Imendoerffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nuernberg)
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >