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

Re: Patch for bash



On Sat, Aug 28, 1999 at 12:22:37PM +0200, Richard Braakman wrote:
> Anthony Towns wrote:
> > Furthermore, Essential packages are always immediately configured by Apt,
> > so we don't have an issue there either.
> That means we're dropping support for all non-APT dselect methods in
> potato.  I don't think that's a good idea, since people will be upgrading
> from slink, which has a pretty old APT.

Then supporting /bin/sh -> /bin/ash will have to wait until the non-Apt
dselect methods are removed? In which case, the corresponding bug's
severity should probably be set to "wishlist" rather than "important"
or whichever it is.

The only other option would be fork'ing a little program from the preinst
to watch for /bin/sh getting deleted, and reinstate it when that happened.
That strikes me as a really horrible hack; I'd much rather see dselect
methods that don't guarantee essential packages are configured asap
be done away with or fixed.

> Frankly, I think this whole process is too risky for the benefit gained,
> certainly too much risk for a non-maintainer upload, and that we shouldn't
> do it with current tools.

Do note that changing the preinst to a binary can be cleanly separated
from manipulating /bin/sh in the postinst, and that a binary preinst
means that bash can be removed and reinstalled successfully, which was
what Apt was trying to do when everything died (bash has an implicit
pre-dependency on itself).

Cheers,
aj

-- 
Anthony Towns <aj@humbug.org.au> <http://azure.humbug.org.au/~aj/>
I don't speak for anyone save myself. PGP encrypted mail preferred.

 ``The thing is: trying to be too generic is EVIL. It's stupid, it 
        results in slower code, and it results in more bugs.''
                                        -- Linus Torvalds

Attachment: pgpjHblFywipz.pgp
Description: PGP signature


Reply to: