Am 10.01.2022 um 18:57 schrieb Alexander Sosedkin
<asosedkin(a)redhat.com>:
On Mon, Jan 10, 2022 at 5:20 PM David Cantrell <dcantrell(a)redhat.com> wrote:
>
> On Wed, Dec 29, 2021 at 10:01:57AM -0500, Ben Cotton wrote:
>>
https://fedoraproject.org/wiki/Changes/RelocateRPMToUsr
>>
>> == Summary ==
>> Currently, the RPM databases is located in `/var`. Let's move it to
>> `/usr`. The move is already under way in rpm-ostree-based
>> installations, and in (open)SUSE.
>> [snip]
> ...
The whole proposal is kinda sad to read.
It's 2022 and we're catering to filesystem-level rollbacks.
Filesystem rollbacks *are* a gigantic unsubtle hammer
that should not be used in an automated manner,
or better yet, not used at all.
As much as you don't do filesystem rollbacks
to undo paragraph deletions in Libreoffice Writer,
you shouldn't do filesystem rollbacks to fix your system.
That's your package manager's / configuration manager's job.
Well, os-tree is doing filesystem rollback / -rollforward by architecture. If you want to
feed rpm into it, it may be tricky.
But this argues for just moving rpmdb for rpm-oss-tree, since os-tree has its own logic
anyway. No need and no advantage to do it for non-rpm-os-tree systems as well.