Red Hat Bugzilla – Bug 62895
upgrading ypserv can overwrite user-seetings in /var/yp/Makefile
Last modified: 2007-04-18 12:41:44 EDT
Description of problem:
Upgrades of ypserv overwrite /var/yp/Makefile which may contain customized
Infomation (which maps to build, NOPUSH etc)
Version-Release number of selected component (if applicable): ypserv-2.2-7
Steps to Reproduce:
install yperv-2.2.3, edit /var/yp/Makefile, upgrade to ypserv-2.2.7.
Actual Results: Changes in /var/yp/Makefile are lost.
Expected Results: new Makefile should be created as /var/yp/Makefile.rpmnew, or
at least the old version should be preserved as Makefile.rpmold
When I tried to reproduce it, my changes to Makefile were preserved, but no
rpmnew was created. But I know that I lost my changes when I upgraded from 2.2.3
to 2.2.7. Sorry to be so vague on this.
The obvious fix should be to make /var/yp/Makefile %config(noreplace) in the
*** This bug has been marked as a duplicate of 60377 ***