ypwhich -m
Scott Long
scottl at samsco.org
Thu Apr 20 04:44:25 UTC 2006
Brooks Davis wrote:
> 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;
> };
>
>
>
Approved
More information about the freebsd-stable
mailing list