Hi All, also readahead-list has some problems with dash as sh. S On 2012-05-05 11:17, Florian Philipp wrote: Am 01.05.2012 18:53, schrieb Florian Philipp:Am 29.04.2012 16:04, schrieb Marc Joliet:Am Sun, 29 Apr 2012 00:20:41 +0200 schrieb Florian Philipp <li...@binarywings.net>:Hi list!Hi,Now that eselect-sh has been stabilized, I'm wondering if anyone has tried setting dash as the /bin/sh symlink. Any experiences?I've been using dash as my /bin/sh for a while now. I've had it installed since June 2009, I suppose I've had the symlink set for the same length of time. Pretty much all incompatibilities I encountered are fixed now, stuff like openrc introducing bashisms (what fun! I never used the debug option of an init script before or since), or the Audacity build system having #!/bin/sh but using bashisms. I seem to recall that I have one package installed that has this problem and requires changing the symlink temporarily, but I don't remember which. It might have been fixed by now, though. Also, the old mysql-init-scripts-1.2 package requires bash, in case that matters to you.The dmcrypt init script also has a single bashism. A bug about this has been open for quiet some time now: https://bugs.gentoo.org/show_bug.cgi?id=408117So I don't think you should expect any problems (save for the rare exception), and for me there was a noticeable speedup with the init system (also reported by Flameeyes in his blog).Thanks in advance! Florian PhilippHTHHi Marc, thanks for the info! I've tried it on one of my systems and in my measurements, it definitely scraped off a few seconds of the reboot cycle. Regards, Florian PhilippI suggest that anyone who wants to switch tries something like this before rebooting to see if the init scripts can be parsed by dash: for i in /etc/init.d/*; do printf '%s\t' "$i"; "$i" status; done Regards, Florian Philipp --
Samuraiii e-mail: samura...@volny.cz GnuPG key ID: 0x80C752EA (obtainable on http://pgp.mit.edu) Full copy of public timestamp block signatures id-14723 (from 2012-05-05 18:00:06) is included in header of html. |
signature.asc
Description: OpenPGP digital signature