Since Samba 4.9, ctdbd no longer creates database directories. These are now created at installation time (and should be packaged if a packaging system is in use). If a manually configured database directory does not exist then configuration file loading will fail and ctdbd will log an error and exit. However, this doesn't happen if a default database directory does not exist.
Created attachment 14716 [details]
Patch for 4.9
This is ready for v4-9.
(In reply to Amitay Isaacs from comment #2)
pushed to autobuild-v4-9-test.
(In reply to Karolin Seeger from comment #3)
(In reply to Martin Schwenke from comment #1)
Pushed to v4-9-test.
Closing out bug report.