atalkd crashes when mac client crashes

atalkd crashes when mac client crashes

Post by Joachim Gabber » Thu, 17 Jul 1997 04:00:00



Hello,

I need some help, we have a Sparc 5 Server running the netatalk package
1.4b2. Now we have the following effect. When one of the Mac client
crashes down while a Sun Volwume is mounted, the appletalk deamon on the
Sun crashes too and needs to be restartet.
 I tried this patch:

*** libatalk/asp/asp_getsess.c- 1996/10/22 21:29:20
--- libatalk/asp/asp_getsess.c  1996/11/07 23:18:22
***************
*** 191,197 ****
        atpb.atp_rreqdata = rdata;
        atpb.atp_rreqdlen = sizeof( rdata );
        if ( atp_rreq( asp->asp_atp, &atpb ) < 0 ) {
!           if ( errno == EINTR ) {
                continue;
            }
            return( NULL );
--- 191,197 ----
        atpb.atp_rreqdata = rdata;
        atpb.atp_rreqdlen = sizeof( rdata );
        if ( atp_rreq( asp->asp_atp, &atpb ) < 0 ) {
!           if ( errno == EINTR || errno == EAGAIN ) {
                continue;
            }
            return( NULL );

withe the command pach -i solariseagain.diff in the directory of the
source file that was to pach. I got this message from patch.

.4b2/libatalk/asp

Quote:> patch -i solariseagain.diff

  Looks like a new-style context diff.
done
.4b2/libatalk/asp

After that I compiled the Source again and copied the files into the
netatalk directories.
But the problem is not fixed.
Can anyone give me help ? Was the pach successful ? What is wrong ?

Thank you very much vor any help

Regards
Joachim Gabbert