Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 131895 - Small enhancement for mysql-4.14-r1 conf.d/init.d
Summary: Small enhancement for mysql-4.14-r1 conf.d/init.d
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-01 06:00 UTC by Jacob Lindberg
Modified: 2007-05-11 08:29 UTC (History)
0 users

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


Attachments
/etc/conf.d/mysql diff (mysql_confd.diff,490 bytes, text/plain)
2006-05-01 06:01 UTC, Jacob Lindberg
Details
/etc/init.d/mysql diff (mysql_initd.diff,567 bytes, text/plain)
2006-05-01 06:01 UTC, Jacob Lindberg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jacob Lindberg 2006-05-01 06:00:15 UTC
I had to use the --report-host argument in my environment and I couldn't seem to find it anywhere in conf.d/init.d, so I change them a bit. Here are the diffs.
Comment 1 Jacob Lindberg 2006-05-01 06:01:22 UTC
Created attachment 85918 [details]
/etc/conf.d/mysql diff
Comment 2 Jacob Lindberg 2006-05-01 06:01:47 UTC
Created attachment 85919 [details]
/etc/init.d/mysql diff
Comment 3 Jacob Lindberg 2006-08-03 03:50:57 UTC
2 month and 2 days and no response.

I bet other people are using master/slave mysql setups. I think they will benefit from this.
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-08-03 11:35:59 UTC
I do use a reasonably complex master/slave setup, but being an old hand at mysql, I don't use the report-host at all.

It will however be considered for the next round of feature-set patches (Eg beyond the present series that need a GLSA coming soon for upstream issues).
Comment 5 Jacob Lindberg 2006-08-04 06:37:10 UTC
Okay sounds really good to me. 

The more settings tweakable through conf.d the better. The reason for using the report host in my situation, is that I have several slaves together with the master. This is also useable if you have a redundant setup where the hostnames are the same, inside a vrrp setup, as an example.
Comment 6 Jacob Lindberg 2007-03-14 10:25:01 UTC
Should I close this bug?
Comment 7 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-05-11 08:29:14 UTC
Sorry for the long delay.
You should use the bash arrays in conf.d/mysql rather than adding more variables.
Eg for your two cases:

mysql_slot_0=(
 "report-host=slave0"
)
mysql_slot_1=(
 "report-host=`hostname`"
)