libdb4.4 in gutsy breaks postgrey and subversion
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
db4.4 (Debian) |
Fix Released
|
Unknown
|
|||
db4.4 (Ubuntu) |
Fix Released
|
High
|
Martin Pitt | ||
Gutsy |
Fix Released
|
High
|
Daniel Hahler |
Bug Description
Binary package hint: libdb4.4
libdb4.4 (4.4.20-8.1ubuntu3) in gutsy breaks postgrey and subversion severely.
The main postgrey bug for this is bug 135038.
TEST CASE:
1. Install postfix, postgrey
2. Enable postgrey, e.g. by using "smtpd_
3. Hack /usr/sbin/postgrey, so that it always does maintenance, with every connection:
166,167c166,167
< if($hour > 1 and $hour < 7 and
< $now - $self->
---
> # if($hour > 1 and $hour < 7 and
> # $now - $self->
331a332
> $self->
4. Restart postfix and postgrey
5. Send a mail to your postfix or use "telnet localhost 25" to do a manual session
6. You'll get the following in the /var/log/mail.info:
Nov 5 21:54:39 localhost postgrey[28451]: fatal: Can't call method "txn_commit" on an undefined value at /usr/sbin/postgrey line 223.
(and postgrey will exit/crash)
The main subversion bug is bug 154555.
TEST CASE:
In Feisty create a repository:
svnadmin create --fs-type bdb test-svn
svn co file://
cd foo-svn/
touch foo
svn add foo
svn ci -m 'bar'
Copy the repository to a Gutsy environment then and do:
$ LANG=C svn co file://
svn: Unable to open an ra_local session to URL
svn: Unable to open repository 'file:/
svn: Berkeley DB error for filesystem '/home/
svn: Cannot allocate memory
svn: bdb: unable to allocate memory for mutex; resize mutex region
Debian had a similar issue (in version 8.1 to 9), and determined that this was a problem with libdb4.4, as documented here: http://
Related branches
description: | updated |
description: | updated |
Changed in db4.4: | |
status: | Unknown → Fix Released |
Changed in db4.4: | |
status: | New → Triaged |
status: | Confirmed → Triaged |
Changed in db4.4: | |
assignee: | nobody → blueyed |
I'm making this the metabug for this.
It seems to also affect subversion (bug 154555 and bug 139315).
The Debian bug is not really the same, because there it broke from -8.1 to -9, while in Ubuntu this happened with 8.1ubuntu2.