Re: Bug#1035904: dpkg currently warning about merged-usr systems (revisited)
On Mon, May 15, 2023 at 03:43:19PM +0100, Luca Boccassi wrote:
> That is absolutely true, it is not mandatory. It is one possible
> solution (of many) to a particular use case being sounded out, that's
> all. I don't think it was mentioned by anybody as needed, if it was,
> happy to clarify.
I think I did not see the use case for Luca's suggested changes stated
clearly enough in the thread.
Use case: suppose at boot strapping time or at another time the toplevel
don't yet exist or get removed.
Suggested change: To make sure we can unbreak the system, let's make
sure all binaries of *essential packages only* have the following:
* For ELF ones: Interpreter set directly to /usr/<whatever>
* For shell scripts: shell set to /usr/bin/*sh
There seem to be some 32 shell scripts and 260 ELF binaries.
Is this a use case we need to consider? If so: is the suggested fix a
good one? Any other fixes?
--
mail / xmpp / matrix: tzafrir@cohens.org.il
Reply to: