Menu

#458 Serve empty EA data when none exist on server

None
closed
nobody
None
1
2023-04-11
2012-09-25
No

Using Solaris EA's, for any given file on the server filesystem that doesn't have the org.netatalk.Metadata attribute, opening that file over AFP on a Lion or Mountain Lion system causes erratic behavior (application crashes, corrupted reads, etc.). Touching the attribute on the server filesystem or touching the file itself on the client mysteriously cures the problem.

The behavior started to occur with Lion and Mountain Lion after upgrading to Netatalk 3.0. I think before I disabled EA's since they didn't work reliably on Solaris 11. I suspect there is a problem with the FileServices framework, but getting Apple to fess up to that is next to impossible. It would be handy if the EA doesn't exist when accessing the file, have netatalk fake an empty one until a write occurs and the EA gets created.

afp.conf:

[Global]
unix charset = UTF8
mimic model = RackMac
log file = /var/log/netatalk.log
log level = default:note

[Homes]
convert appledouble = false
basedir regex = /home
umask = 0022
home name = $u

1 Attachments

Discussion

  • Charles Stephens

    Added netatalk.log showing file activity to a test file created on the server and opened over AFP on a Mountain Lion client.

     
  • Ralph Böhme

    Ralph Böhme - 2013-08-18
    • status: open --> pending
    • Group: -->
     
  • Ralph Böhme

    Ralph Böhme - 2013-08-18

    This issue should be fixed in a later version of 3.0.

     
  • Daniel Markstedt

    • status: pending --> closed
     

Log in to post a comment.