Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 833909 - Dropping of prelink-related code
Summary: Dropping of prelink-related code
Status: UNCONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 273041
  Show dependency tree
 
Reported: 2022-02-22 22:26 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2022-06-08 12:21 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis 2022-02-22 22:26:01 UTC
sys-devel/prelink has been masked for deletion:
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6833772e8bfb5a88b7a2803cf9e7f92da217a4c


Portage still contains various prelink-related code.


One part of it is prelink-checksums feature (for FEATURES).


Another is generation of /etc/prelink.conf.d/portage.conf:
https://gitweb.gentoo.org/proj/portage.git/tree/lib/portage/util/env_update.py?id=3812225ace5db8c691cbe027d234a3e223972199#n240

Unfortunately this code never deletes /etc/prelink.conf.d/portage.conf.

Regardless of whether other code (including code for generation of /etc/prelink.conf.d/portage.conf) is deleted sooner or later, I suggest that Portage now be changed to delete prelink-related files in /etc:

/etc/prelink.conf.d/portage.conf
/etc/prelink.cache (this was generated by prelink itself, but ebuild failed to delete it in pkg_postrm())
/etc/prelink.conf

Code for deletion of above files can be in 'else:' branch after 'if prelink_capable:' branch if prelink-related code should remain longer in Portage.