Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 9825 - NIS server doesn't get nis domainname on startup
Summary: NIS server doesn't get nis domainname on startup
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Brad Cowan (RETIRED)
URL: http://www.linux-nis.org/nis/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-28 06:13 UTC by ajacoutot
Modified: 2003-08-17 23:32 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ajacoutot 2002-10-28 06:13:39 UTC
Hi,

Wouldn't it be a good idea to include in the ypserv init script a way for the
NIS server to get his NIS domain name; maybe with using the "ypdomainname -y"
command gathering something like yp.conf to get the domain name ?
It is kind of strange that on each NIS server we need to include "ypdomainname
-y nisdomainname" in local.start, it would be easier to include this in the
initscript... just an idea...

Thanks for having a look at this.
Comment 1 Owen Gunden 2003-06-10 18:24:41 UTC
Yes, I noticed the same thing when I set up an NIS domain on gentoo a few months back.  I also noticed that the portage versions of all three NIS packages were behind the current state of linux-nis (see www.linux-nis.org for the current versions), and it looks like they still are.

I posted a bug with updated ebuilds a while back, but nothing came of it (and I can't find it on bugzilla now--maybe I screwed up posting it?).  At any rate, I have ebuilds which fix the domainname issue, as well as another issue there was having to do with the (formerly nonexistent) rpc.yppasswdd startup script.  If you'd like to take a look at them I can send them to you via email.  

Also, if gentoo is looking for NIS package maintaners, I'd be willing to help out.  I'm using gentoo + NIS (both servers and clients), and interoperating with an additional debian NIS client.  

Cheers,
Owen
Comment 2 Owen Gunden 2003-08-17 23:16:02 UTC
This is fixed in ypserv-2.8 which is in the portage tree.  I propose this gets marked as FIXED.
Comment 3 Brad Cowan (RETIRED) gentoo-dev 2003-08-17 23:32:27 UTC
thanks