Red Hat Bugzilla – Bug 196100
editing prelink.conf should not be necessary
Last modified: 2008-08-02 19:40:32 EDT
Description of problem:
If a specific file needs to be excluded from prelinking, the prelink.conf file
must be edited. Adding entries is easy enough but removing them is a PITA.
prelink should include the files in /etc/prelink.d/* and then the required
prelink config can be packaged in the rpm
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Can you explain what exactly you need to edit and why?
McAfee command line scanner (uvscan) does not like being prelinked. It assumes
that if it has been altered then it is the work of a virus. The output from
The program has been altered; please replace it with a good copy.
I have to add the following lines to /etc/prelink.conf to prevent the problem:
It seems reasonable that this config belongs to the uvscan package.
There are other entries in the default /etc/prelink.conf file which look like
they should come from certain packages. At least xfig, LessTif and ftp have
per-package config entries which from what I can tell come configured in the
uvscan should be fixed to take prelink into account, rather than trying such
xfig/LessTif/ftp related paths aren't in prelink.conf because those packages
would require it, but in order to prune deep directory trees with many clearly
non-ELF files in them from prelink searches.