Description of problem: When trying to build a RHEL 4.7 s390x NIS slave server against a Solaris 10 UltraSPARC NIS master, the 'ypinit -s server' step spits out many errors: [root@nis-slave ~]# /usr/lib64/yp/ypinit -s nis-master.example.com We will need a few minutes to copy the data from nis-master.example.com. Transferring audit_user... *** glibc detected *** free(): invalid pointer: 0x00000200001a1000 *** /usr/lib64/yp/ypinit: line 37: 31122 Aborted $YPBINDIR/ypxfr -f -h $MASTER -c -d $DOMAIN $map YPINIT: WARNING: Couldn't exec /usr/lib64/yp/ypxfr -f -h server.example.com -c -d nisarch audit_user This works fine with RHEL 5.3 s390x NIS slave, so I compared the ypxfr source code in RHEL 4.7 against 5.3 and found there aren't many changes. I backported those changes and now ypinit works fine. See the attached patch. Version-Release number of selected component (if applicable): ypserv-2.13-19.s390x How reproducible: every time Steps to Reproduce: 1. build a Solaris 10 UltraSPARC NIS master 2. try to build a RHEL 4.7 s390x NIS slave Actual results: 'ypinit -s nis-master.example.com' step fails Expected results: ypinit successfully initializes the NIS slave Additional info:
Created attachment 341247 [details] patch for ypxfr