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

Bug 458030

Summary: sys-apps/elfix-0.8.1: migrate-pax - use of NEEDED.ELF.2 unreliable.
Product: Gentoo Linux Reporter: Ralph Sennhauser (RETIRED) <sera>
Component: HardenedAssignee: The Gentoo Linux Hardened Team <hardened>
Status: RESOLVED WONTFIX    
Severity: normal CC: anarchy
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 458866    
Bug Blocks:    

Description Ralph Sennhauser (RETIRED) gentoo-dev 2013-02-17 20:24:01 UTC
migrate-pax is using Portages NEEDED.ELF.2 to build the list of to be migrated ELFs. This is unreliable as other Package Managers for instance wont generate that file as didn't old versions of Portage.

Please add a fall-back for cases where there is no NEEDED.ELF.2 in vdb. Thanks.
Comment 1 Anthony Basile gentoo-dev 2013-03-15 22:21:14 UTC
(In reply to comment #0)
> migrate-pax is using Portages NEEDED.ELF.2 to build the list of to be
> migrated ELFs. This is unreliable as other Package Managers for instance
> wont generate that file as didn't old versions of Portage.
> 
> Please add a fall-back for cases where there is no NEEDED.ELF.2 in vdb.
> Thanks.

hardened, like much of gentoo, is strapped for time.  At this point we can only support portage.  I recommend either you write something and I'll add it, or work towards making NEEDED.ELF.2 part of the standard.
Comment 2 Ralph Sennhauser (RETIRED) gentoo-dev 2013-03-19 15:49:50 UTC
As you told me on irc this isn't just a migration but and actual fixup of currently broken flags. As I don't know why or how they are broken not much point in me doing it.

Well, at least add this detail to the migration guide, so users know they have to rebuild from scratch.
Comment 3 Anthony Basile gentoo-dev 2014-10-19 18:57:33 UTC
Since GLEP 64 has been accepted, I'm going to work with Ciarian to get some API in there to collect and export NEEDED.ELF.2 information.  I'd really like to get paludis working with hardened.  We now have numerous packages and at least one eclass (selinux-2) where assumptions are made about vdb.  A standard API for exporting this information will be good for interoperability.  I'm also going to work with the radhermit and pkgcore.

I'm not sure how to close this bug, but it seems that the original intent of adding a fallback is not the way to go.