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

Re: Switching the default /bin/sh to dash



On Wed, Jun 24, 2009 at 05:51:58PM -0500, Raphael Geissert wrote:
> Side effects:
> * Errors caused by the use of bashisms.

And the really important side-effect is that user scripts on all sorts
of installed systems could experience trouble.

> * Faster boot, builds, and general usage of /bin/sh scripts.

That could be accomplished by just setting the bangpath different,
right?

> * Reduced memory footprint when running /bin/sh scripts.

That's a nice thing.

Both of these are nice to have, of course, but we need to make sure
this is documented explicitly, well, and in BIG UPPERCASE LETTERS in
the release notes.  This could be a significant issue at companies
that have done a lot of scripting outside the archive.

> * It's been more than three years since Ubuntu made the switch,
>    without all the extra bashisms-hunting Debian has done,
>    without rolling it back.

Not necessarily relevant.  They have a reputation (whether deserved or
not is a different discussion) of breaking people's machines on
upgrade, and don't have the server penetration Debian does either.

-- John


Reply to: