Red Hat Bugzilla – Bug 162156
ypserv updates overwrites /var/yp/Makefile
Last modified: 2015-01-07 19:10:05 EST
/var/yp/Makefile contains important configuration information as to how the NIS
maps are made.
Currently, the ypserv rpm marks this file as %config, but not %config(noreplace).
This means that if a ypserv update comes along and changes the Makefile, the
next time the maps are remade (which may happen automatically from cron), they
will be wrong and potentially cause problems network wide. This file really
should be %config(noreplace) to keep issues like this from coming up.
Fixed in ypserv-2.8-19 and later.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.