Debian Bug report logs - #445594
prelink: execstack -c breaks sym-links

version graph

Package: prelink; Maintainer for prelink is Geoffrey Thomas <gthomas@mokafive.com>; Source for prelink is src:prelink.

Reported by: Russell Coker <russell@coker.com.au>

Date: Sun, 7 Oct 2007 07:54:02 UTC

Severity: normal

Found in version prelink/0.0.20061027-1

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Andrés Roldán <aroldan@debian.org>:
Bug#445594; Package prelink. Full text and rfc822 format available.

Acknowledgement sent to Russell Coker <russell@coker.com.au>:
New Bug report received and forwarded. Copy sent to Andrés Roldán <aroldan@debian.org>. Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Russell Coker <russell@coker.com.au>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: prelink: execstack -c breaks sym-links
Date: Sun, 07 Oct 2007 17:43:46 +1000
Package: prelink
Version: 0.0.20061027-1
Severity: normal

If you have libfoo.0.1.2 and a sym-link libfoo.0 pointing to it then the
command "execstack -c libfoo.0" will delete the sym-link and replace it with
a copy of libfoo.0.1.2 (with the removal of the exec-stack requirement).

It does the same thing with the "-s" option.

If the -s or -c parameter points to a sym-link then it should call readlink(2)
to get the real name and then operate on the real file.  Doing otherwise
doesn't work well with ldconfig etc.

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-xen-686
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)

Versions of packages prelink depends on:
ii  libc6                  2.3.6.ds1-13etch2 GNU C Library: Shared libraries
ii  libelfg0               0.8.6-3           an ELF object file access library
ii  libselinux1            1.32-3            SELinux shared libraries

prelink recommends no packages.

-- no debconf information




Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Apr 20 01:37:57 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.