Bug 432582

Summary: %config(noreplace) /var/yp/Makefile
Product: [Fedora] Fedora Reporter: Ralf Corsepius <rc040203>
Component: ypservAssignee: Vitezslav Crhonek <vcrhonek>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: medium    
Version: 8   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 2.19-9.fc8 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-02-28 21:41:03 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 Ralf Corsepius 2008-02-13 04:47:41 UTC
Description of problem:

Inside of the spec-file
/var/yp/Makefile should be marked as
%config(noreplace)

Rationale: /var/yp/Makefile is supposed to be edited and customized.
Due to it not being marked %config(noreplace), ypserv package updates will blow
away all customizations users might have applied. As a result ypservers might
become unusable and kill whole networks.

Version-Release number of selected component (if applicable):
ypserv-2.19-8.fc8

How reproducible:
Always.

Steps to Reproduce:
1. edit /var/yp/Makefile
2. rpm -U ypserv-<newversion>.rpm
  
Actual results:
The edited /var/yp/Makefile is being backed up to /var/yp/Makefile.rpmsave and
replaced with the rpm's original /var/yp/Makefile. All customizations are being
lost. The next "make" will create ypserver dbs not meeting the user's
expectations, which are likely to break yp-based networks (As in my case).

Comment 1 Fedora Update System 2008-02-13 13:59:52 UTC
ypserv-2.19-9.fc8 has been submitted as an update for Fedora 8

Comment 2 Fedora Update System 2008-02-16 02:15:10 UTC
ypserv-2.19-9.fc8 has been pushed to the Fedora 8 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update ypserv'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F8/FEDORA-2008-1726

Comment 3 Fedora Update System 2008-02-28 21:40:58 UTC
ypserv-2.19-9.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.