1 |
This erroneously appeared in -user and was appropiately ignored ;-) |
2 |
|
3 |
Can somone with a bit more time than I have take a look? |
4 |
|
5 |
//Spider |
6 |
|
7 |
|
8 |
|
9 |
begin forwarded message: |
10 |
|
11 |
Date: Tue, 22 Apr 2003 19:14:05 +0200 |
12 |
From: Björn Lindström <bkhl@×××××××××××××.se> |
13 |
To: gentoo-user@g.o |
14 |
Subject: [gentoo-user] Gentoo's trouble with /bin/sh |
15 |
|
16 |
|
17 |
A while ago, after emerging the app-shells/ash .ebuild (still unstable), |
18 |
I noticed that some essential bash-scripts in Gentoo, including qpkg, |
19 |
are erroneously marked as sh-scripts. Also, /etc/profile includes |
20 |
bash-specific settings with broken tests to see if the shell really is |
21 |
bash. |
22 |
|
23 |
Following this, I started a short discussion on the forums about this. |
24 |
(http://forums.gentoo.org/viewtopic.php?t=46245) |
25 |
|
26 |
In short, I suggested that Gentoo adopt the Debian /bin/sh-policy, |
27 |
quoted in the forum. |
28 |
|
29 |
I was given the quite obvious suggestion to file bug reports for these |
30 |
problems, since it is in all cases really easy to fix, without |
31 |
disadvantages for anyone. |
32 |
|
33 |
Here are my reports. |
34 |
|
35 |
http://bugs.gentoo.org/show_bug.cgi?id=18914 |
36 |
http://bugs.gentoo.org/show_bug.cgi?id=18915 |
37 |
http://bugs.gentoo.org/show_bug.cgi?id=18918 |
38 |
http://bugs.gentoo.org/show_bug.cgi?id=19782 |
39 |
|
40 |
Also vaguely related: |
41 |
|
42 |
http://bugs.gentoo.org/show_bug.cgi?id=18922 |
43 |
|
44 |
As you can see from the responses, almost none of these errors has been |
45 |
fixed, the responsible developers at best seems to have no idea that |
46 |
bash is not bourne shell, at worst start refering to the FHS (sic), |
47 |
obviously without knowing what they are talking about. |
48 |
|
49 |
Apart from the value of keeping Gentoo as POSIX compliant, this is bad |
50 |
because a lot of performance-conscious Gentoo-users will probably want |
51 |
to link /bin/sh to ash, saving precious memory and CPU-time, when that |
52 |
shell interpreter gets marked stable in portage. |
53 |
|
54 |
Also, I might add that I have /bin/sh linked to /bin/ash for a couple of |
55 |
months now with no problems, after doing the fixes in the mentioned bug |
56 |
reports. So I can safely urge you that are so inclined to try it out. |
57 |
|
58 |
-- |
59 |
Björn Lindström <bkhl@×××××××××××××.se> |
60 |
Home page: http://hem.fyristorg.com/bkhl/ |
61 |
Blog: http://bkhl.livejournal.com/ |
62 |
Elektrubadur demo: http://hem.fyristorg.com/bkhl/elektrubadur/ |
63 |
|
64 |
|
65 |
-- |
66 |
gentoo-user@g.o mailing list |
67 |
|
68 |
|
69 |
|
70 |
-- |
71 |
begin .signature |
72 |
This is a .signature virus! Please copy me into your .signature! |
73 |
See Microsoft KB Article Q265230 for more information. |
74 |
end |