Bug 233771
Summary: | RFE+patch: MySQLd "init.d" startup script should rely on "/usr/bin/my_print_defaults" to get at options | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | David Tonhofer <bughunt> | ||||
Component: | mysql | Assignee: | Tom Lane <tgl> | ||||
Status: | CLOSED ERRATA | QA Contact: | David Lawrence <dkl> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 4.0 | CC: | byte, hhorak, monty | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | RHSA-2008-0768 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2008-07-24 20:04:22 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
David Tonhofer
2007-03-24 20:59:16 UTC
Created attachment 150835 [details]
The new init script and a diff relative to the old one
Cough! I guess the script should not try to get data from section "[mysql.server]", even if such a section exists in the delivered "my.cnf"; mysqld_safe does not seem to read from it. Exclusively use section "[mysqld]" instead. And do not try to set "basedir" in "my.cnf" either or terrible things happen :-/ Instead let mysqld_safe find it by itself and set it to "--basedir=/usr" *** Bug 235626 has been marked as a duplicate of this bug. *** The "--defaults-file="/etc/my.cnf"" option should not be used in the start script. It prevents mysqld from reading the other option files. See comments in Bug 235626. This request was evaluated by Red Hat Product Management for inclusion, but this component is not scheduled to be updated in the current Red Hat Enterprise Linux release. If you would like this request to be reviewed for the next minor release, ask your support representative to set the next rhel-x.y flag to "?". The rpm package is not well-behaved. It clobbers the /etc/init.d/mysqld file if it had been modified. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2008-0768.html |