multiple processes may lead to empty root.keys
Knot resolver process crashes on empty root.keys file stating:
[string "init"]:12: error: [ ta ] ERROR: failed to read anchors from 'root.keys'
I suggest it should detect the file is empty and bootstrap the keys in regular way.