[hardening-discuss] Bug#615262: error creating hard link `./usr/bin/ld': No such file or directory

Guillem Jover guillem at debian.org
Mon May 16 03:31:17 UTC 2011


Hi!

On Tue, 2011-04-26 at 02:19:30 -0500, Jonathan Nieder wrote:
> reassign 615262 binutils,hardening-wrapper
> found 615262 binutils/2.21.0.20110216-2
> quit
> 
> Jonathan Nieder wrote:
> > Peter Palfrader wrote:
> > > While trying to upgrade binutils on ia64 (merulo) in the sid chroot:
> > >
> > > | Preparing to replace binutils 2.20.1-16 (using .../binutils_2.21.0.20110216-2_ia64.deb) ...
> > > | Unpacking replacement binutils ...
> > > | dpkg: error processing /var/cache/apt/archives/binutils_2.21.0.20110216-2_ia64.deb (--unpack):
> > > |  error creating hard link `./usr/bin/ld': No such file or directory
> >
> > This looks related to <http://bugs.debian.org/245322>.  One way to
> > solve it might be to pre-depend on a version of dpkg with that fixed
> > (only if the consensus on debian-devel is that that such a
> > pre-dependency is worth it, of course).
> 
> Hm, I don't like the idea of such a pre-dependency in binutils but it
> is the only way to avoid this error I can think of.  Matthias, any
> thoughts?

dpkg has never supported this, and even if this is fixed now in git
for 1.16.1, binutils/hardening-wrappera should really workaround this
for the time being if they are not to use Pre-Depends, or they will
break on partial upgrades.

The easiest option could be to stop shipping the hard links and just
two copies, or is there any other reason beyond avoiding size and
duplication?

regards,
guillem





More information about the hardening-discuss mailing list