From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SQb9e-000202-Kw for garchives@archives.gentoo.org; Sat, 05 May 2012 09:19:54 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C6102E086E; Sat, 5 May 2012 09:19:38 +0000 (UTC) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by pigeon.gentoo.org (Postfix) with ESMTP id 2A5DBE0828 for ; Sat, 5 May 2012 09:17:54 +0000 (UTC) Received: from compute2.internal (compute2.nyi.mail.srv.osa [10.202.2.42]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id DAD8020D33 for ; Sat, 5 May 2012 05:17:53 -0400 (EDT) Received: from frontend1.nyi.mail.srv.osa ([10.202.2.160]) by compute2.internal (MEProxy); Sat, 05 May 2012 05:17:53 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=binarywings.net; h=message-id:date:from:mime-version:to:subject:references :in-reply-to:content-type; s=mesmtp; bh=2WH40XuD9/Ga4H0tBRZ0p1H6 XFk=; b=R5uEUm14UTt7tcypi/5Je07xI5DFy/Nusag0ybzELSYc/pkmcXAtqDJB 76dhy854OEoOUfjSARxCK2hUSPzW47EFZyW5GM8YwvykSpzNFC1vHOHSICCeEwDY PoZ6nBFfXLBLzRXj8S99FZFMiVknZZT6tzNFGeNKI46MrotGZAM= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:date:from:mime-version:to :subject:references:in-reply-to:content-type; s=smtpout; bh=2WH4 0XuD9/Ga4H0tBRZ0p1H6XFk=; b=V0gbkIyes0pjfpr1NK2jA6Qh/DMTHmEObx2N J16X29A2FaB+b8IxZMMFMCkDwFsAc5gzKfR2ySA3gbrvCZFBvEuH5yEvElxqeIuM jaWLG1sbRjBg2AULIIBNcrCYfRnb0iDTSSoKE//MGrMZooObzZXXUsVqH5QxhKbK cZ8qW58= X-Sasl-enc: 1mPT42gAzutgDFdPCYTmaTrLmCPH/uAsK5UoEesc9TI/ 1336209473 Received: from [192.168.5.18] (serv.binarywings.net [83.169.5.6]) by mail.messagingengine.com (Postfix) with ESMTPSA id 51ED58E0120 for ; Sat, 5 May 2012 05:17:53 -0400 (EDT) Message-ID: <4FA4F03B.4030908@binarywings.net> Date: Sat, 05 May 2012 11:17:47 +0200 From: Florian Philipp User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.3) Gecko/20120324 Thunderbird/10.0.3 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] eselect sh set dash? References: <4F9C6D39.7020201@binarywings.net> <20120429160454.52ce421c@marcec.huntemann.uni-oldenburg.de> <4FA0151A.3060205@binarywings.net> In-Reply-To: <4FA0151A.3060205@binarywings.net> X-Enigmail-Version: 1.3.5 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig421B8A383E729B9103212CE3" X-Archives-Salt: 9fabc5e9-4e3b-47e2-9500-4f2f5ec5a07e X-Archives-Hash: 226784a758b52e42519f3a790afde553 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig421B8A383E729B9103212CE3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 : >> >>> Hi list! >> >> Hi, >> =20 >>> 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 instal= led since >> June 2009, I suppose I've had the symlink set for the same length of t= ime. >> >> Pretty much all incompatibilities I encountered are fixed now, stuff l= ike >> openrc introducing bashisms (what fun! I never used the debug option o= f 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 tha= t has this >> problem and requires changing the symlink temporarily, but I don't rem= ember >> which. It might have been fixed by now, though. >> >> Also, the old mysql-init-scripts-1.2 package requires bash, in case th= at 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=3D408117 >> So I don't think you should expect any problems (save for the rare exc= eption), >> and for me there was a noticeable speedup with the init system (also r= eported >> by Flameeyes in his blog). >> >>> Thanks in advance! >>> Florian Philipp >> >> HTH >=20 > Hi Marc, >=20 > 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 cyc= le. >=20 > 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 --------------enig421B8A383E729B9103212CE3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk+k8D8ACgkQqs4uOUlOuU9A4gCffAPZPMuyAmjvb3TTf48D+/Gh ra8An3PE2VNpTOIr17jBzZa+nZ4HXGEE =82X0 -----END PGP SIGNATURE----- --------------enig421B8A383E729B9103212CE3--