Re: Making init scripts use dash
On Fri, May 19, 2006 at 03:17:20AM +0200, Goswin von Brederlow wrote:
> Alternatives are more suited for cases where one binary is provided by
> multiple packages. Currently we have bash, dash, sash, posh. Anything
> else?
Alternatives break on a daily basis, I wouldn't trust them for something
as critical as /bin/sh.
What would be much safer is making /bin/sh a small wrapper that first
tries to execute /bin/default-shell (which can be managed with
alternatives) and falls back to hardcoded /bin/bash if that fails.
Gabor
--
---------------------------------------------------------
MTA SZTAKI Computer and Automation Research Institute
Hungarian Academy of Sciences
---------------------------------------------------------
Reply to: