[Ocfs2-tools-devel] Why not link libdlm_lt directly ?

Joel Becker Joel.Becker at oracle.com
Wed Oct 28 21:40:41 PDT 2009


On Wed, Oct 28, 2009 at 09:56:28PM +0200, Andrew Beekhof wrote:
> You've got to be kidding me.
> 
> On Fedora ocfs2-tools sucks in _63Mb_ worth of packages including a
> print server, half of X.org, ghostscript and some CD burning tools.
> Even a full Pacemaker install only brings in 5.6, and thats with
> support for _both_ stacks turned on.

	If ocfs2-tools sucks in 63MB, that's effing wrong.  What all's
in there?  I mean, how on earty is ocfs2-tools pulling in X stuff?
ocfs2console, sure, but not ocfs2-tools.  And even ocfs2console
shouldn't be pulling in cd burning tools!

> [root at pcmk-1 ~]# yum install ocfs2-tools
> 
> [snip]
> 
> Dependencies Resolved

[more snip]

> Total download size: 63 M
> Is this ok [y/N]:  <--- God NO!

	Ok, I'm ready to call "you are a bunch of morons" on the Fedora
folks.  Here are the dependencies of ocfs2-tools on Debian:

--------
1.4.2-1 - libc6 (2 2.7) libcomerr2 (2 1.01) libglib2.0-0 (2 2.16.0)
libncurses5 (2 5.6+20071006-3) libreadline5 (2 5.2) libuuid1 (2 1.05)
debconf (18 0.5)
--------

That's what I expect to see from Fedora and OpenSuSE as well (outside of
debconf, of course).
	Here are the deps from our RHEL5 package:

--------
/bin/bash  
/bin/sh  
/bin/sh  
bash  
chkconfig  
config(ocfs2-tools) = 1.4.3-1.el5
coreutils  
e2fsprogs  
glib2 >= 2.2.3
libc.so.6  
libc.so.6(GLIBC_2.0)  
libc.so.6(GLIBC_2.1)  
libc.so.6(GLIBC_2.2)  
libc.so.6(GLIBC_2.3)  
libc.so.6(GLIBC_2.3.4)  
libc.so.6(GLIBC_2.4)  
libcom_err.so.2  
libdl.so.2  
libdl.so.2(GLIBC_2.0)  
libdl.so.2(GLIBC_2.1)  
libglib-2.0.so.0  
libncurses.so.5  
libreadline.so.5  
libuuid.so.1  
modutils  
net-tools  
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rtld(GNU_HASH)  
util-linux >= 2.12j
which  
--------

Strip out the silly RPM file-deps and you end up with a similarly small
list.
	What are the Fedora folks smoking?

Joel

-- 

"Gone to plant a weeping willow
 On the bank's green edge it will roll, roll, roll.
 Sing a lulaby beside the waters.
 Lovers come and go, the river roll, roll, rolls."

Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127



More information about the Ocfs2-tools-devel mailing list