Bug #29716 mysql_install_db refers to the (obsolete) mysqlbug script during installation
Submitted: 11 Jul 2007 10:50 Modified: 29 Jul 23:11
Reporter: Lenz Grimmer
Status: Verified
Category:Server: Installing Severity:S3 (Non-critical)
Version:5.0.45, 5.1.20 OS:Any
Assigned to: Jonathan Perkin Target Version:5.0+
Triage: Triaged: D4 (Minor)

[11 Jul 2007 10:50] Lenz Grimmer
Description:
During the Linux RPM installation, mysql_install_db is being called as part of the
installation process, but this observation applies to mysql_install_db in general.

mysql_install_db prints out the following comment:

"Please report any problems with the /usr/bin/mysqlbug script!"

The mysqlbug script sends bug report to bugs@lists.mysql.com. However, our preferred
method of receiving but reports nowadays is by filing them via this bug database
http://bugs.mysql.com/ - we should consider updating the text in mysql_install_db (and any
other location that still refers to mysqlbug)

How to repeat:
Run mysql_install_db, observe the reference to the (obsolete) mysqlbug script

Suggested fix:
Replace all references to mysqlbug with a link to http://bugs.mysql.com instead

Alternatively, modify the mysqlbug script so it files a bug report via the bugs database
instead of sending an email.
[11 Jul 2007 12:20] Sveta Smirnova
Thank you for the report.

Verified as described.
[3 Jan 2008 13:29] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/40505

ChangeSet@1.2590, 2008-01-03 12:29:44+00:00, jperkin@chorlton.adsl.perkin.org.uk +1 -0
  Refer to http://bugs.mysql.com/ instead of the obsolete mysqlbug script,
  fixing bug#29716.
[9 Jan 2008 20:03] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/40783

ChangeSet@1.2591, 2008-01-09 19:02:57+00:00, jperkin@chorlton.adsl.perkin.org.uk +3 -0
  Further changes for bug#29716, add mysql_print_envinfo to dump
  information about the installation, to be used when submitting
  bug reports.
[14 Apr 2008 20:14] Joerg Bruehe
Both changesets are ok.

I have not checked the new tool "scripts/mysql_print_envinfo.sh" in detail,
but I trust it is a copy-paste of the relevant parts of "mysqlbug" which it is to
replace.

However, it needs to be added to "make_binary_distribution" and to the RPM spec files in
order to get distributed ...

With these parts added, the changes are approved and "ok to push".