Gentoo Logo
Gentoo Spaceship

Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
To: gentoo-dev <gentoo-dev@g.o>
From: Spider <spider@g.o>
Subject: Fw: [gentoo-user] Gentoo's trouble with /bin/sh
Date: Thu, 24 Apr 2003 05:19:06 +0200
This erroneously appeared in -user and was appropiately ignored ;-)

Can somone with a bit more time than I have take a look?


begin  forwarded message:

Date: Tue, 22 Apr 2003 19:14:05 +0200
From: Björn Lindström <bkhl@...>
To: gentoo-user@g.o
Subject: [gentoo-user] Gentoo's trouble with /bin/sh

A while ago, after emerging the app-shells/ash .ebuild (still unstable),
I noticed that some essential bash-scripts in Gentoo, including qpkg,
are erroneously marked as sh-scripts. Also, /etc/profile includes
bash-specific settings with broken tests to see if the shell really is

Following this, I started a short discussion on the forums about this.

In short, I suggested that Gentoo adopt the Debian /bin/sh-policy,
quoted in the forum.

I was given the quite obvious suggestion to file bug reports for these
problems, since it is in all cases really easy to fix, without
disadvantages for anyone.

Here are my reports.

Also vaguely related:

As you can see from the responses, almost none of these errors has been
fixed, the responsible developers at best seems to have no idea that
bash is not bourne shell, at worst start refering to the FHS (sic),
obviously without knowing what they are talking about.

Apart from the value of keeping Gentoo as POSIX compliant, this is bad
because a lot of performance-conscious Gentoo-users will probably want
to link /bin/sh to ash, saving precious memory and CPU-time, when that
shell interpreter gets marked stable in portage.

Also, I might add that I have /bin/sh linked to /bin/ash for a couple of
months now with no problems, after doing the fixes in the mentioned bug
reports. So I can safely urge you that are so inclined to try it out.

Björn Lindström <bkhl@...>
Home page:
Elektrubadur demo:

gentoo-user@g.o mailing list

begin  .signature
This is a .signature virus! Please copy me into your .signature!
See Microsoft KB Article Q265230 for more information.
pgpPePtXRpCdd.pgp (PGP signature)
Re: Fw: [gentoo-user] Gentoo's trouble with /bin/sh
-- Grant Goodyear
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Ebuilds not getting in :(
Next by thread:
Re: Fw: [gentoo-user] Gentoo's trouble with /bin/sh
Previous by date:
Re: User-Submitted Ebuild Maintainer?
Next by date:
Re: Ebuilds not getting in :(

Updated Jun 17, 2009

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.