Summary: | MySQL ebuild/eclass does not generate my.cnf with eprefix paths | ||
---|---|---|---|
Product: | Gentoo/Alt | Reporter: | Mike Lewis <mikelikespie> |
Component: | Prefix Support | Assignee: | Gentoo Linux MySQL bugs team <mysql-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dflogeras2, prefix |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=453258 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 446200 | ||
Attachments: |
Fixed my.cnf
mysql-cmake patch eclass fix |
Created attachment 320932 [details, diff]
mysql-cmake patch
InCVS I'm not really sure what this is supposed to fix, but basically for my servers it just broke everything: * Starting mysql ... mkdir: cannot create directory ‘@GENTOO_PORTAGE_EPREFIX@/var/run/mysqld’: No such file or directory * Directory @GENTOO_PORTAGE_EPREFIX@/var/run/mysqld for pidfile does not exist and cannot be created This is on mysql-5.1.67, which has been flagged stable on amd64 TODAY. Perhaps it needs a new init script or some other depencency? Created attachment 336272 [details, diff]
eclass fix
The problem is that mysql-cmake.eclass was patched, but mysql-autotools.eclass was not.
The attached patch fixes the issue, also sent as a pull request to mysql-bugs.
Fixed in mysql-autotools.eclass *** Bug 453258 has been marked as a duplicate of this bug. *** |
Created attachment 320930 [details] Fixed my.cnf The eclass needs to be updated to inherit from prefixy and run eprefixify. my.cnf needs to be updated to have @GENTOO_PORTAGE_EPREFIX@ before each path. Attached is a patch for the eclass, as well as a working my.cnf. Still having an issue with mysql-5.5 after this, but it is unrelated. (something to do with the language setting, the config was made for 5.1, and things have been deprecated)