On 1/3/22 15:36, Lennart Poettering wrote:
On Mo, 03.01.22 14:15, Florian Weimer (fweimer(a)redhat.com) wrote:
> * Lennart Poettering:
>
>> Can you provide an example for such feature requests? i.e. where the
>> rpmdb should be writable even though /usr is assumed to be immutable?
>
> Maybe if RPM is used to install software under /opt?
I'd argue that conceptually /opt and /usr should be seen as the same
thing for RPM: i.e. during update time both are writable and outside
of updates they are both to be considered read-only from RPM's
PoV. Hence it should be fine too put the rpmdb in /usr/ too in that
case.
Or with other words: if RPM is used to install something in /opt, it
should be fine to require that both /usr and /opt are writable then.
It does seem a bit controversial to require /usr of all things to be
writable to be install into /opt, /etc, /boot and whatnot.
- Panu -