Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 242580 - sys-apps/preload-0.6.3: include /opt and /lib32 in mapprefix and exeprefix
Summary: sys-apps/preload-0.6.3: include /opt and /lib32 in mapprefix and exeprefix
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jeremy Olexa (darkside) (RETIRED)
URL: https://sourceforge.net/tracker2/?fun...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-18 15:23 UTC by Pacho Ramos
Modified: 2008-10-20 22:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
preload-conf.patch (preload-conf.patch,565 bytes, patch)
2008-10-18 15:25 UTC, Pacho Ramos
Details | Diff
preload.ebuild.diff (preload.ebuild.diff,718 bytes, text/plain)
2008-10-18 15:26 UTC, Pacho Ramos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2008-10-18 15:23:17 UTC
Default /etc/preload.conf is missing /lib32 dir (used in amd64 arch for 32 bits libs provided by some emul-* packages) and /opt (used by apps like firefox-bin, opera...)

Simply adding them to proper entries in conf maked preload to also prefetch files from this locations (I have already tested it)

The attach patch fixes this

Thanks a lot

Reproducible: Always
Comment 1 Pacho Ramos gentoo-dev 2008-10-18 15:25:46 UTC
Created attachment 168940 [details, diff]
preload-conf.patch
Comment 2 Pacho Ramos gentoo-dev 2008-10-18 15:26:24 UTC
Created attachment 168942 [details]
preload.ebuild.diff
Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-10-20 15:15:44 UTC
(In reply to comment #0)
> Default /etc/preload.conf is missing /lib32 dir (used in amd64 arch for 32 bits
> libs provided by some emul-* packages) and /opt (used by apps like firefox-bin,
> opera...)
> 
> Simply adding them to proper entries in conf maked preload to also prefetch
> files from this locations (I have already tested it)

Ah, so without your patch, files in /lib32 & /opt are ignored? (Odd, this should probably go upstream)

Comment 4 Pacho Ramos gentoo-dev 2008-10-20 21:26:19 UTC
I tested it setting PRELOAD_VERBOSITY to 9 and looking /var/log/preload.log and /var/lib/preload/preload.state , without adding them, seemed that opera files and firefox-bin (in /opt) where not preloaded, the same for some /lib32 libs

Comment 5 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-10-20 22:59:22 UTC
Thanks for submitting upstream. I have added this patch in -r2 now.