On Thu, Jan 29, 2009 at 9:58 AM, Daenyth Blank <daenyth+arch@gmail.com> wrote:
On Thu, Jan 29, 2009 at 08:20, Dan McGee <dpmcgee@gmail.com> wrote:
So how bad does Arch break by replacing /bin/sh with a link to dash instead of bash? Dash has zero deps, so my guess is we could kill just about any dep cycle involving bash by doing this. There is going to be definite fallout, however, and I haven't tried it in a while.
I don't think that's really the issue here. We determined that the shell is used from the *parent* system, so it's not needed in the new root to run scriptlets and the like.
I don't know how much it would break things, but I do like linking sh to dash in general. Just change the initscripts to use #!/bin/bash instead of /bin/sh (Which they should anyway if they don't, as they use bashisms)
output trimmed: $ grep bash * netfs:#!/bin/bash network:#!/bin/bash rc.local:#!/bin/bash rc.local.shutdown:#!/bin/bash rc.multi:#!/bin/bash rc.shutdown:#!/bin/bash rc.single:#!/bin/bash rc.sysinit:#!/bin/bash