Bug#425716: tdb-dev: Fails to open previous databases
Simply ignoring the field could discard active locks opened by older versions of TDB. I've submitted a patch for review upstream: http://lists.samba.org/archive/samba-technical/2007-August/054763.html -- Jelmer Vernooij [EMAIL PROTECTED] - http://samba.org/~jelmer/ Jabber: [EMAIL PROTECTED] signature.asc Description: Dies ist ein digital signierter Nachrichtenteil
Bug#425716: tdb-dev: Fails to open previous databases
tag 425716 + patch thanks On Wed, May 23, 2007 at 04:14:44PM +0200, Ludovic Courtes wrote: Package: tdb-dev Version: 1.1.0-1 Severity: grave Justification: renders package unusable Hi, The latest `libtdb' from SID fails to open databases created by the version previously available in SID (whichever that was), i.e., `tdb_open ()' returns NULL. This can be checked by simply running `tdbdump' on the database. For your convenience, I've put a database that reproduces the problem on-line: http://www.laas.fr/~lcourtes/tmp/failing-tdb-database.tdb SHA1: c2c892e4e466092c74ffb923975056840ffcf43b Thanks, Ludovic. The problem is because of the deactivated spinlock code. The following patch seems to fix the problem, but I'm unable to understand the consequences properly (e.g. on a system where things using the old tdb library could still exist, and believe to have locked the tdb ...). --- common/open.c 2007-07-18 17:15:30.0 +0200 +++ common/open.c.new 2007-07-18 17:18:57.0 +0200 @@ -242,8 +242,7 @@ goto fail; if (tdb-header.rwlocks != 0) { - TDB_LOG((tdb, TDB_DEBUG_ERROR, tdb_open_ex: spinlocks no longer supported\n)); - goto fail; + TDB_LOG((tdb, TDB_DEBUG_WARNING, tdb_open_ex: spinlocks no longer supported\n)); } /* Is it already in the open list? If so, fail. */ -- ·O· Pierre Habouzit ··O[EMAIL PROTECTED] OOOhttp://www.madism.org pgpAAkEZvoaT3.pgp Description: PGP signature
Processed: Re: Bug#425716: tdb-dev: Fails to open previous databases
Processing commands for [EMAIL PROTECTED]: tag 425716 + patch Bug#425716: tdb-dev: Fails to open previous databases There were no tags set. Tags added: patch thanks Stopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#425716: tdb-dev: Fails to open previous databases
Hi, Pierre Habouzit [EMAIL PROTECTED] writes: The problem is because of the deactivated spinlock code. The following patch seems to fix the problem, but I'm unable to understand the consequences properly (e.g. on a system where things using the old tdb library could still exist, and believe to have locked the tdb ...). Hmm, I wouldn't know either. What do upstream people think? Thanks, Ludovic. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#425716: tdb-dev: Fails to open previous databases
On Wed, Jul 18, 2007 at 05:55:42PM +0200, Ludovic Courtès wrote: Hi, Pierre Habouzit [EMAIL PROTECTED] writes: The problem is because of the deactivated spinlock code. The following patch seems to fix the problem, but I'm unable to understand the consequences properly (e.g. on a system where things using the old tdb library could still exist, and believe to have locked the tdb ...). Hmm, I wouldn't know either. What do upstream people think? I've absolutely no idea, I'm not the maintainer, I just tried to track down this Release Critical issue, nothing more. I hope tdb's maintainer will deal with this now that the whereabouts are known. Meanwhile, you can downgrade your libtdb1 to etch one, and it will work again. -- ·O· Pierre Habouzit ··O[EMAIL PROTECTED] OOOhttp://www.madism.org pgpxRprHjwiEZ.pgp Description: PGP signature
Bug#425716: tdb-dev: Fails to open previous databases
Package: tdb-dev Version: 1.1.0-1 Severity: grave Justification: renders package unusable Hi, The latest `libtdb' from SID fails to open databases created by the version previously available in SID (whichever that was), i.e., `tdb_open ()' returns NULL. This can be checked by simply running `tdbdump' on the database. For your convenience, I've put a database that reproduces the problem on-line: http://www.laas.fr/~lcourtes/tmp/failing-tdb-database.tdb SHA1: c2c892e4e466092c74ffb923975056840ffcf43b Thanks, Ludovic. -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: powerpc (ppc) Kernel: Linux 2.6.18-4-powerpc-smp (SMP w/2 CPU cores) Locale: LANG=C, LC_CTYPE=fr_FR (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/bash Versions of packages tdb-dev depends on: ii libc6-dev 2.5-7 GNU C Library: Development Librari ii libtdb1 1.1.0-1Trivial Database - shared library tdb-dev recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]