[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mv /usr/lib/gconv/*.so /lib/gconv/ ???
From: |
Andreas Jaeger |
Subject: |
Re: mv /usr/lib/gconv/*.so /lib/gconv/ ??? |
Date: |
Sun, 06 Jan 2002 10:44:23 +0100 |
User-agent: |
Gnus/5.090005 (Oort Gnus v0.05) XEmacs/21.4 (Artificial Intelligence, i386-suse-linux) |
matt farnsworth <address@hidden> writes:
> My system uses 3 drives to distribute system files for performance, other
> system layouts may not experience this problem.
> Example:
> /dev/sda1 /
> /dev/hda5 /usr/
> /dev/sda2 /usr/lib
>
> My distribution (Mandrake 8.2) uses sh with dynamic libraries, and some init
> scripts use sh. lsof verifies that sh is using a lib.so in
> /usr/lib/gconv. I think some functions in glibc may depend on calling
What's the exact output of lsof?
> functions from LOCALE/terminfo selected libs in /usr/lib/gconv/, but I'm
> just guessing here.
I don't think that sh uses gconv. What's your locale setting? Try
not setting a locale as root.
> PROBLEM:
> When I shutdown or reboot, /usr partition can not be unmounted because
> /usr/lib can not be unmounted because files are still in use. My /usr/lib
> is rather large and booting takes forever to fsck, since I have to power off
> to get out. This is very unclean and I've found it quite difficult to
> diagnose what program/service/deamon is holding a file in /usr/lib. Ohter
> filesystems such as /var may also be left unclosed.
Why not remount /usr/lib read-only?
>
> SOLUTIONS:
> move /usr/lib/conv to /lib/conv
> recomplile sh to use static libs
>
> OTHER DIAGNOSTICS:
> ???
>
> QUESTIONS:
> If I move /usr/lib/gconv/*.so /lib/gconv/ must I softlink
> /usr/lib/gconv -> /lib/conv to avoid breaking glibc or will ldconf handle
> it?
You must softlink it.
> How do other distributions handle this?
> Is there a better solution?
> What are the real dependancies/relationships?
> nm and ar don't recognize these libraries format, what is the correct
> tool? (readelf provides strange values - some names are numbers?)
I don't understand the problems with nm/ar and readelf you have.
Please give more details,
Andreas
--
Andreas Jaeger
SuSE Labs address@hidden
private address@hidden
http://www.suse.de/~aj