Enabling Time Machine on a volume on 3.1.0 (OpenIndiana) causes afpd to crash:
Jan 13 17:08:47.452730 netatalk[6696] {netatalk.c:359} (N:Default): Netatalk AFP server starting
Jan 13 17:08:47.460054 cnid_metad[6698] {cnid_metad.c:479} (N:AFPDaemon): CNID Server listening on localhost:4700
Jan 13 17:08:49.773920 afpd[6697] {afp_config.c:125} (N:AFPDaemon): Netatalk AFP/TCP listening on 128.151.188.9:548
Jan 13 17:08:49.775820 afpd[6697] {fault.c:123} (S:Default): ===============================================================
Jan 13 17:08:49.775851 afpd[6697] {fault.c:124} (S:Default): INTERNAL ERROR: Signal 11 in pid 6697 (3.1.0)
Jan 13 17:08:49.775872 afpd[6697] {fault.c:125} (S:Default): ===============================================================
Jan 13 17:08:49.776060 afpd[6697] {fault.c:96} (S:Default): PANIC: internal error
Jan 13 17:08:49.776089 afpd[6697] {fault.c:97} (S:Default): BACKTRACE: 12 stack frames:
Jan 13 17:08:49.776110 afpd[6697] {fault.c:103} (S:Default): #0 /usr/local/lib/libatalk.so.12.0.0'netatalk_panic+0x26 [0xfef2259e]
Jan 13 17:08:49.776130 afpd[6697] {fault.c:103} (S:Default): #1 /usr/local/lib/libatalk.so.12.0.0'sig_fault+0x4c [0xfef226d8]
Jan 13 17:08:49.776151 afpd[6697] {fault.c:103} (S:Default): #2 /lib/libc.so.1'__sighndlr+0x15 [0xfec6fc25]
Jan 13 17:08:49.776171 afpd[6697] {fault.c:103} (S:Default): #3 /lib/libc.so.1'call_user_handler+0x2a2 [0xfec6298e]
Jan 13 17:08:49.776192 afpd[6697] {fault.c:103} (S:Default): #4 /lib/libc.so.1'strlen+0x30 [0xfebd2510]
Jan 13 17:08:49.776212 afpd[6697] {fault.c:103} (S:Default): #5 /lib/libc.so.1'vsnprintf+0x65 [0xfec34d2d]
Jan 13 17:08:49.776233 afpd[6697] {fault.c:103} (S:Default): #6 /lib/libc.so.1'vasprintf+0x36 [0xfec2fcae]
Jan 13 17:08:49.776253 afpd[6697] {fault.c:103} (S:Default): #7 /lib/libc.so.1'asprintf+0x2a [0xfec2fe02]
Jan 13 17:08:49.776274 afpd[6697] {fault.c:103} (S:Default): #8 /usr/local/sbin/afpd'md_zeroconf_register+0xda [0x805b516]
Jan 13 17:08:49.776294 afpd[6697] {fault.c:103} (S:Default): #9 /usr/local/sbin/afpd'configinit+0x41c [0x805991c]
Jan 13 17:08:49.776314 afpd[6697] {fault.c:103} (S:Default): #10 /usr/local/sbin/afpd'main+0x338 [0x807337c]
Jan 13 17:08:49.776334 afpd[6697] {fault.c:103} (S:Default): #11 /usr/local/sbin/afpd'_start+0x83 [0x8059327]
Jan 13 17:08:50.453745 netatalk[6696] {netatalk.c:227} (N:AFPDaemon): Restarting 'afpd' (restarts: 1)
Try this patch.
https://github.com/Netatalk/Netatalk/commit/3eb28d1554b64d34af34a2e69c8d49597b7e953a
Thank you, that seems to do the trick! So for anyone looking: it will be fixed in 3.1.1, you can download the Git branch in the mean time.