From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GJACA-0006cF-3H for garchives@archives.gentoo.org; Fri, 01 Sep 2006 14:40:34 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k81EdEpl015942; Fri, 1 Sep 2006 14:39:14 GMT Received: from smtpq3.tilbu1.nb.home.nl (smtpq3.tilbu1.nb.home.nl [213.51.146.202]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k81EX4Qv006735 for ; Fri, 1 Sep 2006 14:33:04 GMT Received: from [213.51.146.190] (port=54663 helo=smtp1.tilbu1.nb.home.nl) by smtpq3.tilbu1.nb.home.nl with esmtp (Exim 4.30) id 1GJA4t-0007TO-QD for gentoo-user@lists.gentoo.org; Fri, 01 Sep 2006 16:33:03 +0200 Received: from cc117081-a.gorre1.fr.home.nl ([217.120.145.219]:34069 helo=manuel.fawlty.mine.nu) by smtp1.tilbu1.nb.home.nl with esmtp (Exim 4.30) id 1GJA4s-0004Ew-6L for gentoo-user@lists.gentoo.org; Fri, 01 Sep 2006 16:33:02 +0200 From: Harm Geerts To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Re: Dash as /bin/sh? Date: Fri, 1 Sep 2006 16:33:01 +0200 User-Agent: KMail/1.9.4 References: <2102237.F9AAudgNz4@work.message-center.info> <20060901120335.48773864@hactar.digimed.co.uk> <20060901150523.3ef91b12@hactar.digimed.co.uk> In-Reply-To: <20060901150523.3ef91b12@hactar.digimed.co.uk> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200609011633.01238.harmgeerts@home.nl> X-AtHome-MailScanner-Information: Neem contact op met support@home.nl voor meer informatie X-AtHome-MailScanner: Found to be clean X-Archives-Salt: be95f263-5224-4caa-9b1f-529a1db95b72 X-Archives-Hash: 4e2462a99a42069eff64dd2cf462555d On Friday 01 September 2006 16:05, Neil Bothwick wrote: > On Fri, 1 Sep 2006 12:03:35 +0100, Neil Bothwick wrote: > > I saw no errors, so they are certainly WFM compliant :) > > Or not. The boot process worked fine, but some scripts started failing > once the desktop was working. The first, somewhat appropriately, was > sux. It works from a VC but errors out in an xterm with > > exec: 1: -l: not found > > I tried ash, only a few K larger than dash. This gave the same speed > improvement and the same errors :( You can force sux to use bash. Just replace the first line in /usr/bin/sux with "#!/bin/bash" You'd have to do the same for all scripts that depend on bash functionality. Speaking of which, you probably should see the shell used in the scripts from the sys-apps/baselayout package. All shell scripts use /bin/bash and not /bin/sh. So linking (d)ash as the default shell doesn't nearly have the impact you'd like it to have. -- gentoo-user@gentoo.org mailing list