* [gentoo-user] eselect sh set dash? @ 2012-04-28 22:20 Florian Philipp 2012-04-29 14:04 ` Marc Joliet 0 siblings, 1 reply; 5+ messages in thread From: Florian Philipp @ 2012-04-28 22:20 UTC (permalink / raw To: Gentoo User List [-- Attachment #1: Type: text/plain, Size: 184 bytes --] Hi list! 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 [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 262 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] eselect sh set dash? 2012-04-28 22:20 [gentoo-user] eselect sh set dash? Florian Philipp @ 2012-04-29 14:04 ` Marc Joliet 2012-05-01 16:53 ` Florian Philipp 0 siblings, 1 reply; 5+ messages in thread From: Marc Joliet @ 2012-04-29 14:04 UTC (permalink / raw To: Gentoo-User ML [-- Attachment #1: Type: text/plain, Size: 1307 bytes --] 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 [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] eselect sh set dash? 2012-04-29 14:04 ` Marc Joliet @ 2012-05-01 16:53 ` Florian Philipp 2012-05-05 9:17 ` Florian Philipp 0 siblings, 1 reply; 5+ messages in thread From: Florian Philipp @ 2012-05-01 16:53 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 1470 bytes --] 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 [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 262 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] eselect sh set dash? 2012-05-01 16:53 ` Florian Philipp @ 2012-05-05 9:17 ` Florian Philipp 2012-05-05 19:30 ` [gentoo-user] «-»: " Samuraiii 0 siblings, 1 reply; 5+ messages in thread From: Florian Philipp @ 2012-05-05 9:17 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 1955 bytes --] 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\t' "$i"; "$i" status; done Regards, Florian Philipp [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 262 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* [gentoo-user] «-»: [gentoo-user] eselect sh set dash? 2012-05-05 9:17 ` Florian Philipp @ 2012-05-05 19:30 ` Samuraiii 0 siblings, 0 replies; 5+ messages in thread From: Samuraiii @ 2012-05-05 19:30 UTC (permalink / raw To: gentoo-user [-- Attachment #1.1: Type: text/plain, Size: 2479 bytes --] 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\t' "$i"; "$i" status; done > > Regards, > Florian Philipp > -- Samuraiii e-mail: samuraiii@volny.cz <mailto:samuraiii@volny.cz> GnuPG key ID: 0x80C752EA <http://pgp.mit.edu:11371/pks/lookup?search=0x80C752EA&op=vindex&fingerprint=on&exact=on> (obtainable on http://pgp.mit.edu) Full copy of public timestamp block <http://publictimestamp.org> signatures id-14723 (from 2012-05-05 18:00:06) is included in header of html. [-- Attachment #1.2.1: Type: text/html, Size: 8113 bytes --] [-- Attachment #1.2.2: bg-linky.gif --] [-- Type: image/gif, Size: 55 bytes --] [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 262 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-05-05 19:33 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2012-04-28 22:20 [gentoo-user] eselect sh set dash? Florian Philipp 2012-04-29 14:04 ` Marc Joliet 2012-05-01 16:53 ` Florian Philipp 2012-05-05 9:17 ` Florian Philipp 2012-05-05 19:30 ` [gentoo-user] «-»: " Samuraiii
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox