Subject: Re: Serious shared library lossage with OpenSSL and Heimdal
To: Jason Thorpe <thorpej@wasabisystems.com>
From: Love <lha@stacken.kth.se>
List: tech-userlevel
Date: 09/24/2003 23:51:51
--=-=-=
Content-Transfer-Encoding: quoted-printable


Love <lha@stacken.kth.se> writes:

> Jason Thorpe <thorpej@wasabisystems.com> writes:
>
>> This is the classic "dependent shared library didn't get its major
>> bumped" problem.  In short:
>
> ops.
>
>> I suggest we bump libkrb5's major number to 19 ASAP.  We then also
>> need to hunt down any other libraries out there that depend on libkrb5
>> and adjust them accordingly.
>
> On top of my head, in our tree that would be libgssapi, libkadm5clnt,
> libkadm5srv, libkafs, libhdb.

How about this then ?

Love

Index: lib/libgssapi/shlib_version
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /sources/netbsd/NetBSD-cvs/src/lib/libgssapi/shlib_version,v
retrieving revision 1.6
diff -u -r1.6 shlib_version
=2D-- lib/libgssapi/shlib_version	15 May 2003 20:58:43 -0000	1.6
+++ lib/libgssapi/shlib_version	24 Sep 2003 21:44:36 -0000
@@ -1,5 +1,5 @@
 #	$NetBSD: shlib_version,v 1.5 2001/09/10 11:18:43 simonb Exp $
 #	Remember to update distrib/sets/lists/base/shl.* when changing
 #
=2Dmajor=3D4
=2Dminor=3D1
+major=3D5
+minor=3D0
Index: lib/libkadm5clnt/shlib_version
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /sources/netbsd/NetBSD-cvs/src/lib/libkadm5clnt/shlib_version,v
retrieving revision 1.5
diff -u -r1.5 shlib_version
=2D-- lib/libkadm5clnt/shlib_version	10 Sep 2001 11:18:44 -0000	1.5
+++ lib/libkadm5clnt/shlib_version	24 Sep 2003 21:44:50 -0000
@@ -1,5 +1,5 @@
=2D#	$NetBSD$
+#	$NetBSD: shlib_version,v 1.5 2001/09/10 11:18:44 simonb Exp $
 #	Remember to update distrib/sets/lists/base/shl.* when changing
 #
=2Dmajor=3D7
+major=3D8
 minor=3D0
Index: lib/libkadm5srv/shlib_version
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /sources/netbsd/NetBSD-cvs/src/lib/libkadm5srv/shlib_version,v
retrieving revision 1.5
diff -u -r1.5 shlib_version
=2D-- lib/libkadm5srv/shlib_version	10 Sep 2001 11:18:44 -0000	1.5
+++ lib/libkadm5srv/shlib_version	24 Sep 2003 21:44:58 -0000
@@ -1,5 +1,5 @@
=2D#	$NetBSD$
+#	$NetBSD: shlib_version,v 1.5 2001/09/10 11:18:44 simonb Exp $
 #	Remember to update distrib/sets/lists/base/shl.* when changing
 #
=2Dmajor=3D8
+major=3D9
 minor=3D0
Index: lib/libkafs/shlib_version
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /sources/netbsd/NetBSD-cvs/src/lib/libkafs/shlib_version,v
retrieving revision 1.7
diff -u -r1.7 shlib_version
=2D-- lib/libkafs/shlib_version	15 May 2003 20:58:44 -0000	1.7
+++ lib/libkafs/shlib_version	24 Sep 2003 21:45:17 -0000
@@ -1,5 +1,5 @@
 #	$NetBSD: shlib_version,v 1.6 2001/09/17 12:34:42 assar Exp $
 #	Remember to update distrib/sets/lists/base/shl.* when changing
 #
=2Dmajor=3D5
=2Dminor=3D2
+major=3D6
+minor=3D0
Index: lib/libhdb/shlib_version
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /sources/netbsd/NetBSD-cvs/src/lib/libhdb/shlib_version,v
retrieving revision 1.5
diff -u -r1.5 shlib_version
=2D-- lib/libhdb/shlib_version	10 Sep 2001 11:18:44 -0000	1.5
+++ lib/libhdb/shlib_version	24 Sep 2003 21:45:30 -0000
@@ -1,5 +1,5 @@
=2D#	$NetBSD$
+#	$NetBSD: shlib_version,v 1.5 2001/09/10 11:18:44 simonb Exp $
 #	Remember to update distrib/sets/lists/base/shl.* when changing
 #
=2Dmajor=3D8
+major=3D9
 minor=3D0
Index: lib/libkrb5/shlib_version
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /sources/netbsd/NetBSD-cvs/src/lib/libkrb5/shlib_version,v
retrieving revision 1.10
diff -u -r1.10 shlib_version
=2D-- lib/libkrb5/shlib_version	15 May 2003 20:58:45 -0000	1.10
+++ lib/libkrb5/shlib_version	24 Sep 2003 21:42:47 -0000
@@ -1,5 +1,5 @@
 #	$NetBSD: shlib_version,v 1.9 2002/09/12 13:38:56 joda Exp $
 #	Remember to update distrib/sets/lists/base/shl.* when changing
 #
=2Dmajor=3D18
=2Dminor=3D4
+major=3D19
+minor=3D0
Index: distrib/sets/lists/base/shl.mi
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /sources/netbsd/NetBSD-cvs/src/distrib/sets/lists/base/shl.mi,v
retrieving revision 1.237
diff -u -r1.237 shl.mi
=2D-- distrib/sets/lists/base/shl.mi	16 Sep 2003 19:26:14 -0000	1.237
+++ distrib/sets/lists/base/shl.mi	24 Sep 2003 21:49:31 -0000
@@ -43,17 +43,17 @@
 ./usr/lib/libevent.so.0.1		base-sys-shlib
 ./usr/lib/libform.so.3.1		base-sys-shlib
 ./usr/lib/libgnumalloc.so.0.0		base-sys-shlib
=2D./usr/lib/libgssapi.so.4.1		base-krb5-shlib
=2D./usr/lib/libhdb.so.8.0			base-krb5-shlib
+./usr/lib/libgssapi.so.5.0		base-krb5-shlib
+./usr/lib/libhdb.so.9.0			base-krb5-shlib
 ./usr/lib/libintl.so.0.0		base-sys-shlib
 ./usr/lib/libipsec.so.2.0		base-net-shlib
 ./usr/lib/libkadm.so.5.0		base-krb4-shlib
=2D./usr/lib/libkadm5clnt.so.7.0		base-krb5-shlib
=2D./usr/lib/libkadm5srv.so.8.0		base-krb5-shlib
=2D./usr/lib/libkafs.so.5.2		base-krb5-shlib
+./usr/lib/libkadm5clnt.so.8.0		base-krb5-shlib
+./usr/lib/libkadm5srv.so.9.0		base-krb5-shlib
+./usr/lib/libkafs.so.6.0		base-krb5-shlib
 ./usr/lib/libkdb.so.5.0			base-krb4-shlib
 ./usr/lib/libkrb.so.6.0			base-krb4-shlib
=2D./usr/lib/libkrb5.so.18.4		base-krb5-shlib
+./usr/lib/libkrb5.so.19.0		base-krb5-shlib
 ./usr/lib/libkstream.so.2.0		base-krb4-shlib
 ./usr/lib/libkvm.so.5.2			base-sys-shlib
 ./usr/lib/libm.so.0.1			base-sys-shlib

--=-=-=
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (NetBSD)

iQEVAwUAP3IR+nW+NPVfDpmCAQJqlwgApeaU7Kcs/HFJc/KdSuEf53vfUdE60fVO
2Twch8MgmlFzeGnWmZsAz/OjSPs/xm+Um67+OJPe5UkmvZrlRwsPs1P0ul/B3sHX
FJkDn5geEytlR8yKqA3cV9qz+Wc9ADNcHIpQ38mJLPhgkkTeJzTQdIr1b/7YtYI4
tEqFV7MDHNtAsu4vrHJpft8YQTYdprW/+58Zk13+DSeu4UOnjv+2uMDfKxw77+Nd
0KVFtzjNTHwF27tMU2p+cB53w0oHeIrk0E+e2qGhgpsMXmK3C+lEWW8XTBfkzv3Z
hmH7f3UJEIa3fTlO8rL/+qnIEMg3T5kuh04sgmsgl0BvqiR4CRVL/A==
=lv1e
-----END PGP SIGNATURE-----
--=-=-=--