On 6 October 2014 00:06, Paolo Bonzini <pbonz...@redhat.com> wrote: > Il 02/10/2014 11:04, Zdenek Kabelac ha scritto: > > It used to give significant boost for automake & libtool based software > > - however at some point libtool started to use bashisms and so you > > cannot just replace /bin/sh -> dash - as build will fail. > > This is wrong. > > libtool detects whether you can use bashisms, and falls back to POSIX > shell constructs if it cannot use them. The non-POSIX constructs are > usually faster because they do not need to fork() the shell. Autoconf > does the same. dash rejects some of these constructs, and accept others. >
Actually this might be the most important item in the whole conversation about moving to dash. If dash excepts some bashisms and not others... it isn't a 'default posix' shell and we really need someone to audit it and not expect that just because XYZ project uses it.. that they audited it. [And no this isn't a I want to keep bash as root shell argument, I don't really care what the default exec is as much as it is audited and secure. While it is clear that bash hasn't been that iwth only one maintainer.. I have no idea about dash and I am not sure who does.] -- Stephen J Smoogen.
-- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct