(See bug #371387. This is *not* a dupe of this, but is a new bug caused by the fix for 371387.) Summary: net-nds/yp-tools >4.0.0 defaults to ypbind protocol v3. The latest net-nds/ypbind available from Gentoo only supports v1 and v2. This causes problems calling yptools utilities. One example is that /etc/init.d/ypbind script fails if yp-tools is upgraded, because it attempts to do "ypwhich" for ten seconds or until it succeeds. With the new yp-tools, ypwhich will fail with: Error: unsupported version (-1) from ypbind on 'localhost' (Or other server if not localhost) This causes the init scripts to incorrectly believe that ypbind is not started, and e.g. a restart will not restart it. I suggest either: 1: destabilize or mask >=net-nds/yp-tools-4.0.0 until a new and compatible net-nds/ypbind is made available. Preferably mask, because this breaks existing systems because they won't be able to downgrade to 2.12 if upgrading, due to bug #371387. 2a: make <=net-nds/yp-tools-4.0.0 a prerequisite for net-nds/ypbind-2.12 2b: patch net-nds/ypbind-2.12 to comment out the #include <bits/libc-lock.h> line that prevents it from building with newer glibc. A quick-fix bandaid is to insert "-V 2" on the ypwhich line in /etc/init.d/ypbind, but that won't fix any other scripts that may call ypwhich or related utilities that now expect v3. But at least it may help someone who runs ypbind and need to run restart on it. Reproducible: Always Steps to Reproduce: 1. emerge net-nds/ypbind net-nds/yp-tools 2. point /etc/yp.conf to a valid yp server 3. /etc/init.d/ypbind start Actual Results: * Starting ypbind ... * No NIS server found [ !! ] * ERROR: ypbind failed to start Expected Results: * Starting ypbind ... [ ok ]
In the meantime please re-add yp-tools 2.x to the tree. The latest 2.14 version builds fine on current stable glibc, and unlike the currently-stable yp-tools-4.2.2 the 2.x versions actually work as expected with current stable ypbind.
Same problem here. Please implement suggested changes and/or consider bug # 626052 which gives ebuild of current ypbind version.
Removed from the tree