Comment 3 for bug 204514

Revision history for this message
Philip Lowman (philip-yhbt) wrote :

I can also confirm this bug on 8.04.1 LTS (i386) Server.

When running "make" in /var/yp:
root@dizzy:/var/yp# make
make[1]: Entering directory `/var/yp/sim.gdls.com'
Updating netid.byname...
Segmentation fault
make[1]: Leaving directory `/var/yp/sim.gdls.com'

Or while running ypinit:
root@dizzy:/var/yp# /usr/lib/yp/ypinit -m

At this point, we have to construct a list of the hosts which will run NIS
servers. dizzy.simwin.gdls.com is in the list of NIS server hosts. Please continue to add
the names for the other hosts, one per line. When you are done with the
list, type a <control D>.
        next host to add: dizzy.simwin.gdls.com
        next host to add:
The current list of NIS servers looks like this:

dizzy.simwin.gdls.com

Is this correct? [y/n: y] Y
We need a few minutes to build the databases...
Building /var/yp/sim.gdls.com/ypservers...
Running /var/yp/Makefile...
make[1]: Entering directory `/var/yp/sim.gdls.com'
Updating passwd.byname...
Updating passwd.byuid...
Updating group.byname...
Updating group.bygid...
Updating hosts.byname...
Updating hosts.byaddr...
Updating rpc.byname...
Updating rpc.bynumber...
Updating services.byname...
Updating services.byservicename...
Updating netid.byname...
Segmentation fault
Updating protocols.bynumber...
Updating protocols.byname...
Updating netgroup...
Updating netgroup.byhost...
Updating netgroup.byuser...
Updating shadow.byname...
make[1]: Leaving directory `/var/yp/sim.gdls.com'

dizzy.simwin.gdls.com has been set up as a NIS master server.

Now you can run ypinit -s dizzy.simwin.gdls.com on all slave server.