Fedora rawhide is switching to sqlite database; this is a prime time to finally also move the rpm database to align with what OpenSUSE and rpm-ostree (at least) want. See: - https://bugzilla.redhat.com/show_bug.cgi?id=1838691 - http://lists.rpm.org/pipermail/rpm-maint/2017-October/006681.html - https://github.com/coreos/rpm-ostree/pull/1142 I think the general conclusion there is `/usr/lib/sysimage/rpm`. We'd leave a symlink in `/var/lib/rpm` pointing there.
As already stated in bug 1838691: absolutely not, not at the same time as the sqlite change. Beyond that, the question is why should we bother? For rpm itself there's practically zero benefit but a whole world of pain involved. Align with something else is not much of a reason for going through a painful change, the snapshot case is a better one. What's the state of system snapshot support in Fedora? I don't know.
> What's the state of system snapshot support in Fedora? There are discussions happening now in Workstation WG to use btrfs-by-default and that would allow us doing snapshots quite easily. There is already a plugin for DNF to use snapper (daemon that allows you to backup/restore snapshots). So I think if we move it to /usr/lib, that would be helpful in that effort.
Btrfs by default? That's an old one, lol. Anyway, Colin, if you want to see such a thing happen, I suggest you file this as a system wide change proposal against Fedora >= 34. I've zero motivation to drive such a change myself, but if somebody else wants to do all the required work then I'm not going to say "no" just because. *After the dust from sqlite change has settled*. As in, sqlite has shipped as the default backend in a stable Fedora release.
This bug appears to have been reported against 'rawhide' during the Fedora 33 development cycle. Changing version to 33.
This is for Rawhide still.
This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle. Changing version to 34.
This bug appears to have been reported against 'rawhide' during the Fedora 35 development cycle. Changing version to 35.
This is happening in Fedora Linux 36 now: https://fedoraproject.org/wiki/Changes/RelocateRPMToUsr Closing this bug as a duplicate of the Change bug. *** This bug has been marked as a duplicate of bug 2042099 ***