AppleTalk clients see empty volume list on xenial

Bug #1690685 reported by Doug Brown on 2017-05-14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
netatalk (Ubuntu)

Bug Description

After upgrading from trusty to xenial, I've noticed that old classic Mac clients logging in through AppleTalk see an empty volume list from afpd. The server appears in the Chooser on the Mac, but after you log in, the volume list being supplied is empty. /etc/netatalk/AppleVolumes.default is being ignored, and only /etc/netatalk/AppleVolumes.system is being read.

Modern TCP clients don't suffer from this problem and show all volumes properly.

I have narrowed the problem down to this commit:

At the very bottom, moving the call to getpwnam() broke it; after the change, when an AppleTalk client connects, getpwnam() is no longer being called. This bug makes afpd incompatible with old Macs that don't have AFP over TCP capabilities.

As a workaround, you can add your servers to /etc/netatalk/AppleVolumes.system instead, but it would be nice if /etc/netatalk/AppleVolumes.default still worked, since it contains the logic that serves users' home directories by default.

Doug Brown (macg3) wrote :

It appears that there have been several unreleased commits to netatalk's 2.2 branch after the release of 2.2.5:

One of the commits from September 1, 2014 appears to fix this problem, and the other one is probably a fix for the following error I see in journalctl:

afpd[1684]: Failed to add service: Local name collision

Would it be possible to have these patches added to Ubuntu's distribution of netatalk?

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers