[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: merged /usr considered harmful (was Re: Bits from the Technical Committee)



On Jul 18, Stephan Verbücheln <verbuecheln@posteo.de> wrote:

> On Sun, 2021-07-18 at 11:13 +0200, Marco d'Itri wrote:
> > I link /var/lib/dpkg/ to somewhere in /usr/, and I think that this is
> > 
> What? No matter whether we merge “/bin” or not, “/usr” should stay
> read-only.
The dpkg database IS read-only as long as you are not installing or 
removing packages, which you cannot do anyway if /usr is read-only.
In other words, the read-only state of the dpkg database is tightly 
coupled with the read-only state of /usr.

The only corner case which would require some more thinking is how to 
handle changing diversions of files in /etc in the systems with the 
read-only /usr, and for the time being "don't do that" could be 
a totally valid solution.

-- 
ciao,
Marco

Attachment: signature.asc
Description: PGP signature


Reply to: