Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58469 - redundant (and confusing) instructions in mysql_install_db.sh
Summary: redundant (and confusing) instructions in mysql_install_db.sh
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Linux MySQL bugs team
URL: http://www.gentoo.org/cgi-bin/viewcvs...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-26 14:45 UTC by Guttorm Flatabø
Modified: 2004-12-23 02:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guttorm Flatabø 2004-07-26 14:45:23 UTC
The mysql-4.0.18-install-db-sh.diff inserts the follwing line into the mysql_install_db.sh script:

echo "/etc/init.d/mysql start (you have to start the server first!)

This results in an output to the user looking like this:

To do so, start the server, then issue the following commands:
/etc/init.d/mysql start (you have to start the server first!)

You are first asked to start the server and then asked to start the server again!

To fix this you should diff the first line to:
echo "To do so issue the following commands:"

Reproducible: Always
Steps to Reproduce:
1. Read diff at supplied link
Actual Results:  
Redundant text.

Expected Results:  
no-redundant text

As the header of the mysql_install_db.sh script gives MySQL AB the sole
copyright I wasn't first aware that the script was modified by Gentoo. I guess
this is quite common, but I find it a problem, should all modified files be
labeled as such with a line in the header?

This was first bugfiles at bugs.mysql.com Bug #4426. I have asked for the Gentoo
line to be included, and corresponding intro text changed.
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-12-23 02:17:31 UTC
in cvs.