Bug 218063

Summary: RPMs not multilib safe
Product: [Fedora] Fedora Reporter: Ulrich Drepper <drepper>
Component: pamAssignee: Tomas Mraz <tmraz>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6   
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: 2008-01-14 05:39:06 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Ulrich Drepper 2006-12-01 12:14:02 EST
Description of problem:
When installing pam on a biarch system all kinds of files in /etc/pam.d and
/etc/security and recently /var/log/{faillog,tallylog} create .rpmnew files. 
This is most probably because of different time stamps of the files in the two RPMs.

Version-Release number of selected component (if applicable):
pam-0.99.6.2-3.fc6

How reproducible:
always

Steps to Reproduce:
1.install both RPMs on biarch system
2.
3.
  
Actual results:
lots of .rpmnew files

Expected results:
no .rpmnew files unless really necessary

Additional info:
The solution for this is to use

  touch -r REFFILE $RPMROOT/etc/pam.d/NEWFILE

for all the affected files NEWFILE and where REFFILE is a file in the source
tree which isn't touched during the build process.
Comment 1 Tomas Mraz 2008-01-14 05:39:06 EST
rpm shouldn't conflict on files differing by timestamp only anymore.