netatalk

Netatalk 2.0.3 on Centos 4

This is untested so far, but is the beginnings of a document on how to get netatalk up and running on Centos 4.

Install the CentosPlus unsupported kernel

Exclude kernel updates from [base] and [update]

exclude=kernel*

Enable the CentosPlus repository and include the kernel

enabled=1
includepkgs=kernel*

Install the plus kernel (used to be called unsupported) from CentosPlus.

Get and compile netatalk (beyond the scope of this document)

[WWW] http://distro.ibiblio.org/pub/linux/distributions/e-smith/devel/SRPMS/netatalk-2.0.3-4es.src.rpm

The startup script is slightly broken, and needs to be patched

--- /etc/init.d/atalk.orig      2006-04-05 00:12:37.000000000 -0600
+++ /etc/init.d/atalk   2006-04-05 00:11:57.000000000 -0600
@@ -110,7 +110,7 @@
 
     if [ x"${AFPD_RUN}" = x"yes" -a -x ${ATALK_SBIN}/afpd ] ; then
            echo -n "  Starting afpd:"
-           daemon ${ATALK_SBIN}/afpd -U ${AFPD_UAMLIST} \
+           daemon ${ATALK_SBIN}/afpd ${AFPD_UAMLIST} \
                -c ${AFPD_MAX_CLIENTS} -n \"${ATALK_NAME}${ATALK_ZONE}\"
            RETVAL_AFPD=$?
            echo

Also you can set the daemons to run in the background in /etc/init.d/netatalk.conf

# Control whether the daemons are started in the background
ATALK_BGROUND=yes

last edited 2006-06-26 17:39:17 by MichaelBest