Re: bash package removing /bin/sh on upgrade

1999-10-04 Thread Raul Miller
On Mon, Oct 04, 1999 at 01:58:07PM +1000, Anthony Towns wrote: > One benefit always moving it has, is that it tests all code paths on upgrade > (including the "add a /bin/sh symlink") which makes it more likely to catch > any bugs while we're still working on potato. > > I don't see how this makes

Re: bash package removing /bin/sh on upgrade

1999-10-04 Thread Anthony Towns
On Sun, Oct 03, 1999 at 07:09:14PM -0400, Raul Miller wrote: > On Mon, Oct 04, 1999 at 02:10:45AM +1000, Anthony Towns wrote: > > (What is the problem with --rename, btw? I'm curious, and dpkg-divert is > > horribly underdocumented) > >From dpkg-divert --help: > --rename causes dpkg-divert to actua

Re: bash package removing /bin/sh on upgrade

1999-10-03 Thread Raul Miller
On Mon, Oct 04, 1999 at 02:10:45AM +1000, Anthony Towns wrote: > (What is the problem with --rename, btw? I'm curious, and dpkg-divert is > horribly underdocumented) >From dpkg-divert --help: --rename causes dpkg-divert to actually move the file aside (or back). There's no reason to remove the /

Re: bash package removing /bin/sh on upgrade

1999-10-03 Thread Anthony Towns
On Sun, Oct 03, 1999 at 11:28:31AM -0400, Raul Miller wrote: > On Sun, Oct 03, 1999 at 11:55:54PM +1000, Anthony Towns wrote: > > *shrug* Name a case where it fails. > You don't remember the problems when libreadline broke? Yes, I do. That's not related to bash, it's related to having bash implici

Re: bash package removing /bin/sh on upgrade

1999-10-03 Thread Raul Miller
On Sun, Oct 03, 1999 at 09:44:25AM -0400, Raul Miller wrote: > > On Sat, Oct 02, 1999 at 12:30:04PM +1000, Anthony Towns wrote: > > > Just having /bin/sh included in the .deb is Good Enough -- diversions > > > work as designed. > > Good Enough is not good enough (TM). On Sun, Oct 03, 1999 at 11:55

Re: bash package removing /bin/sh on upgrade

1999-10-03 Thread Raul Miller
On Sun, Oct 03, 1999 at 10:07:03AM -0400, Daniel Burrows wrote: > On Sun, Oct 03, 1999 at 09:44:25AM -0400, Raul Miller was heard to say: > > A wonderfuly horrible hack has occurred to me, by the way: A cron job > > which runs every minute: /bin/sh -c exit || /sbin/rebuild-bin-sh > > Hmm. Ther

Re: bash package removing /bin/sh on upgrade

1999-10-03 Thread Daniel Burrows
On Sun, Oct 03, 1999 at 09:44:25AM -0400, Raul Miller was heard to say: > A wonderfuly horrible hack has occurred to me, by the way: A cron job > which runs every minute: /bin/sh -c exit || /sbin/rebuild-bin-sh Hmm. There's a bit of a problem here: aren't cronjobs executed with /bin/sh? :)

Re: bash package removing /bin/sh on upgrade

1999-10-03 Thread Anthony Towns
On Sun, Oct 03, 1999 at 09:44:25AM -0400, Raul Miller wrote: > On Sat, Oct 02, 1999 at 12:30:04PM +1000, Anthony Towns wrote: > > Just having /bin/sh included in the .deb is Good Enough -- diversions > > work as designed. > Good Enough is not good enough (TM). *shrug* Name a case where it fails.

Re: bash package removing /bin/sh on upgrade

1999-10-03 Thread Raul Miller
On Fri, Oct 01, 1999 at 08:36:01AM -0400, Ivan E. Moore II wrote: > > > yea...I just did an update today and something decided to remove > > > /bin/sh during the upgrade...and didn't put it back before it > > > was needed... so if something hoses for you just recreate it by > > > linking it to like

Re: bash package removing /bin/sh on upgrade

1999-10-02 Thread Anthony Towns
On Fri, Oct 01, 1999 at 03:00:51PM +0200, Torsten Landschoff wrote: > On Fri, Oct 01, 1999 at 08:36:01AM -0400, Ivan E. Moore II wrote: > > yea...I just did an update today and something decided to remove /bin/sh > > during the upgrade...and didn't put it back before it was needed... > > so if some

Re: bash package removing /bin/sh on upgrade

1999-10-01 Thread Raul Miller
On Fri, Oct 01, 1999 at 03:00:51PM +0200, Torsten Landschoff wrote: > If somebody could come up with a better method of handling this it would be > most welcome. I'd suggest releasing a bash (which doesn't use #!/bin/sh scripts for install/remove) that, in postinst, divert's bash's /bin/sh. Leave

Re: bash package removing /bin/sh on upgrade

1999-10-01 Thread Joel Klecker
At 15:00 +0200 1999-10-01, Torsten Landschoff wrote: I am the person responsible for this problem. In fact the problem was that people did not want the bash package to override their /bin/sh link so it had to be removed from the package. Those people need to learn to use diversions (and yes, you ca

Re: bash package removing /bin/sh on upgrade

1999-10-01 Thread James Troup
Torsten Landschoff <[EMAIL PROTECTED]> writes: > If somebody could come up with a better method of handling this it would be > most welcome. Don't do it (muck around with /bin/sh links). Guy made a comment in the bug report about this and AFAIK didn't do it yet in case of breakages like this. -

bash package removing /bin/sh on upgrade

1999-10-01 Thread Torsten Landschoff
On Fri, Oct 01, 1999 at 08:36:01AM -0400, Ivan E. Moore II wrote: > yea...I just did an update today and something decided to remove /bin/sh > during the upgrade...and didn't put it back before it was needed... > so if something hoses for you just recreate it by linking it to like > bash... I am t