Red Hat Bugzilla – Bug 117687
Rescue boot needs prelink for rpm verify to work
Last modified: 2007-11-30 17:10:37 EST
Description of problem:
When running rpm --verify from the 'rescue' boot option on the install
CD, rpm is confused by prelinked binaries (since prelink is not
available) and mistakenly reports them as modified.
Steps to Reproduce:
1. Boot from install cd
2. Select 'linux rescue'
3. Follow the instructions and mount your root partition.
4. rpm -r /mnt/sysimage -Va
Prelinked binaries are reported as having changed size/md5sum.
RPM should detect prelinked binaries.
AFAICT, the prelink binary just needs to be added to the 'rescue'
image. That should enable rpm to correctly detect prelinked binaries.
See also bug 106523
Added in CVS
Tested with FC2 and, while prelink is present, it also needs a
couple of configuration files in order to work properly:
/etc/prelink.conf <-- can be blank, but should be present
/etc/rpm/macros.prelink <-- from the prelink package
'/etc/rpm/macros.prelink' just needs to contain the following line:
%__prelink_undo_cmd /usr/sbin/prelink prelink -y library
Fixed in CVS