Bug 62895

Summary: upgrading ypserv can overwrite user-seetings in /var/yp/Makefile
Product: [Retired] Red Hat Raw Hide Reporter: Bernhard Weisshuhn <bkw>
Component: ypservAssignee: Alexander Larsson <alexl>
Status: CLOSED DUPLICATE QA Contact: Aaron Brown <abrown>
Severity: low Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-04-07 11:30:58 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 Bernhard Weisshuhn 2002-04-07 11:30:54 UTC
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


How reproducible:
Sometimes

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

Additional info:

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
specfile.

Comment 1 Alexander Larsson 2002-04-07 21:42:16 UTC

*** This bug has been marked as a duplicate of 60377 ***