On Mar 19, 2014, at 12:06 , Fredrik Pettai <pettai%nordu.net@localhost> wrote: > On Mar 19, 2014, at 10:30 , Fredrik Pettai <pettai%nordu.net@localhost> wrote: >> On Mar 19, 2014, at 01:34 , matthew sporleder >> <msporleder%gmail.com@localhost> wrote: >>> On Tue, Mar 18, 2014 at 11:50 AM, Fredrik Pettai >>> <pettai%nordu.net@localhost> wrote: >> >> Now, lets see if netatalk can do some working shares too… > > Ok, afpd (net/netatalk) isn't able to register itself with mdnsd > (net/mDNSresponder). > > Mar 19 09:57:49 xsrv1 afpd[18236]: AFP/TCP started, advertising > 109.105.104.215:548 (2.2.5) > Mar 19 09:57:49 xsrv1 afpd[18236]: volume "TimeCapsule" does not support > Extended Attributes, using ea:ad instead > Mar 19 09:57:52 xsrv1 afpd[18236]: Failed to add service: _afpovertcp._tcp, > error=-65563 > > and from ktrace -t A : > > […] > > 18236 1 afpd getpid() = 18236, 8346 > 18236 1 afpd __lstat50("org.netatalk.supports-eas.18236a", > 0x7f7fffffb3f0) Err#2 ENOENT > 18236 1 afpd geteuid() = 0 > 18236 1 afpd setxattr(0x7f7ff7b022e0, 0x6878a0, 0x4612e7, 0x4, 0) > Err#86 ENOTSUP > 18236 1 afpd __gettimeofday50(0x7f7fffff9d90, 0) = 0 > 18236 1 afpd getpid() = 18236, 8346 > 18236 1 afpd fcntl(0x7, 0x3, 0) = 2 > 18236 1 afpd sendto(0x7, 0x7f7fffff9db0, 0x94, 0, 0, 0) = 148 > "<28>1 2014-03-19T09:57:49.667675+00:00 xsrv1.nordu.net afpd 18236 - - > volume "TimeCapsule" does not support Extended Attributes, using ea:ad > instead" > 18236 1 afpd open("/usr/pkg/etc/netatalk/afp_voluuid.conf", 0, > 0x1b6) = 9 > 18236 1 afpd __fstat50(0x9, 0x7f7fffffb360) = 0 > 18236 1 afpd read(0x9, 0x7f7ff7b4c000, 0x4000) = 163 > "# DON'T TOUCH NOR COPY THOUGHTLESSLY!\n# This file is auto-generated > by afpd\n# and stores UUIDs for TM > volumes.\n\n"TimeCapsule"\t5BB076DF-95E0-ADE5-497C-0A6820E01E4C\n" > 18236 1 afpd close(0x9) = 0 > 18236 1 afpd read(0x3, 0x7f7ff7b0c000, 0x4000) = 0 > "" > 18236 1 afpd close(0x3) = 0 > 18236 1 afpd __socket30(0x1, 0x1, 0) = 3 > 18236 1 afpd setsockopt(0x3, 0xffff, 0x800, 0x7f7fffffd1cc, 0x4) = 0 > 18236 1 afpd connect(0x3, 0x7f7fffffd160, 0x6a) Err#20 ENOTDIR > 18236 1 afpd __nanosleep50(0x7f7fffffd130, 0x7f7fffffd120) = 0 > 18236 1 afpd connect(0x3, 0x7f7fffffd160, 0x6a) Err#20 ENOTDIR > 18236 1 afpd __nanosleep50(0x7f7fffffd130, 0x7f7fffffd120) = 0 > 18236 1 afpd connect(0x3, 0x7f7fffffd160, 0x6a) Err#20 ENOTDIR > 18236 1 afpd __nanosleep50(0x7f7fffffd130, 0x7f7fffffd120) = 0 > 18236 1 afpd connect(0x3, 0x7f7fffffd160, 0x6a) Err#20 ENOTDIR > 18236 1 afpd close(0x3) = 0 > 18236 1 afpd __gettimeofday50(0x7f7fffffbb40, 0) = 0 > 18236 1 afpd getpid() = 18236, 8346 > 18236 1 afpd fcntl(0x7, 0x3, 0) = 2 > 18236 1 afpd sendto(0x7, 0x7f7fffffbb60, 0x7b, 0, 0, 0) = 123 > "<27>1 2014-03-19T09:57:52.694445+00:00 xsrv1.nordu.net afpd 18236 - - > Failed to add service: _afpovertcp._tcp, error=-65563" > 18236 1 afpd __sigprocmask14(0x2, 0x7f7fffffdbe0, 0) = 0 > 18236 1 afpd getrlimit(0x8, 0x7f7fffffdbd0) = 0 > 18236 1 afpd setrlimit(0x8, 0x7f7fffffdbd0) = 0 > 18236 1 afpd __sigprocmask14(0x2, 0x7f7fffffdbe0, 0) = 0 > 18236 1 afpd poll(0x7f7ff7b4c170, 0x1, 0xffffffff) Err#4 EINTR > 18236 1 afpd SIGINT SIG_DFL > > The connect() fails after setsockopt() And wip/netatalk (version 3.1.0) also suffers the same problem with net/mDNSresponder… […] 6768 1 afpd __socket30(0x1, 0x1, 0) = 8 6768 1 afpd setsockopt(0x8, 0xffff, 0x800, 0x7f7fffffd85c, 0x4) = 0 6768 1 afpd connect(0x8, 0x7f7fffffd7f0, 0x6a) Err#20 ENOTDIR 6768 1 afpd __nanosleep50(0x7f7fffffd7c0, 0x7f7fffffd7b0) = 0 6768 1 afpd connect(0x8, 0x7f7fffffd7f0, 0x6a) Err#20 ENOTDIR 6768 1 afpd __nanosleep50(0x7f7fffffd7c0, 0x7f7fffffd7b0) = 0 6768 1 afpd connect(0x8, 0x7f7fffffd7f0, 0x6a) Err#20 ENOTDIR 6768 1 afpd __nanosleep50(0x7f7fffffd7c0, 0x7f7fffffd7b0) = 0 6768 1 afpd connect(0x8, 0x7f7fffffd7f0, 0x6a) Err#20 ENOTDIR 6768 1 afpd close(0x8) = 0 6768 1 afpd __gettimeofday50(0x7f7fffffc1f0, 0) = 0 6768 1 afpd getpid() = 6768, 15161 6768 1 afpd fcntl(0x7, 0x3, 0) = 2 6768 1 afpd sendto(0x7, 0x7f7fffffc210, 0x7a, 0, 0, 0) = 122 "<27>1 2014-03-19T11:18:34.377201+00:00 xsrv1.nordu.net afpd 6768 - - Failed to add service: _afpovertcp._tcp, error=-65563" 6768 1 afpd __sigprocmask14(0x2, 0x7f7fffffdbd0, 0) = 0 6768 1 afpd getrlimit(0x8, 0x7f7fffffdbc0) = 0 6768 1 afpd setrlimit(0x8, 0x7f7fffffdbc0) = 0 6768 1 afpd __sigprocmask14(0x2, 0x7f7fffffdbd0, 0) = 0 :( /P
Attachment:
signature.asc
Description: Message signed with OpenPGP using GPGMail