Bug 208549

Summary: rpm install changes /etc/pam.d/remote without any message
Product: [Fedora] Fedora Reporter: JW <ohtmvyyn>
Component: util-linuxAssignee: Karel Zak <kzak>
Status: CLOSED NOTABUG QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 5   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-11-21 11:48:15 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 JW 2006-09-29 11:43:38 UTC
Description of problem:
Normally when rpm saves an existing file during upgrade it will issue a useful
message advising what it has done (eg "saving /etc/pam.d/login
/etc/pam.d/login.rpmsave").  But in the case of /etc/pam.d/remote it replaces it
silently.  So when every suddenly becomes broken one has to spend an hour or so
chasing a problem that simply should never have arisen.

Version-Release number of selected component (if applicable):
util-linux-2.13-0.20

How reproducible:
always

Steps to Reproduce:
1. rpm -Fvh util-linux-xxxxx
2.
3.
  
Actual results:
/etc/pam.d/login replace with warning message
/etc/pam.d/remote replace with NO WARNING MESSAGE

Expected results:
Whenever a file is replaced/saved during an rpm install there should be a
warning.  It shouldn't be a feature of script, it should be in rpm itself, and
no script should be able to silently replace config files without a warning
being emitted.

Additional info:
rpm should be rewritten, and simplified.

Comment 1 Karel Zak 2006-11-21 11:48:15 UTC
Well, now (2.13-0.45) there is:

%config %{_sysconfdir}/pam.d/chfn
%config %{_sysconfdir}/pam.d/chsh
%config %{_sysconfdir}/pam.d/login
%config %{_sysconfdir}/pam.d/remote

I don't know how improve this setting in util-linux package. I think it's
enough. Closing. 

(Please, reopen and reassign to the rpm if you think that the problem should be
fixed by the rpm tool.)