This one time, at band camp, Guido Guenther said: > Hi Stephen, > On Thu, Jul 05, 2007 at 02:40:46PM +0000, 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 can't find a user it has just decided to suid to, or svn commits > > failing, or that sort of thing. > > Did you check the return codes of the bdb calls in libnss-db when things > fail?
How do I do that? Pointers to docs would be welcome. I'm happy to write the patch and so on, but I'm just not sure what I'm looking for. > The operation in nssupdate-db is transaction protected so we > _should_ be able to make the updates look atomic without having to > resort to poor "copy over the database" methods. Help on this would be > welcome since I'm far from a BDB expert. Me either, sadly. Maybe we can help each other limp through this one :) -- ----------------------------------------------------------------- | ,''`. Stephen Gran | | : :' : [EMAIL PROTECTED] | | `. `' Debian user, admin, and developer | | `- http://www.debian.org | -----------------------------------------------------------------
signature.asc
Description: Digital signature