[hardening-discuss] Bug#535037: Bug#535037: [hardening-wrapper] diversion conflict between hardening-wrapper and binutils-gold packages

Kees Cook kees at debian.org
Mon Jun 29 16:39:57 UTC 2009


severity: wishlist

On Mon, Jun 29, 2009 at 09:18:52AM +0200, Petr Gajdůšek wrote:
> dpkg-divert: `diversion of /usr/bin/ld to /usr/bin/ld.real by hardening-wrapper' clashes with `diversion of /usr/bin/ld to /usr/bin/ld.single by binutils-gold'

The only solution I can think of for this architectural limitation is to
create a single package that provides the compiler diversions, and enables
a series of plug-ins that other compiler-changing tools can link to.

Unfortunately, not every diversion-user just wants to change the
commandline arguments -- as in this case, it wants to genuinely run a
totally different program.

I am open to suggestions on the best way to solve this problem.

-- 
Kees Cook                                            @debian.org





More information about the hardening-discuss mailing list