This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nis/5854] yp_order always returns order 0
- From: "jmoyer at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 3 Mar 2008 21:58:37 -0000
- Subject: [Bug nis/5854] yp_order always returns order 0
- References: <20080303215159.5854.jmoyer@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From jmoyer at redhat dot com 2008-03-03 21:58 -------
Better hints for testing:
Create a yp map, say auto.test. Run make in /var/yp.
Write a small program which uses the yp_order function call to determine the
order of the map. Run this program.
Update the yp map and re-run make in the /var/yp directory.
Re-run the test program.
In each instance, running the test program will give a yp order of 0. Running
yppoll will show what the map order should be.
Here is output from the automounter when an update is recognized (after applying
this patch):
Mar 3 16:29:21 sig11 automount[5584]: nis map auto.test order 1204580388, last
order 1204580338
Previously, we would see this:
Feb 28 11:23:49 nec-em23 automount[4642]: nis map auto.test order 0, last order 0
--
http://sourceware.org/bugzilla/show_bug.cgi?id=5854
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.