dash ( and the new world order )

Rocco Stanzione grasshopper at linuxkungfu.org
Fri Sep 15 14:11:59 BST 2006


On Friday 15 September 2006 3:18 am, Ante Karamatic wrote:
[snip]
> But upstart executes same scripts which init executes also. Bringing
> back bash instead od dash would result in slower boot with both init and
> upstart. Upstart doesn't speed up booting (it can/could be side effect,
> but not main goal). Booting is faster due dash.

This answers my original question (why dash?).  If it's because dash makes 
bootup faster, and if there are a lot of third-party (and a few dangling 
ubuntu) scripts and Makefiles that are not compliant and will break under 
dash, what about this solution:

During bootup, sh is /bin/dash.  That gets us the improved start time.  At the 
end of that process, we re-link sh to bash.  That costs (as far as I can 
tell) practically nothing, and we eliminate the problems I (for one) have 
been seeing.

Rocco



More information about the ubuntu-devel mailing list