Since bug #124962, the insecure rpaths are being fixed automatically by portage (under certain circumstances). However portage does not state that this happened [1], leading to possibly unnecessary Gentoo bugreports like bug #283095, while the issue should probably be dealt with by upstream. I propose outputting a message (of same logging priority as the original "scanelf: rpath_security_checks" message) after the "scanelf ..." messages. This message could look like this: --- scanelf: rpath_security_checks(): DT_RPATH has been stripped off the security critical relative paths. However, please still report this problem upstream. --- [1] --- scanelf: rpath_security_checks(): Security problem with relative DT_RPATH '.' in /var/tmp/portage/app-text/acroread-9.3.4/image/opt/Adobe/Reader9/Reader/intellinux/lib/libextendscript.so scanelf: rpath_security_checks(): Security problem with relative DT_RPATH '.' in /var/tmp/portage/app-text/acroread-9.3.4/image/opt/Adobe/Reader9/Reader/intellinux/lib/libsccore.so --- Reproducible: Always
should be fixed by: http://sources.gentoo.org/gentoo-projects/pax-utils/scanelf.c?r1=1.268&r2=1.269