Bug 193175 - prelink changes symlinks of binaries
Summary: prelink changes symlinks of binaries
Keywords:
Status: CLOSED DUPLICATE of bug 188062
Alias: None
Product: Fedora
Classification: Fedora
Component: prelink
Version: 5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-05-25 21:05 UTC by Christian Krause
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-05-26 10:17:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Christian Krause 2006-05-25 21:05:37 UTC
Description of problem:
After running of /etc/cron.daily/prelink at least one symlink in /usr/bin (in my
case pnmdepth) is changed to to content of the file to which it pointed to.

Version-Release number of selected component (if applicable):
prelink-0.3.6-3

How reproducible:
- running /etc/cron.daily/prelink or just prelink
- please note, that this problem does not occur on all machines, but if it
occurs on one, it will happen every time
  
Actual results:
symlink pnmdepth is removed, instead there is a new file with the content of
pamdepth (target of the previous symlink)

Expected results:
prelink should not alter any symlinks 

Additional info:

root@:~# ls -l /usr/bin/*depth*
-rwxr-xr-x 1 root root 5768 Apr 14 13:51 /usr/bin/pamdepth
lrwxrwxrwx 1 root root    8 May 25 17:03 /usr/bin/pnmdepth -> pamdepth
root@:~# /etc/cron.daily/prelink 
root@:~# ls -l /usr/bin/*depth*
-rwxr-xr-x 2 root root 7696 Apr 14 13:51 /usr/bin/pamdepth
-rwxr-xr-x 2 root root 7696 Apr 14 13:51 /usr/bin/pnmdepth
root@:~# 

/var/log/prelink.log:
...
Prelinking /usr/bin/pnmdepth
Linking /usr/bin/pamdepth to /usr/bin/pnmdepth
/usr/sbin/prelink: /usr/bin/pamdepth is no longer hardlink to /usr/bin/pnmdepth
...

Some days ago I've filed a bug on this issue for netpbm-progs:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=192623

I'm not sure whether this is a problem of prelink, netpbm-progs, both or a
packaging problem. Nevertheless I was surprised that a program just alters some
files in /usr/bin ...

Comment 1 Jakub Jelinek 2006-05-26 10:17:16 UTC

*** This bug has been marked as a duplicate of 188062 ***


Note You need to log in before you can comment on or make changes to this bug.