Moving lspci and setpci from /sbin to /usr/sbin?

Hans Ulrich Niedermann hun at n-dimensional.de
Fri Jan 29 12:38:28 UTC 2010


On Fri, 29 Jan 2010 09:32:15 +0100
Ralf Corsepius <rc040203 at 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.

-- 
Hans Ulrich Niedermann


More information about the devel mailing list