The performance guide states regarding UCRV "ldap/database/mdb/envflags": "The following flags can be set (multiple values are separated by commas):" and the UCRV description says "Multiple attributes are separated by commas." but that doesn't work: # ucr set ldap/database/mdb/envflags=nosync,writemap # service slapd restart Job for slapd.service failed. See 'systemctl status slapd.service' and 'journalctl -xn' for details. # systemctl status -l slapd.service Dez 11 18:59:30 master41 slapd[4111]: 5a2ec782 OVER: Loading Translog Overlay 5a2ec782 OVER: db_init 5a2ec782 OVER: Configuring Translog Overlay 5a2ec782 OVER: Configured Translog Overlay to use file "/var/lib/univention-ldap/listener/listener" 5a2ec782 /etc/ldap/slapd.conf: line 124 envflags: unknown keyword "nosync,writemap" slapschema: bad configuration file!.
Customer affected. Instead of commas the flags have to be separated by spaces. Do not use: # ucr set ldap/database/mdb/envflags=nosync,writemap Use: # ucr set ldap/database/mdb/envflags="nosync writemap" Once configured like this slapd starts fine. Direct link to doc: http://docs.software-univention.de/performance-guide-4.2.html#slapd:bdb man slpad-mdb is not clear regarding this and should fixed, too: envflags {nosync,nometasync,writemap,mapasync,nordahead} Specify flags for finer-grained control of the LMDB library's operation. Apears commas are correct here. But are not.
Fixed: [4.3-2 7d02e1f05c] Bug #45853: Use spaces instead of commas to add multiple values to the UCR variable ldap/database/mdb/envflags I've created a new Bug for the UCR description in univention-ldap: https://forge.univention.org/bugzilla/show_bug.cgi?id=47869
OK: 7d02e1f05c
Remove 'Waiting Support flag' since it does not match our definitions.
[master] 4056994 Bug #48006,Bug #44780,Bug #47970,Bug #45853: publish developer-reference-4.3.html | 52 +++++++++++++++++------------- developer-reference-4.3.pdf | Bin 1433745 -> 1453779 bytes illustrations43/versicherung-standort.jpg | Bin 0 -> 267585 bytes performance-guide-4.3.html | 6 ++-- performance-guide-4.3.pdf | Bin 431927 -> 430664 bytes 5 files changed, 31 insertions(+), 27 deletions(-)
Request to fix it for the 4.2 performance guide, too. http://docs.software-univention.de/performance-guide-4.2.html#slapd:bdb This still says "separated by commas".
[4.2-5] 60432187a6 Bug #45853: Use spaces instead of commas to add multiple values to the UCR variable ldap/database/mdb/envflags doc/extended-docs/performance-guide-4.2.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) <http://jenkins.knut.univention.de:8080/job/UCS-4.2/job/UCS-4.2-5/job/HandbookExtended/120/artifact/webroot/performance-guide-4.2.html#slapd:bdb>
OK: <http://univention-repository.knut.univention.de/download/docs/performance-guide-4.2.html> OK: <http://univention-repository.knut.univention.de/download/docs/performance-guide-4.2.pdf> [master] 19fc9c3 Bug #45853: PUBLISH performance-guide-4.2.html | 2 +- performance-guide-4.2.pdf | Bin 432762 -> 430781 bytes 2 files changed, 1 insertion(+), 1 deletion(-) <http://jenkins.knut.univention.de:8080/view/Publish/job/Publish_docs.univention.de/137/>