NIS ypinit core dumps when run on x64 system NIS server

Bug #204514 reported by P. Biechele
4
Affects Status Importance Assigned to Milestone
nis (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: nis

Using a x64 system of gutsy kubuntu 7.10
Description: Ubuntu 7.10
Release: 7.10

nis:
  Installiert:3.17-10ubuntu1
  Mögliche Pakete:3.17-10ubuntu1
  Versions-Tabelle:
 *** 3.17-10ubuntu1 0
        500 http://192.168.0.1 gutsy/main Packages
        100 /var/lib/dpkg/status

Messages of running ypinit is:
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 (core dumped)
Updating protocols.bynumber...
Updating protocols.byname...
Updating netgroup...
Updating netgroup.byhost...
Updating netgroup.byuser...
Updating shadow.byname...
make[1]: Verlasse Verzeichnis

NIS runs and works, but for example the gshadow file is not exported through nis!

The "dmesg" command reveals:
[5999569.823868] mknetid[32215]: segfault at 0000000000000000 rip 00002af8b790175a rsp 00007ffff3613ce0 error 4
[6000430.202789] mknetid[32582]: segfault at 0000000000000000 rip 00002b734ffc275a rsp 00007fff5af51620 error 4
[6000546.554599] mknetid[355]: segfault at 0000000000000000 rip 00002b57f892675a rsp 00007fffb25eccc0 error 4
[6000616.685101] mknetid[518]: segfault at 0000000000000000 rip 00002b928ba4375a rsp 00007fff1f4d1ba0 error 4
[6000641.996607] mknetid[679]: segfault at 0000000000000000 rip 00002ba0548c375a rsp 00007fff5664fd20 error 4
[6000883.381775] mknetid[851]: segfault at 0000000000000000 rip 00002ab5d52d875a rsp 00007fffd5c3d310 error 4
[6057130.430104] mknetid[5712]: segfault at 0000000000000000 rip 00002b70b76d375a rsp 00007ffff3841f10 error 4

The clients on x86 can work with rthe NIS server, but gshadow is not used.

Revision history for this message
Daniel T Chen (crimsun) wrote :

Is this symptom still reproducible in 8.10 or 9.04?

Changed in nis:
status: New → Incomplete
Revision history for this message
pit (peter-biechele-gmx) wrote :

Sorry haven't switched to 8.10 yet. It is a server installation and we plan to switch to 8.10 maybe around x-mas.
Will let you know then.

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.

Revision history for this message
Chuck Short (zulcss) wrote :

Thanks Ill take a look at this for lucid.

Regards
chuck

Changed in nis (Ubuntu):
status: Incomplete → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.