Red Hat Bugzilla – Bug 1296821
Missing config(noreplace) macro for /etc/pam.d/samba in the spec file
Last modified: 2016-11-04 02:58:59 EDT
Description of problem:
After updating samba, the custom changes made in /etc/pam.d/samba are lost. This is due to config(noreplace) macro not being used for this file in the spec file.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Modify /etc/pam.d/samba
2. Run yum upgrade samba (assuming update is available)
3. See customized /etc/pam.d/samba replaced by the one distributed in rpm
/etc/pam.d/samba is always replaced by the one provided by the rpm package.
/etc/pam.d/samba should be kept intact, so that custom changes are retained.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.