binaries and libries in /lib /bin depends on/usr
rc040203 at freenet.de
Sun Jun 4 04:34:09 UTC 2006
On Sat, 2006-06-03 at 06:33 -0400, Rex Dieter wrote:
> Patrice Dumas wrote:
> > Hello,
> > I was under the impression that the commands and libraries in /bin and
> > /lib were meant to be usable without /usr mounted. Is it right?
> > However rpm which is a rather important command requires libraries
> > in /usr/lib:
Right, rpm is broken.
I had reported the same issue for FC4
... but unlike promised, RH's rpm maintainers apparently did not fix it.
> > [dumas at patoune lib]$ ldd /bin/rpm | grep usr
> A related question is: why is rpm in /bin,
Because you need it during installs, when /usr is not yet available.
> and not /usr/bin/? (I'd
> venture to guess this may have something to do with
> anaconda/installer-stage stuff).
Partially. Actual cause is: /usr is optional. A minimal system must be
usable without /usr being available.
More information about the devel