** Description changed: Binary package hint: libdb4.4 - libdb4.4 (4.4.20-8.1ubuntu3) in gutsy breaks postgrey severely + libdb4.4 (4.4.20-8.1ubuntu3) in gutsy breaks postgrey and subversion + severely. - The postgrey bug for this is here: - https://bugs.launchpad.net/ubuntu/+source/postgrey/+bug/135038 + The main postgrey bug for this is bug 135038. - Debian developers already determined that this was a problem with libdb4.4, as documented here: - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=441152 + TEST CASE: + 1. Install postfix, postgrey + 2. Enable postgrey, e.g. by using "smtpd_recipient_restrictions = check_policy_service inet:127.0.0.1:60000" + 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->{postgrey}{last_maint_keys} >= 82800) + --- + > # if($hour > 1 and $hour < 7 and + > # $now - $self->{postgrey}{last_maint_keys} >= 82800) + 331a332 + > $self->do_maintenance($now); + 4. Send a mail to your postfix or use "telnet localhost 25" to do a manual session + 5. 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:///$PWD/test-svn foo-svn + 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:///$PWD/test-svn foo-svn + svn: Unable to open an ra_local session to URL + svn: Unable to open repository 'file:///home/daniel/test-svn' + svn: Berkeley DB error for filesystem '/home/daniel/test-svn/db' while opening environment: + 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://bugs.debian.org/cgi-bin/bugreport.cgi?bug=441152
** Description changed: 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_recipient_restrictions = check_policy_service inet:127.0.0.1:60000" - 3. Hack /usr/sbin/postgrey, so that it always does maintenance, with every connection + 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->{postgrey}{last_maint_keys} >= 82800) --- > # if($hour > 1 and $hour < 7 and > # $now - $self->{postgrey}{last_maint_keys} >= 82800) 331a332 > $self->do_maintenance($now); - 4. Send a mail to your postfix or use "telnet localhost 25" to do a manual session - 5. You'll get the following in the /var/log/mail.info: + 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:///$PWD/test-svn foo-svn 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:///$PWD/test-svn foo-svn svn: Unable to open an ra_local session to URL svn: Unable to open repository 'file:///home/daniel/test-svn' svn: Berkeley DB error for filesystem '/home/daniel/test-svn/db' while opening environment: 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://bugs.debian.org/cgi-bin/bugreport.cgi?bug=441152 -- libdb4.4 in gutsy breaks postgrey and subversion https://bugs.launchpad.net/bugs/153996 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs