Community
Participate
Working Groups
Build Identifier: M20110210-1200 install.sh creates a soft-link to /usr/bin/consolehelper If you subsequently run install-noconsolehelper.sh, it will write an "opcontrol" script on top of the existing soft link to /usr/bin/consolehelper, corrupting it. Reproducible: Always Steps to Reproduce: 1. cd org.eclipse.linuxtools.oprofile.core*/natives/linux/scripts 2. sh ./install.sh 3. sh ./install-noconsolehelper.sh 4. observe that /usr/bin/consolehelper is now a two-line script which invokes sude on opcontrol.
install-noconsolehelper.sh needs to be fixed so that it first removes any existing opcontrol script/link/etc before creating a new script. I'll submit a patch that does this later today.
I should note that if you do happen to run into this problem, you can fix the corruption by running: yum reinstall usermode
Created attachment 193303 [details] Patch to remove pre-existing ./opcontrol link/file
Fixed with commit 679f6dd395870095701759d02435b205d47b6e60. Thanks!
Un-setting iplog+ on the bug (it should be set on the attachment).