On Mon, Dec  6, 2010 at 15:40:03 +0100, Julien Cristau wrote:

> I couldn't spot any suspicious change with 'diff -Nru
> samba-3.2.5/source/nsswitch/libwbclient/
> samba-3.5.6~dfsg/nsswitch/libwbclient/'
> 
> OTOH, libwbclient0 and samba in lenny depend on libtalloc1, while they
> depend on libtalloc2 in squeeze.  I wouldn't be surprised if that
> mismatch caused the crash.

Seems to be confirmed by reports such as 550481 and 551030 (crashes with
newer samba and older libwbclient0 at the time of the talloc SONAME
bump).

Two patches attached should take care of this.

Cheers,
Julien
Index: debian/rules
===================================================================
--- debian/rules	(revision 3652)
+++ debian/rules	(working copy)
@@ -238,7 +238,7 @@
 	chmod 1777 debian/samba/var/spool/samba/
 
 	DH_OPTIONS= dh_makeshlibs -plibsmbclient -V'libsmbclient (>= 2:3.2.0)'
-	DH_OPTIONS= dh_makeshlibs -plibwbclient0
+	DH_OPTIONS= dh_makeshlibs -plibwbclient0 -V'libwbclient0 (>= 2:3.5.0~pre2)'
 	dh_installdeb
 	dh_shlibdeps
 	dh_gencontrol
Index: debian/changelog
===================================================================
--- debian/changelog	(revision 3652)
+++ debian/changelog	(working copy)
@@ -1,3 +1,9 @@
+samba (2:3.5.6~dfsg-3) UNRELEASED; urgency=low
+
+  * Bump libwbclient0 shlibs to match the newest version in the symbols file.
+
+ -- Julien Cristau <jcris...@debian.org>  Mon, 06 Dec 2010 16:12:41 +0100
+
 samba (2:3.5.6~dfsg-2) unstable; urgency=low
 
   [ Steve Langasek ]
diff -u debian/changelog debian/changelog
--- debian/changelog	(working copy)
+++ debian/changelog	(working copy)
@@ -1,6 +1,9 @@
 samba (2:3.5.6~dfsg-3) UNRELEASED; urgency=low
 
   * Bump libwbclient0 shlibs to match the newest version in the symbols file.
+  * Mark libwbclient0 as breaking other samba packages with versions older
+    than 2:3.4.1, as they were linked against libtalloc1 instead of
+    libtalloc2, and the combination causes crashes (closes: #593823).
 
  -- Julien Cristau <jcris...@debian.org>  Mon, 06 Dec 2010 16:12:41 +0100
 
only in patch2:
unchanged:
--- debian/control	(revision 3652)
+++ debian/control	(working copy)
@@ -209,6 +209,16 @@
 Priority: optional
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
+Breaks:
+ libpam-smbpass (<< 2:3.4.1),
+ libsmbclient (<< 2:3.4.1),
+ samba-common (<< 2:3.4.1),
+ samba-tools (<< 2:3.4.1),
+ samba (<< 2:3.4.1),
+ smbclient (<< 2:3.4.1),
+ smbfs (<< 2:3.4.1),
+ swat (<< 2:3.4.1),
+ winbind (<< 2:3.4.1),
 Description: Samba winbind client library
  Samba is an implementation of the SMB/CIFS protocol for Unix systems,
  providing support for cross-platform file and printer sharing with

Attachment: signature.asc
Description: Digital signature

Reply via email to