Bug 114456

Summary: prelink-0.3.0-18 replaces symlink with file
Product: [Retired] Red Hat Raw Hide Reporter: Jonathan Kamens <jik>
Component: prelinkAssignee: Jakub Jelinek <jakub>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: mitr
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 0.3.2-3 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-07-08 23:00:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jonathan Kamens 2004-01-28 13:08:51 UTC
My nightly script which checks the integrity of the files on my system
reported last night that "rpm --verify" was reporting this problem
with the file /usr/bin/gctags in emacs-common-21.3-9:

jik:~!1007$ sudo rpm --verify emacs-common
/etc/security/selinux/src/policy/file_contexts/file_contexts: No such
file or directory
SM5....T    /usr/bin/gctags

I investigated and discovered that the emacs-common RPM claims that
gctags is supposed to be a symlink to ctags.emacs, and yet
/usr/bin/gctags on my system is a binary whose ctime is 4:09 in the
morning, which just happens to be shortly after run-parts
/etc/cron.daily was run.

I suspect that prelink decided to prelink this file and converted the
symlink into a file as a result.  Is that possible?  If so, it's
obviously a bug.

Comment 1 Ben Levenson 2004-02-27 16:57:33 UTC
looks like a dup of bug 113261.

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

Comment 2 Jonathan Kamens 2004-03-10 14:08:20 UTC
I don't know why this ticket was marked as a duplicate of the SELinux 
message issue.  It has nothing to do with that.  It has to do with 
the fact that prelink is replacing symlinks with regular files, which 
it shouldn't do.


Comment 3 Ben Levenson 2004-07-08 23:00:49 UTC
can't reproduce with prelink-0.3.2-3.
CLOSING -> RAWHIDE
reopen if problem still exists.