[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: slapcat kills slapadd



Quanah Gibson-Mount wrote:


--On November 18, 2009 1:35:42 PM +0100 Peter Mogensen <apm@mutex.dk> wrote:

I know this is probably a "don't do that", but I was somewhat surprised
by the outcome.

Don't do that. :) Remember, for example, that slapadd -q is doing a very minimal protected BDB environment which fully expects nothing else to be touching it. You can use db_stat commands to query the progress of the load.

Yes...
Knowing that I would have expected slapcat to fail/crash.
But I wouldn't expect slapadd to crash to - being the first to open the BDB environment. If any slapadd can be crashed by any user/shell executing slapcat (with write perms to the dir), then it can be difficult to protect an long running (hours) slapadd from being crashed by accident.

/Peter