Bug #34071 server uninstall using (hidden) option "--env deleteUserDat" shows some text
Submitted: 25 Jan 2008 22:48 Modified: 11 Nov 2008 16:38
Reporter: Carsten Segieth Email Updates:
Status: Closed Impact on me:
Category:MySQL Enterprise Monitor: Installing Severity:S3 (Non-critical)
Version: OS:Linux
Assigned to: BitRock Merlin CPU Architecture:Any

[25 Jan 2008 22:48] Carsten Segieth
When using the unattended unInstall on Linux together with the not in the help file documented option "--env deleteUserData=yes" the text of the question is shown to the console:

...    /data0/merlin/monitoring/ --mode unattended --env deleteUserData=yes
Do you also want to remove all data, logs and other files in the Apache, MySQL and Tomcat instances under

Caution, this will remove all user created files, even if they were present before installing MySQL Enterprise Monitor, including the data files of the bun
dled MySQL server. You will *not* be able to undo this action. Do not remove files if you plan to install an update.

Do you really want to remove ALL data and log files inside those directories?



On Windows this text is not seen.

How to repeat:
use the command line shown above

Suggested fix:
- don't show anything in unattended mode
- can you add this to the --help output?
[7 Feb 2008 19:24] BitRock Merlin
Patch sent to Keith.
[8 Feb 2008 23:49] Keith Russell
Patch applied in revisions => 8910.
[28 Feb 2008 21:52] Carsten Segieth
- not solved in on solaris10-sparc and on Linux x86 (RH4). Other systems not checked.
[29 Feb 2008 0:02] Keith Russell
My apologies. This should not have been set to "QA Testing" for the 1.3 build. This is a patch for version 2.0 and will be applied with the next 2.0 build.
[9 Oct 2008 16:29] Keith Russell
Patch applied.
[10 Nov 2008 16:29] Carsten Segieth
tested OK with
[11 Nov 2008 16:38] Tony Bedford
An entry was added to the 2.0 changelog:

When using the unattended unInstall script on Linux together with the option --env deleteUserData=yes the correct warning text was displayed. However, this text should not be displayed in unattended mode. Further, the option --env deleteUserData=yes was not displayed by the --help output.