Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 233266

Summary: prelink checks sys-kernel packages needlessly
Product: Gentoo Linux Reporter: Kevin Bryan <TenToThe8th>
Component: [OLD] Core systemAssignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: dev-portage
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 235971    
Bug Blocks:    

Description Kevin Bryan 2008-07-29 12:54:48 UTC
with sys-apps/portage-2.2_rc4 emerging tuxonice-sources with prelink installed seemed to cause it to check every file (prelink --verify), which is a major waste of time, since the kernel sources don't contain anything that gets compiled.

Reproducible: Always

Steps to Reproduce:
Comment 1 Zac Medico gentoo-dev 2008-08-22 01:43:50 UTC
The "prelink --verify" thing should be a mute point as long as you have FEAUTRES="unmerge-orphans" enabled, and it's enabled by default since portage-2.1.3. When the unmerge-orphans feature is enabled, portage will unmerge files without verifying the checksum (unless they happen to be protected by CONFIG_PROTECT).
Comment 2 Mike Pagano gentoo-dev 2008-08-29 13:11:13 UTC
I committed the changes to prelink as described in bug #235971.  Sync and rebuild your prelink once the change hits the mirrors and test again.

The /etc/prelink.conf file now contains -b /usr/src which will blacklist this directory.