our testers were doing a recovery scenario which involved repeated reboots of the system (running Samba 4.5 - latest 4.5-stable branch) which runs the ctdb recovery master, and hit repeated crashes in ctdb_recovery_helper. The exact location they couldn't give me because the core files seemed corrupt. Key part of reproduction scenario seemed to be that the system was running of disk space (at least in /var). and could be related with inability to create recovery files 2016/11/17 00:50:20.350797 [recoverd: 3800]: recovery: failed to create recovery db /var/lib/ctdb/state/recdb.ctdb.tdb 2016/11/17 00:50:20.351082 [recoverd: 3800]: recovery: failed to create recovery db /var/lib/ctdb/state/recdb.account_policy.tdb 2016/11/17 00:50:20.351691 [recoverd: 3800]: recovery: failed to create recovery db /var/lib/ctdb/state/recdb.group_mapping.tdb 2016/11/17 00:50:20.352250 [recoverd: 3800]: recovery: failed to create recovery db /var/lib/ctdb/state/recdb.passdb.tdb 2016/11/17 00:50:20.354377 [recoverd: 3800]: recovery: failed to create recovery db /var/lib/ctdb/state/recdb.secrets.tdb
testing a fix for this now
Created attachment 12680 [details] Patches for v4-4
Created attachment 12681 [details] Patches for v4-5
Hi Karolin, This is ready for 4.4. and 4.5. Thanks!
(In reply to Martin Schwenke from comment #4) Pushed to autobuild-v4-{5,4}-test.
(In reply to Karolin Seeger from comment #5) Pushed to both branches.. Closing out bug report. Thanks!