Tech Support > Operating Systems > Linux / Variants > Getting NIS (specifically ypbind) to start in Sarge
Getting NIS (specifically ypbind) to start in Sarge
Posted by John Winters on December 27th, 2003


Continuing the slow process of migrating from Woody to Sarge...

I've noticed another oddity. Given an NIS workstation (that is, a box
configured to be a YP client but not a server) the ypbind process fails
to start as the box boots. If you invoke the startup script directly
it starts fine. Examining the script (/etc/init.d/nis) there's some
jiggery-pokery going on to test whether it was invoked as "/etc/init.d/nis"
or as "/etc/rc?.d/nis"). In the latter case the comments suggest that
the job of starting ypbind should be handled be something in
/etc/network/if-up.d/. The trouble is there is nothing at all in this
directory so ypbind simply doesn't start. It's difficult to tell what
package the nis package is expecting to have supplied the necessary file.

Anyone know? Is this just a cock-up in the NIS package or is there some
other package which should have been installed?

TIA,
John
--
Wallingford, Oxfordshire, England
We had a woodhenge here once but it rotted.

Posted by Tony Hoyle on December 28th, 2003


John Winters wrote:

I'd have thought that bug would have been fixed when it was in sid.
Someone posted a patch for it, anyway (partly the bug is that the script
behaves differently depending on where it thinks it was called from,
which is simply bad design).**Bugs*221569*and*222074.

Tony



Similar Posts