Bug#431862: nss-updatedb: db updates are not atomic

2007-08-23 Thread Guido Guenther
Hi Stephen, On Sat, Aug 11, 2007 at 05:28:28PM +0200, Guido Guenther wrote: On Sat, Aug 11, 2007 at 02:20:22PM +0100, Stephen Gran wrote: works rather well and solves this problem but has one major drawback: we can't specify the DB_RECOVER flag here since this would conflict with the

Bug#431862: nss-updatedb: db updates are not atomic

2007-08-11 Thread Guido Guenther
On Mon, Jul 23, 2007 at 04:01:05PM +0100, Stephen Gran wrote: This one time, at band camp, Guido Guenther said: I can cook up a patch during the week if you like, I'd be great having something to test this on though, maybe a chroot or machine that can access alioth's database? I can

Bug#431862: nss-updatedb: db updates are not atomic

2007-08-11 Thread Stephen Gran
This one time, at band camp, Guido Guenther said: rc = dbp-dbenv-open(dbp-dbenv, DB_DIR, DB_CREATE|DB_INIT_LOG|DB_INIT_LOCK|DB_INIT_MPOOL| DB_INIT_TXN, 0644); ... works rather well and solves this problem but has one major drawback: we can't specify the

Bug#431862: nss-updatedb: db updates are not atomic

2007-08-11 Thread Guido Guenther
Hi, On Sat, Aug 11, 2007 at 02:20:22PM +0100, Stephen Gran wrote: works rather well and solves this problem but has one major drawback: we can't specify the DB_RECOVER flag here since this would conflict with the DB_RECOVER flag of nss_updatedb. This could leave us with an inconsistent

Bug#431862: nss-updatedb: db updates are not atomic

2007-08-03 Thread Stephen Gran
On Fri, Aug 03, 2007 at 11:54:08AM +0200, Guido Guenther said: Hi Stephen, On Mon, Jul 23, 2007 at 04:01:05PM +0100, Stephen Gran wrote: This one time, at band camp, Guido Guenther said: I can cook up a patch during the week if you like, I'd be great having something to test this on

Bug#431862: nss-updatedb: db updates are not atomic

2007-07-23 Thread Stephen Gran
This one time, at band camp, Guido Guenther said: I can cook up a patch during the week if you like, I'd be great having something to test this on though, maybe a chroot or machine that can access alioth's database? I can give you access to a read only sanitized view of the database, if that

Bug#431862: nss-updatedb: db updates are not atomic

2007-07-22 Thread Guido Guenther
Hi Stephen, On Sat, Jul 21, 2007 at 08:51:30PM +0100, Stephen Gran wrote: This one time, at band camp, Guido Guenther said: Hi Stephen, On Thu, Jul 05, 2007 at 02:40:46PM +, Stephen Gran wrote: We have been using nss-updatedb on alioth (a slightly patched version to temporarily work

Bug#431862: nss-updatedb: db updates are not atomic

2007-07-21 Thread Stephen Gran
This one time, at band camp, Guido Guenther said: Hi Stephen, On Thu, Jul 05, 2007 at 02:40:46PM +, Stephen Gran wrote: We have been using nss-updatedb on alioth (a slightly patched version to temporarily work around a bug in nss-pgsql) and we have noticed that the database updates are

Bug#431862: nss-updatedb: db updates are not atomic

2007-07-20 Thread Guido Guenther
Hi Stephen, On Thu, Jul 05, 2007 at 02:40:46PM +, Stephen Gran wrote: We have been using nss-updatedb on alioth (a slightly patched version to temporarily work around a bug in nss-pgsql) and we have noticed that the database updates are not atomic. We frequently get exim panicking that it

Bug#431862: nss-updatedb: db updates are not atomic

2007-07-05 Thread Stephen Gran
Package: nss-updatedb Version: 7-1.1 Severity: important Hi there, We have been using nss-updatedb on alioth (a slightly patched version to temporarily work around a bug in nss-pgsql) and we have noticed that the database updates are not atomic. We frequently get exim panicking that it can't