On Fri, 2010-01-29 at 14:57 +0200, Sergey Rudchenko wrote:
On 1/29/2010 2:38 PM, Hans Ulrich Niedermann wrote:
> On Fri, 29 Jan 2010 09:32:15 +0100
> Ralf Corsepius<rc040203(a)freenet.de> wrote:
>
>
>> Presuming /sbin/lspci is supposed to work without having /usr/
>> mounted, then libpci.so.X needs to reside in /lib|/lib64.
>>
>> Or differently: Everything in /bin and /sbin, must only be
>> dynamically linked against libraries in /lib|/lib64. The fact lspci
>> is linked against /usr/{lib|lib64}/libpci.so.X is a defect.
>>
> I agree.
>
> For the record, the same issue applies to /sbin/lsusb
> and /usr/lib/libusb-0.1.so.4.
>
> I have not checked whether there are other cases.
>
>
What if we link the lspci and lsusb as static binaries? That would allow
us not to break the filesystem architecture and have usable tools.
There's no need for that. Binaries in /bin or /sbin should have their
libraries in /lib rather than /usr/lib . This is perfectly OK under FHS.
--
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Fedora Talk: adamwill AT fedoraproject DOT org
http://www.happyassassin.net