Red Hat Bugzilla – Bug 71002
afpd ignores afpd.conf
Last modified: 2015-03-04 20:11:08 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.0.0) Gecko/20020529
Description of problem:
afpd is not reading the afpd.conf file when the daemon is launched.
This makes it impossible to configure anything but the default AFP server. Any
additional servers or server options are ignored. It was 100% reproducible on my
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Edit afpd.conf. Add a new server at a different port.
2. service atalk restart
3. Attempt to connect to the new server from a client machine
Actual Results: Server did not respond.
Expected Results: The server should be visible, and I should be able to mount
any shared volumes.
The solution I found was to add the -F flag to the init script to specify the
location of afpd.conf.
I added "-F /etc/atalk/afpd.conf" to the two places in the script where afpd is
invoked. This solved the problem entitrely for me.
*** This bug has been marked as a duplicate of 69647 ***