On 12/29/21 07:26, Vitaly Zaitsev via devel wrote:
On 29/12/2021 16:01, Ben Cotton wrote:
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.

It will break FHS compatibility. /usr must contain read-only data.


If /usr really is read-only, then it probably doesn't matter where the rpmdb is, since packages can't be installed (generally).

Moreover, for systems where /usr is read-only and/or shared (especially stateless systems), having the rpmdb on /usr seems like the most rational place for it, if one expects to be able to use rpm to query the package list.  Otherwise, there is an implicit coupling of /usr and /var/lib/rpmdb that requires two mounts rather than one.
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to