Red Hat Bugzilla – Bug 114456
prelink-0.3.0-18 replaces symlink with file
Last modified: 2007-04-18 13:02:16 EDT
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
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.
looks like a dup of bug 113261.
*** This bug has been marked as a duplicate of 113261 ***
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.
can't reproduce with prelink-0.3.2-3.
CLOSING -> RAWHIDE
reopen if problem still exists.