Bug #46031 installer quitely ignores installing init scripts when not installed as root
Submitted: 8 Jul 2009 7:32 Modified: 9 Jan 2015 10:37
Reporter: Oli Sennhauser Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Enterprise Monitor: Installing Severity:S4 (Feature request)
Version:2.1.0.1074 OS:Linux
Assigned to: Assigned Account CPU Architecture:Any

[8 Jul 2009 7:32] Oli Sennhauser
Description:
By accident (forgot the sudo) I have installed the montior/agent as an other user than root. Further I over-read that the path to install was set to $HOME/mysql/enterprise instead of /opt/mysql/enterprise.

So far so good. My fault.

But I would like have seen at least a note, that I am NOT installing as root and even more that the installer was NOT capable to create the init scripts.

How to repeat:
Install Monitor/Agent.

Suggested fix:
In such cases usually I get a sudo root box where I have to enter the root password to do root activities.

IMHO more verbosity would be good to have.

I am aware of that sysadmins do not like to have init scripts pointing to "non-root" applications. This should be possible to circumvent by calling the final startscript with sudo <user> mysql_enterprise_monitor start.

What about a mandatory installation as root where the installer asks for as which user should it be installed?