Bug #27847 agent uninstall incomplete on HP (the uninstall file remains on the system)
Submitted: 16 Apr 2007 11:30 Modified: 30 Jul 2009 10:22
Reporter: Carsten Segieth Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Enterprise Monitor: Installing Severity:S3 (Non-critical)
Version:1.x, 2.0, 2.1 OS:HP/UX
Assigned to: MC Brown CPU Architecture:Any
Tags: mer 121, platforms, uninstall
Triage: D4 (Minor)

[16 Apr 2007 11:30] Carsten Segieth
Description:
On HPUX (hpux11.00, hpux11.11, hpux11.23) the uninstall file remains on the system, regardless whether the uninstall is called in text or in unattended mode:

mysqldev@hp3750:/users/csegieth/mysql/network/agent/1.1.1.5099/hpux11.00-hppa2.0-64bit/hp3750> ll
total 6480
drwxrwxrwx   2 mysqldev   users         4096 Apr 16 13:01 etc
drwxrwxrwx   2 mysqldev   users         4096 Apr 13 16:08 log
-rwxrw-rw-   1 mysqldev   users      3305021 Apr 13 16:07 uninstall

How to repeat:
install and uninstall the agent on a HP machine (tested as simple user)

Suggested fix:
- as on other systems, remove also the 'uninstall' binary at end of uninstall
[17 Apr 2007 17:25] BitRock Merlin
This one is tricky because unlike in Linux, it is not possible to delete a file while it is still in use. We will look into alternate ways of fixing this (on Windows there are workarounds) but it may take a while
[12 Sep 2007 21:03] Peter Lavin
Added to "Known Issues".
[11 Jun 2009 8:24] Carsten Segieth
verified also in 2.1.0.1059 for the new HP/UX 11.31 installer
[2 Jul 2009 12:12] Enterprise Tools JIRA Robot
Heidi Bergh-Hoff writes: 
This needs further investigation by Bitrock
[2 Jul 2009 16:40] Andy Bang
Workaround is to manually delete the uninstall executable file after uninstalling.
[6 Jul 2009 16:42] Keith Russell
The latest build installers have been copied to the Bitrock ftp directory as requested.
[13 Jul 2009 19:14] Enterprise Tools JIRA Robot
Andy Bang writes: 
At Bug Council we decided that we'll simply document the workaround (manually deleting the uninstall executable after uninstalling).
[30 Jul 2009 10:22] Enterprise Tools JIRA Robot
Martin MC Brown writes: 
I've added a note to the uninstall section