Bug 90748 - /etc/yp.conf should be marked as %config(noreplace)
/etc/yp.conf should be marked as %config(noreplace)
Product: Red Hat Raw Hide
Classification: Retired
Component: ypbind (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Steve Dickson
Ben Levenson
Depends On:
  Show dependency treegraph
Reported: 2003-05-13 07:27 EDT by Enrico Scholz
Modified: 2007-04-18 12:53 EDT (History)
0 users

See Also:
Fixed In Version: 1.12-1.10
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-05-21 15:23:15 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Enrico Scholz 2003-05-13 07:27:17 EDT
Description of problem:

/etc/yp.conf is an important system-configuration file and should not be
overridden in updates.

Currently it is marked as %config only which renames the old file to
yp.conf.rpmsave and uses the shipped one. This breaks existing NIS and the file 
should be marked as

| %config(noreplace) %{_sysconfdir)/yp.conf

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. setup NIS with ypbind < 1.12
2. update to ypbind-1.12

Actual results:

configuration in /etc/yp.conf is lost; NIS is not working anymore

Expected results:

NIS is still working
Comment 1 Bill Nottingham 2003-05-21 15:23:15 EDT
This is fixed in 1.12-1.10.

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