From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 31464 invoked from network); 17 Apr 1998 15:57:10 -0000 Received: from kanga.amtp.cam.ac.uk (exim@131.111.16.130) by mail2.redhat.com with SMTP; 17 Apr 1998 15:57:10 -0000 Received: from quark.amtp.cam.ac.uk [131.111.16.111] (ig206) by kanga.amtp.cam.ac.uk with smtp (Exim 1.73 #1) id 0yQDVf-0004ZR-00; Fri, 17 Apr 1998 16:57:03 +0100 Received: from localhost by quark.amtp.cam.ac.uk (5.65v3.2/DAMTP 2.3-Client (quark.amtp.cam.ac.uk MX-hub grey.amtp.cam.ac.uk)) id AA25730; Fri, 17 Apr 1998 16:57:01 +0100 Date: Fri, 17 Apr 1998 16:57:01 +0100 (BST) From: Ian Grant X-Sender: ig206@quark.amtp.cam.ac.uk Reply-To: Ian Grant To: Wilf Cc: axp-list@redhat.com, Jon Peatfield Subject: Re: NIS on alpha problem history (was Re: ERRORS: do_ypcall:) In-Reply-To: Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Someone, sometime wrote: > I was just wondering if anyone else is having the same problem as I. > I have a sx164 running Redhat 5.0 (2.0.30) and I just installed all > the updates from the Redhat Errata wed site (thru Apr 1). Since > then, I can not get the yp stuff to work (portmap). When ever I try > and access any of our yp info, like during telnet, I get the > following errors: Dear Wilf and original poster and any other Alpha YP users, The problem is that glibc 2.0.7 breaks ypbind-3.3 My colleague Jon Peatfield has found fix, albeit a temporary one. There is also further advice from Thorsten Kukuk. Our patch follows, and below that is Thorsten's response to our request for help. Have fun Ian >From J.S.Peatfield@damtp.cam.ac.uk Fri Apr 17 16:45:59 1998 Date: Tue, 14 Apr 1998 17:13:54 +0100 From: Jon Peatfield Reply-To: hurricane-list@redhat.com To: hurricane-list@redhat.com, Cristian Gafton Cc: J.S.Peatfield@damtp.cam.ac.uk Subject: Re: glibc 2.0.7-6 and yp on alpha Resent-Date: 14 Apr 1998 16:14:12 -0000 Resent-From: hurricane-list@redhat.com Resent-cc: recipient list not shown: ; The following patch to ypbind-3.3 makes it work with glibc-2.0.7 on the alpha platform, I don't know yet if anything else has a different definition of binding stuff: --cut-here-- --- rpcsvc/yp_prot.h.orig Tue Apr 14 16:44:13 1998 +++ rpcsvc/yp_prot.h Tue Apr 14 16:45:30 1998 @@ -247,7 +247,7 @@ struct ypbind_resp { enum ypbind_resptype ypbind_status; union { - unsigned long ypbind_error; + u_int ypbind_error; struct ypbind_binding ypbind_bindinfo; } ypbind_respbody; }; --cut-here-- this definition is compatible with that in glibc. Perhaps we really need to put these definitions only in one header file so we don't get this type of confusion when one is different... I'll put the RPM/SRPM up if anyone want them... Anyway yp is now working on alpha again! -- Jon -- PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES! http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists To unsubscribe: mail hurricane-list-request@redhat.com with "unsubscribe" as the Subject.