sotn3m wrote:I would like to change my system from being "hardened" to vanilla. One of the reasons is that I could use prelink.
My question is: is there anyone who maybe tried to write a script which will remerge packages which have binaries still hardened? Remerging all will take me a week and it would be nice to have such a tool. For example, during remerge, if anything fails then there is a need to track all things that were already done and remerge only the others.. Lots of packages->lots of work

or I would like to remerge "system" first and then the rest of the world...
Any ideas, anyone?;)
Prelink works perfectly with the hardened toolchain. Some people seem to have had problems with prelink and the hardened
kernel sources, but that is something else entirely.
Otherwise, the hardened profile only affects most packages at build time (using the hardened gcc profile). A small number of packages (ex. pkgconfig, glib) are influenced by the hardened
use flag and those use flags implied (ex. selinux) by the hardened profile.
These shouldn't be too hard to reemerge with the vanilla profile via a standard 'emerge -uDN world'.
I myself have been using the hardened profile with moderate CFLAGS and LDFLAGS, prelink, and a ck kernel for the better part of a year now. Save for the extremely rare failed build, I cannot think of a reason not to use the hardened profile.