Re: Making init scripts use dash
On 5/18/06, Marco d'Itri <firstname.lastname@example.org> wrote:
On May 18, Margarita Manterola <email@example.com> wrote:
> To make this speed up available to everyone, we have 2 main choices:
> 1. Make /bin/sh point to /bin/dash
> 2. Change #!/bin/sh for #!/bin/dash in the scripts
We have an even simpler choice which already works and does not require
changes in any package: interested people can divert the /bin/sh symlink
to bash and create a new symlink to dash.
This is even documented in /usr/share/doc/bash/README.Debian.gz .
Alternatives are not a good idea because if they break (and they do,
often) for /bin/sh then everything will break, badly.
Good, but i think interested people here are all our users, so what
we're going to do with the 10% performance hit for use bash? I think
Margarita is interested in a solution suitable for Etch and/or Etch+1.
Making dash the default /bin/sh would probably break too many non-debian
packages and changing all init scripts to use dash would mean adding a
new dependency for no good reason.
This is a non-problem.
I think making dash the default /bin/sh for Etch now would probably be
insane yes, but we should focus on solve problems for our next release
(Etch) and what we can do now to prepare a even better Etch+1. This is
the real problem, i'm not talking only about the 'dash' issue.