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? 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.
Cheers,
 -- Guido


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to