I've tested the new workaround mentioned above. Configs before
workaround:

* AppleVolumes.default:
        /shared/timemachine/ "TimeMachine" allow:timemachine cnidscheme:dbd 
options:tm,upriv,usedots

afpd.conf:
        - -tcp -noddp -uamlist uams_dhx.so,uams_dhx2.so -nosavepassword 
-nozeroconf

/var/log/syslog (when trying to do a TimeMachine backup):

        Oct 18 09:33:37 rutger afpd[22363]: 
===============================================================
        Oct 18 09:33:37 rutger afpd[22363]: INTERNAL ERROR: Signal 11 in pid 
22363 (2.2-beta4)
        Oct 18 09:33:37 rutger afpd[22363]: 
===============================================================
        Oct 18 09:33:37 rutger afpd[22363]: BACKTRACE: 3 stack frames:
        Oct 18 09:33:37 rutger afpd[22363]:  #0 
/usr/sbin/afpd(netatalk_panic+0x1c) [0x7f59d87e549c]
        Oct 18 09:33:37 rutger afpd[22363]:  #1 /usr/sbin/afpd(+0x4d59c) 
[0x7f59d87e559c]
        Oct 18 09:33:37 rutger afpd[22363]:  #2 
/lib/x86_64-linux-gnu/libc.so.6(+0x36420) [0x7f59d77c1420]
        Oct 18 09:33:39 rutger afpd[22364]: AFP statistics: 0.52 KB read, 0.38 
KB written

Applying workaround with uams_dhx2_passwd:

* afpd.conf:

        - -tcp -noddp -uamlist uams_dhx.so,uams_dhx2_passwd.so
-nosavepassword -nozeroconf

* /var/log/syslog (after restarting using "service netatalk restart" and
starting a TimeMachine backup)

        Oct 18 10:41:31 rutger afpd[23362]: AFP/TCP started, advertising 
172.22.22.150:548 (2.2-beta4)
        Oct 18 10:41:42 rutger afpd[23365]: AFP3.3 Login by timemachine
        Oct 18 10:41:57 rutger cnid_dbd[23367]: Set syslog logging to level: 
LOG_NOTE
        ...
        Oct 18 10:45:24 rutger afpd[23365]: AFP logout by timemachine
        Oct 18 10:45:24 rutger afpd[23365]: AFP statistics: 184393.60 KB read, 
118304.24 KB written
        Oct 18 10:45:24 rutger afpd[23365]: done

Workaround confirmed and working!

root@rutger:/etc/netatalk# afpd -v
Oct 18 10:52:43 rutger [23500]: Set syslog logging to level: LOG_NOTE
afpd 2.2-beta4 - Apple Filing Protocol (AFP) daemon of Netatalk

This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
version. Please see the file COPYING for further information and details.

afpd has been compiled with support for these features:

        AFP3.x support: Yes
        TCP/IP Support: Yes
DDP(AppleTalk) Support: Yes
         CNID backends: dbd last tdb 

             afpd.conf: /etc/netatalk/afpd.conf
   AppleVolumes.system: /etc/netatalk/AppleVolumes.system
  AppleVolumes.default: /etc/netatalk/AppleVolumes.default
    afp_signature.conf: /etc/netatalk/afp_signature.conf
      afp_voluuid.conf: /etc/netatalk/afp_voluuid.conf
         afp_ldap.conf: not supported
       UAM search path: /usr/lib/netatalk/
  Server messages path: /etc/netatalk/msg/
              lockfile: /var/run/afpd.pid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/810732

Title:
  Netatalk shows kernel panic in syslog when trying to connect to server
  in OS X 10.6.8. Worked fine before upgrade to ocelot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netatalk/+bug/810732/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to