On Wed, Dec 29, 2021 at 02:13:19PM -0500, Nico Kadel-Garcia wrote:
On Wed, Dec 29, 2021 at 12:48 PM Gordon Messmer
<gordon.messmer(a)gmail.com> wrote:
>
> 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).
There are plenty of packages which do not write to /usr/, especially
third party add-ons over in /opt/ .
It makes more sense for /var to be in a separate volume from /usr, than
for /usr and /opt to be in separate volumes though.
Provided /usr and /opt are in the same volume, then snapshotting and
rolling back works as expected.
--
Michel Alexandre Salim
profile:
https://keyoxide.org/michel@michel-slm.name