[Pkg-openldap-devel] Bug#764225: Bug#764225: slapd: fails to flush the cache if the system is shut down

Ryan Tandy ryan at nardis.ca
Tue Oct 7 20:38:08 UTC 2014


On 14-10-07 03:46 AM, Wolfgang Schweer wrote:
> On Tue, Oct 07, 2014 at 10:34:06AM +0200, GALAMBOS Daniel wrote:
>> Do you have olcDbNoSync (or some equivalent setting in the bdb config
>> if you use that) set to true? If olcDbNoSync is set, then it could
>> result in dataloss, else the commited data should remain intact.
>>
>> What backend do you use?
>
> bdb, and yes: dbnosync is set

I haven't been able to reproduce this, with BDB/HDB/MDB backends and 
olcDbNoSync: TRUE. I'm running 'ldapadd -f mods.ldif && reboot' and 
mods.ldif contains 10000 small entries. Can you provide any more details 
about the steps I should follow to observe the data loss?

BTW: As far as I can tell slapd is stopped properly on shutdown; after 
rebooting I don't see any log messages about having to recover an 
unclean database, or similar.

Does Debian Edu usually set olcDbNoSync?



More information about the Pkg-openldap-devel mailing list