I had to fiddle around with this a bit and thought it might be useful to others. I’m using a Joyent SmartOS zone as a file server for my Macs at home, and Netatalk is really the best way to share files to a Mac from a UNIX system.

Real quick, here’s how it was done:

  • download netatalk source, untar the source, cd into the source directory
  • ./configure --with-bdb=/opt/local --with-init-style=solaris --without-pam --prefix=/opt/local
  • vim distrib/initscripts/Makefile
  • find the line that begins with “servicedir” and change it to:
  • servicedir = /var/svc/manifest/network/
  • save & exit the makefile
  • make && sudo make install
  • vim /opt/local/etc/afp.conf and add your shares
  • sudo svcadm enable netatalk
  • verify that it’s running with: svcs netatalk

Special thanks to rmustacc in Freenode/#illumos for helping me get the SMF manifest installing to the correct path. I hope some of you find this helpful.