There appears to be a problem with cnid_metad starting correctly. I'm not a bash or runscript expert, do I don't know the intention of the below lines, but I replaced this: : ${CNID_CONFIG:=-l log_note} command_args="${CNID_CONFIG}" with this: command_args="-l log_note" and now apfs appears to be operating correctly, whereas before I was getting errors on login such as cnid_dbd exiting with code 1.
Hrm, let me check but this should really be working ...
Make sure you don't have a CNID_CONFIG option set in /etc/conf.d/cnid_metad, if you have that would explain it. If you don't have it, it doesn't sound like it should fail.
I do not have file /etc/conf.d/cnid_metad. Nor any other netatalk related files in conf.d.