'use mmap = no' option doesn't work anymore

Garming Sam garming at catalyst.net.nz
Tue Apr 10 22:20:05 UTC 2018


I think it's because of this patch, which Ralph put in.

dbwrap: enable mutexes by default for volatile TDBs

Bug: https://bugzilla.samba.org/show_bug.cgi?id=12891

a70be43246ab74f0a2bbe245ab31f24460b70547

TDB_MUTEX_LOCKING and TDB_NOMMAP are mutually exclusive and so it bails out.


Cheers,

Garming

On 10/04/18 18:07, Volker Lendecke wrote:
> On Mon, Apr 09, 2018 at 04:57:22PM +1200, Garming Sam via samba-technical wrote:
>> I've been unable to start samba (on a testing domain I had) for some
>> time on my workstation, and now I've finally discovered that it's
>> because I had been setting 'use mmap = no' for some testing I did a
>> while ago. Both smbXsrv_version_global.tdb and netlogon_creds_cli.tdb
>> fail to open in these cases, and both smbd and winbindd exit
>> prematurely. Given that it doesn't work, is there still meaning to this
>> option, or should the behaviour be changed so that it only covers some
>> scenarios (or we just make the option work again)?
> It should work. Can you figure out why these two tdbs refuse to open?
>
> Volker
>




More information about the samba-technical mailing list