michalpolkowski / alt-f

Automatically exported from code.google.com/p/alt-f
0 stars 0 forks source link

netatalk ("AppleTalk Filing Protocol daemon." ) package #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The untested netatalk package seems not to work due to an yet to be discovered 
interaction with db, the Berkeley Database:

Using Alt-F netatalk:

Although I don't have a Mac, I tried using afpfs-ng in another linux 
host to simulate a Mac cmd line client. 
I can connect, login and select a afp share, but I can't get a 
directory listing. It seems to be a db (Berkeley Database) problem. 

So I uninstalled Alt-F db and netatalk and installed ffp db48-4.8.30-1 
and netatalk-2.1.3-1, and they worked; I could login, select an afp 
share, get a directory listing and download a file. 

So, until I fix Alt-F db, you can resort to ffp. Remember to uninstall 
first Alt-F db and netatalk, as Alt-F binaries have priority over ffp 
ones. 

If you have a Mac and some expertise, you can try to debug the problem, but 
remember that netatalk seems to be sensitive to the db version in use -- there 
are documented procedures in the netalk web page on how to upgrade from one to 
another version of db.

You can use the attached file, that you must drop in /etc/init.d/, in order to 
start or stop the afpd service under Services->Network, or through "rcafpd 
start" or "rcafpd stop" in the command line.

Original issue reported on code.google.com by whoami.j...@gmail.com on 1 Dec 2010 at 7:35

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed Berkeley db configuration, regarding mutex usage.
Tests done with afpfs-ng indicates that afpd now works fine.
Also updated db to the same version used by ffp, so no problem regarding db 
compatibility should arise.

Original comment by whoami.j...@gmail.com on 31 Jan 2011 at 7:32