[Rpm-maint] RFC: Relocate RPM and DNF databases to /usr
Panu Matilainen
pmatilai at redhat.com
Thu Dec 16 08:24:33 UTC 2021
On 12/16/21 00:34, Florian Weimer wrote:
> * Chris Murphy:
>
>> Fedora 36 seems like a good time to do this. What do you think?
>
> It's a bit odd to locate a database under /usr that isn't pre-built and
> installed. I guess in theory there could be systems with a read-only
> /usr out there that still allow installation of packages into /opt.
It does seem strange and downright blasphemous at first yes, but
whenever rpm is in operation /usr will need to be read-write anyway. And
since that the db data actually describes the data on disk, rather than
being an activity log or such, there is a case to be made for rpmdb
being on /usr.
> Does it really help to improve the snapshot situation? What about
> software under /opt? Maybe this needs multiple RPM databases
> eventually, roughly aligned along file system boundaries.
Packages can and do cross filesystem boundaries in unpredictable ways,
multiple rpmdb's is mostly just a problem in itself...
- Pabnu -
>
> Thanks,
> Florian
>
> _______________________________________________
> Rpm-maint mailing list
> Rpm-maint at lists.rpm.org
> http://lists.rpm.org/mailman/listinfo/rpm-maint
>
More information about the Rpm-maint
mailing list