Skip to contentSkip to conversation

moving libhandle to /usr

DISCUSSION Christoph Hellwig 4 participants 6 messages Oct 6, 2009 – Oct 7, 2009

lore
Share & tools
lore
#0 lore raw

Currently we install the versioned libhandle into /lib by default, and all other libraries into /usr. Given that no program in / actually uses libhandle this seems rather awkward to me. From Mike's comments in the past I think Gentoo already installs it into /usr anyway.

Is there anything speaking against moving all libraries to /usr and switching Debian/Fedora to that aswell?

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#1 lore raw
Quoted 8 lines · Christoph Hellwig

Currently we install the versioned libhandle into /lib by default, and all other libraries into /usr. Given that no program in / actually uses libhandle this seems rather awkward to me. From Mike's comments in the past I think Gentoo already installs it into /usr anyway.

Is there anything speaking against moving all libraries to /usr and switching Debian/Fedora to that aswell?

Seems fine to me;

/sbin/fsck.xfs:
not a dynamic executable
/sbin/mkfs.xfs:

	libuuid.so.1 => /lib64/libuuid.so.1 (0x0000003327e00000)
	librt.so.1 => /lib64/librt.so.1 (0x0000003df3e00000)
	libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003df2e00000)
	libc.so.6 => /lib64/libc.so.6 (0x0000003df2200000)
	/lib64/ld-linux-x86-64.so.2 (0x0000003df1e00000)
/sbin/xfs_repair:
	libuuid.so.1 => /lib64/libuuid.so.1 (0x0000003327e00000)
	librt.so.1 => /lib64/librt.so.1 (0x0000003df3e00000)
	libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003df2e00000)
	libc.so.6 => /lib64/libc.so.6 (0x0000003df2200000)
	/lib64/ld-linux-x86-64.so.2 (0x0000003df1e00000)

As you say, nothing in /sbin needs it AFAICT.

-Eric

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#2 lore raw
Quoted 5 lines · ----- "Eric Sandeen
Quoted 2 lines · Christoph Hellwig

Currently we install the versioned libhandle into /lib by default, and all other libraries into /usr. Given that no program in /

actually

Quoted 1 line

uses libhandle this seems rather awkward to me. From Mike's

Quoted 8 lines

comments

Quoted 5 lines

in the past I think Gentoo already installs it into /usr anyway.

Is there anything speaking against moving all libraries to /usr and switching Debian/Fedora to that aswell?

Seems fine to me;

*nod* - looks ok to me too.

Signature · 6 lines
Nathan

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
#3 lore raw
In reply to Christoph Hellwig
Quoted 7 lines · On Tuesday 06 October 2009 11:42:49 Christoph Hellwig wrote:

Currently we install the versioned libhandle into /lib by default, and all other libraries into /usr. Given that no program in / actually uses libhandle this seems rather awkward to me. From Mike's comments in the past I think Gentoo already installs it into /usr anyway.

Is there anything speaking against moving all libraries to /usr and switching Debian/Fedora to that aswell?

xfsdump uses it and xfsdump is installed into / by default right ? so libhandle needs to be in /lib so long as xfsdump is in /sbin. -mike

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#4 lore raw
Quoted 11 lines · Mike Frysinger
Quoted 7 lines · On Tuesday 06 October 2009 11:42:49 Christoph Hellwig wrote:

Currently we install the versioned libhandle into /lib by default, and all other libraries into /usr. Given that no program in / actually uses libhandle this seems rather awkward to me. From Mike's comments in the past I think Gentoo already installs it into /usr anyway.

Is there anything speaking against moving all libraries to /usr and switching Debian/Fedora to that aswell?

xfsdump uses it and xfsdump is installed into / by default right ? so libhandle needs to be in /lib so long as xfsdump is in /sbin.

Indeed, the makefile configuration currently builds it into /, while the configure default uses /usr. Yikes..

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#5 lore raw
Quoted 7 lines · Christoph Hellwig
Quoted 6 lines · Mike Frysinger
Quoted 5 lines · On Tuesday 06 October 2009 11:42:49 Christoph Hellwig wrote:

Currently we install the versioned libhandle into /lib by default, and all other libraries into /usr. Given that no program in / actually uses libhandle this seems rather awkward to me. From Mike's comments in the past I think Gentoo already installs it into /usr anyway.

Quoted 6 lines
Quoted 3 lines
Quoted 2 lines

Is there anything speaking against moving all libraries to /usr and switching Debian/Fedora to that aswell?

xfsdump uses it and xfsdump is installed into / by default right ? so libhandle needs to be in /lib so long as xfsdump is in /sbin.

Indeed, the makefile configuration currently builds it into /, while the configure default uses /usr. Yikes..

argh I did rpm -ql xfsprogs xfsdump | grep bin ... on a box that didn't have xfsdump installed. Argh.

Thanks for the catch Mike ;)

-Eric

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs