Bug 1296821

Summary: Missing config(noreplace) macro for /etc/pam.d/samba in the spec file
Product: Red Hat Enterprise Linux 7 Reporter: Jakub Hradil <jkhradil>
Component: sambaAssignee: Andreas Schneider <asn>
Status: CLOSED ERRATA QA Contact: Robin Hack <rhack>
Severity: low Docs Contact:
Priority: unspecified    
Version: 7.2CC: asn, gdeschner, jarrpa, rhack
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: samba-4.4.4-1.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-04 06:58:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jakub Hradil 2016-01-08 08:38:22 UTC
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):
samba-4.1.12

How reproducible:
Always

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

Actual results:
/etc/pam.d/samba is always replaced by the one provided by the rpm package.

Expected results:
/etc/pam.d/samba should be kept intact, so that custom changes are retained.

Additional info:

Comment 6 errata-xmlrpc 2016-11-04 06:58:59 UTC
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.

https://rhn.redhat.com/errata/RHBA-2016-2468.html