upgradedns: ensure lmdb lock files linked
commit54a028bd32b41e1ba7e10b3f64877494a121d655
authorGary Lockyer <gary@catalyst.net.nz>
Thu, 19 Dec 2019 03:31:46 +0000 (19 16:31 +1300)
committerKarolin Seeger <kseeger@samba.org>
Tue, 14 Jan 2020 08:30:24 +0000 (14 08:30 +0000)
treecfc7c1e339f6fba4bafaf9b67d495fb7f7a84d10
parent75d088aede531bfe721c397fd1900cc26095b9f3
upgradedns: ensure lmdb lock files linked

Ensure that the '-lock' files for the dns partitions as well as the data
files are linked when running
  samba_dnsupgrade --dns-backend=BIND9_DLZ
failure to create these links can cause corruption of the corresponding
data file.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14199

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 0bd479140c18ab79479ced4f25f366744c3afe18)
python/samba/provision/sambadns.py
selftest/knownfail.d/bug-14199 [deleted file]