Bug 9692
Summary: | wrong timestamp with LAST_MODIFED in NIS maps | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | cdent |
Component: | ypserv | Assignee: | Cristian Gafton <gafton> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4.2 | CC: | cdent |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2000-05-19 13:47:01 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
cdent
2000-02-22 20:05:09 UTC
The following patch appears to clear up this problem. Or at least since applying this patch we no longer have the problem. diff -r -u ypserv-1.3.9.orig/ypxfr.c ypserv-1.3.9/ypxfr.c --- ypserv-1.3.9.orig/ypxfr.c Sat Aug 21 02:22:20 1999 +++ ypserv-1.3.9/ypxfr.c Mon Feb 28 23:52:59 2000 @@ -348,7 +348,9 @@ if ((resp_order = ypproc_order_2 (&req_nokey, clnt_udp)) == NULL) { clnt_perror (clnt_udp, "masterOrderNum"); - masterOrderNum = 0x7fffffff; + masterOrderNum = time (NULL); /* We set it to the current time. + So a new map will be always newer. */ + } else { |