Date: Wed, 19 Apr 2006 17:11:42 -0700 From: Brooks Davis <brooks@one-eyed-alien.net> To: Rong-En Fan <grafan@gmail.com> Cc: re@freebsd.org, freebsd-stable@freebsd.org, peter@freebsd.org Subject: Re: ypwhich -m Message-ID: <20060420001142.GB19865@odin.ac.hmc.edu> In-Reply-To: <6eb82e0604191645p70646962m78f89756d2714be7@mail.gmail.com> References: <6eb82e0604191645p70646962m78f89756d2714be7@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On Wed, Apr 19, 2006 at 07:45:47PM -0400, Rong-En Fan wrote:
> Hi,
>
> I found that ypwhich -m does not work on 6.1-RC, it shows
>
> ypwhich: can't find the master of `???`: reason: No such map in server's domain
>
> IIRC, there was a commit last year to fix this. After some search, I think
> it is include/rpcsvc/yp_prot.h revision 1.13 done by peter@ (CC'ed).
> As far as I can tell, ypwhich -m is also broken on 5.4 and 5.5-PRERELEASE.
>
> I have tested that revision on a 5.5-PRERELEASE machine, it
> fixes ypwhich -m. I would like to see this MFC'ed to RELENG_6
> and RELENG_5, so the newer releases will have this fixed.
I've verified this on a 6-STABLE machine from January. If approved,
I'll do it tomorrow cut-n-paste damanged patch below. It's a trivial
one line change so anyone could do it.
-- Brooks
@@ -148,7 +148,7 @@
};
struct ypmaplist {
- char ypml_name[YPMAXMAP + 1];
+ char *ypml_name;
struct ypmaplist *ypml_next;
};
--
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQFERtG9XY6L6fI4GtQRAmJRAKCsyJq85iuemqBIEMjmek16mTkOCQCffxLc
pmWLuOjnuOwwy1qSE6vQzr4=
=9dqq
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060420001142.GB19865>
