Hide Forgot
Description of problem: rpm -V <package> works just fine when only one package owns a file, but as soon as a file is owned by a multilib package it reports not errors when the file attributes changed. Version-Release number of selected component (if applicable): rpm-4.8.0-47.el6 How reproducible: always Steps to Reproduce: # cat test.rpm Name: test Version: 1 Release: 1%{?dist} Summary: test rpm Group: test License: GPL %description A test rpm. %prep %build %install mkdir $RPM_BUILD_ROOT/etc touch $RPM_BUILD_ROOT/etc/test.rpm.file %files %verify(mode md5 size mtime group) /etc/test.rpm.file %changelog # # # rpmbuild -ba --target x86_64 test.rpm ; rpmbuild -ba --target i686 test.rpm ---%<--- # rpm -iv ~/rpmbuild/RPMS/x86_64/test-1-1.el6.x86_64.rpm Preparing packages for installation... test-1-1.el6 # rpm -V test # touch /etc/test.rpm.file # rpm -V test .......T. /etc/test.rpm.file # # rpm -ivh ~/rpmbuild/RPMS/i686/test-1-1.el6.i686.rpm Preparing... ########################################### [100%] 1:test ########################################### [100%] # rpm -V test # touch /etc/test.rpm.file # rpm -V test # # rpm -V test.x86_64 # rpm -V test.i686 #
This is caused by [1]. ht current situation is not ideal but the situation before [1] was even worse. There is also another problem with shared files: # rpm -iv ~/rpmbuild/RPMS/x86_64/test-1-1.el6.x86_64.rpm # rpm -V test # rpm -ivh ~/rpmbuild/RPMS/i686/test-1-1.el6.i686.rpm # rpm -V test # rpm -e test-1-1.el6.i686 # rpm -V test .......T. /etc/test.rpm.file [1] https://github.com/rpm-software-management/rpm/commit/9646a117c916022067fd07e4f6a7e25c5c9814de
As I said this behaviour is not ideal but rpm behaves like this for long time so it would be better don't touch this behaviour at least for rhel-6. So I am closing this bug as wontfix.