From: Harm Geerts <harmgeerts@home.nl>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: Dash as /bin/sh?
Date: Fri, 1 Sep 2006 16:33:01 +0200 [thread overview]
Message-ID: <200609011633.01238.harmgeerts@home.nl> (raw)
In-Reply-To: <20060901150523.3ef91b12@hactar.digimed.co.uk>
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
next prev parent reply other threads:[~2006-09-01 14:40 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-01 8:45 [gentoo-user] Dash as /bin/sh? Alexander Skwar
2006-09-01 9:17 ` asl.pavel
2006-09-01 10:13 ` Erik
2006-09-01 11:09 ` [gentoo-user] " Alexander Skwar
2006-09-01 11:03 ` [gentoo-user] " Neil Bothwick
2006-09-01 14:05 ` Neil Bothwick
2006-09-01 14:33 ` Harm Geerts [this message]
2006-09-01 15:21 ` [gentoo-user] " Neil Bothwick
2006-09-02 2:06 ` Harm Geerts
2006-09-02 2:57 ` Jerry McBride
2006-09-02 5:58 ` Richard Fish
2006-09-02 18:10 ` Neil Bothwick
2006-09-02 18:38 ` Jerry McBride
2006-09-03 11:49 ` [gentoo-user] " Alexander Skwar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200609011633.01238.harmgeerts@home.nl \
--to=harmgeerts@home.nl \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox