Bug 196100 - editing prelink.conf should not be necessary
Summary: editing prelink.conf should not be necessary
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: prelink
Version: 4.0
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
: ---
Assignee: Jakub Jelinek
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-06-21 00:56 UTC by John Newbigin
Modified: 2008-08-02 23:40 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-06-23 09:17:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description John Newbigin 2006-06-21 00:56:39 UTC
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):
prelink-0.3.3-0.EL4

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Jakub Jelinek 2006-06-21 06:58:45 UTC
Can you explain what exactly you need to edit and why?

Comment 2 John Newbigin 2006-06-21 23:15:44 UTC
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
uvscan is:
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:
-b /usr/bin/uvscan
-b /usr/lib/liblnxfv.so.4

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
prelink package.

Comment 3 Jakub Jelinek 2006-06-23 09:17:15 UTC
uvscan should be fixed to take prelink into account, rather than trying such
workarounds.
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.


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