Package: mtop
Version: 0.6.6-1.2
Severity: important
Hi,
This bug is similar to #279896. The current Mtop package is not
installable here.
From the README.Debian file:
> You have to create a mysql user for mtop named mysqltop with the
following
> commands (example for localhost mysql server):
> mysql> grant select on test.* to mysqltop;
> mysql> grant select on test.* to [EMAIL PROTECTED];
> mysql> update user set process_priv='y' where user='mysqltop';
> mysql> flush privileges;
>
> This is handled automatically by debconf when the package is
installed.
The problem is the debconf "mysql_server", "mysql_port", "root_mysql"
and "root_passwd" attributes are inexistent in debconf here, and
default to "localhost" and an empty root password.
I see two problems here that would fail the install of Mtop:
The first is obvious, having an empty MySQL root password is bad. And
not to mention the account could have been renamed for something
other than "root".
The second, Mtop should not complain if there are no local MySQL
server. Mtop should be usable on any machines; a Web server or Mail
server, with no need for a local MySQL instance.
I suggest either dropping the .postinst and .postrm files, which
basically tries to create that "mysqltop" user with appropriate
privileges for Mtop to run, or we could prompt the user to enter it's
default username, password and host for Mtop, without requiring the
"mysqltop" account, and store this in some configuration file for
Mtop to use.
I am used to passing --user and --host manually to Mtop to choose
which server I want to connect to.
Regards,
Simon
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]