Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 457768 - eselect-sh should be pulled in by @system or virtual/shell or app-shells/* or (...)
Summary: eselect-sh should be pulled in by @system or virtual/shell or app-shells/* or...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Low enhancement with 2 votes (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-15 22:47 UTC by Roman Žilka
Modified: 2013-02-18 05:52 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Žilka 2013-02-15 22:47:37 UTC
/bin/sh is a crucial symlink in the system. For a couple of years now we've had the "sh" eselect module to handle it, yet the module is not pulled in by any package at all. I propose that app-admin/eselect-sh be included either in @system, or in [R|P]DEPEND of everything in app-shells, or in RDEPEND of virtual/shell (which would be created).

By the way, there might be further uses for a virtual/shell or something of that sort. For example, @system might not enforce bash. Well, if other packages in @system actually build and run with an alternative shell, that is.

Reproducible: Always
Comment 1 Denis M. (Phr33d0m) 2013-02-15 23:36:19 UTC
Switching shells is always problematic. A lot of build systems expect bash and if they find something else they'll fail. Probably that's why eselect-sh is there but isn't pulled by anything.

I assigned base-system but I guess they'll agree with me that this will only bring unnecesary problems.

If you want to simply switch your users to some other shell (zsh?) there are better ways to do that.
Comment 2 SpanKY gentoo-dev 2013-02-18 05:52:51 UTC
eselect-sh does *not* belong in @system or bash (the default shell provider).  for most people and thus the default), there is no need to mess with /bin/sh.

whether people want to include it as a dependency in the alternative shells, i don't really care.