| Summary: | prelink-20040707 ebuild installs wrong contents in /etc/prelink.conf | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Jamie Lokier <jamie> |
| Component: | [OLD] Core system | Assignee: | Stefan Jones (RETIRED) <cretin> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Bug Depends on: | 63563 | ||
| Bug Blocks: | |||
|
Description
Jamie Lokier
2004-10-13 14:34:32 UTC
Ok, one thing at a time! Where about in env-update.sh is prelink.conf also generated; it must of been a change in portage regarding prelink which happened without my knowledge so it was missed when I added the "-b" lines? ( I could not find it when I looked ) I accept the -b option is not documented, I only found about it when looking at the prelink source code ( when I was about to try and start implementing a similar function)! I used to make the ebuild not install prelink.conf at all and let portage sort it out, then someone filed a bug about no prelink.conf after installing prelink and someone else added installing the default prelink.conf. Will see about making portage generate a prelink.conf after the install. Ok, updated the prelink ebuild to run env-update (a few other ebuild do this also so I guess it is ok). Added env-update.sh patch to the patch queue for portage (bug #63563) Will not fix man page as I am too lazy (patches accepted, send them to prelink author also!) You said:
> Where about in env-update.sh is prelink.conf also generated
The code is pretty blatant, starting from the line "# HANDLE PRELINK PATHS"
in /usr/lib/portage/bin/env-update.sh.
Running "env-update" does not call that code, it calls the code in /usr/lib/portage/pym/portage.py.
Running "env-update.sh" (/sbin/env-update.sh) doesn't appear to call that code either!
Seems quite messy and confusing to me. Which is which? I assume some of those files are experimental and aren't meant to be run, so they probably shouldn't be installed?
Ok, all done, prelink now does not install prelink.conf. The lines in env-update.sh have been given a patch but it is unused so nobody cares. I will not update man prelink. So that be it! |