Now that eselect-sh has been stabilized, I'm wondering if anyone has
tried setting dash as the /bin/sh symlink. Any experiences?
Thanks in advance!
Florian Philipp
04-29-2012, 02:04 PM
Marc Joliet
eselect sh set dash?
Am Sun, 29 Apr 2012 00:20:41 +0200
schrieb Florian Philipp <lists@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.
So 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 Philipp
HTH
--
Marc Joliet
--
"People who think they know everything really annoy those of us who know we
don't" - Bjarne Stroustrup
05-01-2012, 04:53 PM
Florian Philipp
eselect sh set dash?
Am 29.04.2012 16:04, schrieb Marc Joliet:
> Am Sun, 29 Apr 2012 00:20:41 +0200
> schrieb Florian Philipp <lists@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.
>
> So 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 Philipp
>
> HTH
Hi 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 Philipp
05-05-2012, 09:17 AM
Florian Philipp
eselect sh set dash?
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 <lists@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=408117
>> So 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 Philipp
>>
>> HTH
>
> Hi 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 Philipp
I 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 ' "$i"; "$i" status; done
Regards,
Florian Philipp
05-05-2012, 07:30 PM
Samuraiii
eselect sh set dash?
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 <lists@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=408117
So 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 Philipp
HTH
Hi 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 Philipp
I 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 ' "$i"; "$i" status; done
Regards,
Florian Philipp
--
Samuraiii
e-mail: samuraiii@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.