From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3) Gecko/20010808 Description of problem: With roswell installed and prelinking enabled, the loki_patch utility from loki software will not run (with an error from ld.so). I cannot disable prelinking to test whether that is the cause of the problem. If prelinking can cause problems with executing programs it must be undoable for the release. BTW: Is there a manual way to undo prelinking? Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. prelink --all 2. prelink --undo --all Actual Results: watch as undo appears to prelink again! Expected Results: # prelink --undo --all prelink: Undone! Additional info:
--undo is not finished yet, it is a planned feature (together with even harder to do --verify). It won't be able to restore identical binaries/libraries unless the binaries/libraries have been linked with recent linker (ie. -z combreloc), because relocs are ordered randomly. But my current TODO list first includes more section moving magic for binaries (so that even programs like kmail requiring lots of conflicts will work), then test/possibly fix alpha/sparc ports, write ppc and ia64 port and then get to undo/verify. Note that prelink will be only in preview for the upcoming distribution. But of course if you manage to prove it is prelink which breaks things I'm interested in testcases (the safest undo way is ATM prelink -avmn first, sed the output into list of files which need to be saved and hardlink list (ln -f x y style shell script) and move the files which need to be saved somewhere. Also look at latest prelink, there are several bugfixes: ftp://people.redhat.com/jakub/prelink/
--undo is supported since 0.2.0-1.