Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89476 - Sharedcore use flag
Summary: Sharedcore use flag
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-17 18:13 UTC by Kaiting Chen
Modified: 2005-04-18 18:00 UTC (History)
0 users

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 Kaiting Chen 2005-04-17 18:13:20 UTC
Not every user cares about having a statically linked set of core packages. For example, Bash links statically with Ncurses. PAM links with its own berkdb. Etc.

Before, this was important, as to insure that the user could still login if the files in the /usr tree were messed up. And also, if any base libraries had problems, then the core utilities could still be used. However, with livecd's everywhere, this because less important, and some people would prefer to have less bloat.

Ideally, there would even be a nostatic use flag that disables static libraries entirely. But this is a different issue.

Reproducible: Always
Steps to Reproduce:
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-04-17 18:17:31 UTC
IMHO, not having to depend on livecds is better, as being unable to login if /usr can't be mounted (for example needs to be fsck'd) is quite annoying and needs you to have hardware access.
So i don't see the need for something like that.
Comment 2 Kaiting Chen 2005-04-17 18:21:58 UTC
Right. Which is why this is a use flag.
And secondly, /lib isn't always broken. Actually, it hasn't been broken ever since I started on Linux over a year ago.
Statically compiling for instance, Bash, is only useful for when /lib/libncurses.version-numbers is messed up.
And how many times has that file been messed up on your computer?
Comment 3 SpanKY gentoo-dev 2005-04-18 18:00:57 UTC
i dont think added complexity is worth it

we make sure files in /lib /bin /sbin are kept sane and they dont depend on files in /usr

if your / becomes screwed up, sash exists as a static shell with a lot of built in utilities to recover your system

also, having a static bash would break sandbox, which is bad ;)

aaaalso, we force bash to pull in libncurses.a so that ABI changes in ncurses does not affect bash