Gentoo Archives: gentoo-user

From: Vaeth <vaeth@××××××××××××××××××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] /bin/sh -> dash?
Date: Mon, 19 Nov 2007 14:36:21
Message-Id: Pine.LNX.4.64.0711191345290.18413@wmax001.mathematik.uni-wuerzburg.de
1 On Sun, 18 Nov 2007, Sean wrote:
2
3 > I'd really like to replace the /bin/sh link to point to a smaller shell,
4 > such as ash or dash instead of the bash default, but that apparently makes
5 > functions.sh _very_ unhappy.
6
7 Use baselayout-2. I use /bin/sh -> dash with baselayout-2 and have no
8 problems with the following exceptions:
9
10 1. Some /etc/init.d scripts of certain packages need patches (I already
11 mailed several bugs with patches, but some are ignored; e.g. udftools
12 still has no working init-file despite new releases and the open bug)
13 So you have to be prepared to continue patching for many releases
14 of some packages.
15 Fortunately, not too many packages are involved (but on the other
16 hand, I do not use too many packages with daemons, so maybe there
17 are many I don't know about)
18
19 2. "man" displays rubbish at the end of the page. As a workaround,
20 I export MANPL=65535, but one should perhaps file a bug upstream.
21 However, I cannot name the cause (but did not look very long for it
22 either).
23
24 3. There were some portage-related tools (but I forgot which one)
25 which displayed textual escape sequences instead of colors
26 (probably, because echo -e is not POSIX). However, this is
27 only a cosmetical issue.
28
29 Martin
30 --
31 gentoo-user@g.o mailing list