Bug 432582 - %config(noreplace) /var/yp/Makefile
Summary: %config(noreplace) /var/yp/Makefile
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: ypserv
Version: 8
Hardware: All
OS: Linux
medium
high
Target Milestone: ---
Assignee: Vitezslav Crhonek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-02-13 04:47 UTC by Ralf Corsepius
Modified: 2008-02-28 21:41 UTC (History)
0 users

Fixed In Version: 2.19-9.fc8
Clone Of:
Environment:
Last Closed: 2008-02-28 21:41:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.