Bug 208549 - rpm install changes /etc/pam.d/remote without any message
Summary: rpm install changes /etc/pam.d/remote without any message
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: util-linux
Version: 5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Karel Zak
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-09-29 11:43 UTC by JW
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-11-21 11:48:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.)



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