Bug #70501 no init script on dashboard install with non-root user
Submitted: 3 Oct 2013 7:47 Modified: 4 Oct 2013 8:27
Reporter: Simon Mudd (OCA) Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Enterprise Monitor: Installing Severity:S3 (Non-critical)
Version:3.0.1.2893 OS:Any
Assigned to: CPU Architecture:Any
Tags: windmill

[3 Oct 2013 7:47] Simon Mudd
Description:
When installing the merlin dashboard I get asked for a non-root user to run the dashboard as.
After this it tells me that it can not configure a start up script.

Yet, I'm running the install as a root user so configuring an init script should not be an issue, and IMO this should be done, even if you have to drop privileges when starting the dashboard.

MEM2's behaviour is as far as I remember to configure an init script, so I believe that the default behaviour of MEM3 should be the same.

How to repeat:
So you get this message:

Service Manager User Account

You are installing as root, but it's not good practice for the Service Manager 
to run under the root user account.  Please specify the name of a user account
to use for the Service Manager below.  Note that this user account will be
created for you if it doesn't already exist.

User Account [mysqlmem]: 
...

Then later it says it won't create an init script. (I've lost the details)

You have not installed the MySQL Enterprise Monitor as the root user. Therefore 
it could not be configured to auto-start on reboot. See the Installation section 
of the MySQL Enterprise Monitor documentation for instructions on how to do this 
manually.

Suggested fix:
At least under unix provide a init script, which changes user and then s the MEM dashboard.
[4 Oct 2013 8:27] MySQL Verification Team
Hello Simon,

Thank you for the bug report.

Thanks,
Umesh
[11 Aug 2014 13:12] Daniƫl van Eeden
Related to Bug #28954