diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2008-05-29 05:28:54 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2008-05-29 05:28:54 +0000 |
commit | 1c8221eb8fe761503516005ca933025a2f574997 (patch) | |
tree | ed9bd527c3f2df24ae08be0800dfc7750ecc2688 /eclass | |
parent | Ensure correct install of docs and config examples for bug #212910. (diff) | |
download | historical-1c8221eb8fe761503516005ca933025a2f574997.tar.gz historical-1c8221eb8fe761503516005ca933025a2f574997.tar.bz2 historical-1c8221eb8fe761503516005ca933025a2f574997.zip |
MySQL hates you if your machine is called localhost per bug #213475.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/mysql.eclass | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/eclass/mysql.eclass b/eclass/mysql.eclass index 92cbeb0be434..f19368f5ed7d 100644 --- a/eclass/mysql.eclass +++ b/eclass/mysql.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.92 2008/05/29 05:17:16 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.93 2008/05/29 05:28:54 robbat2 Exp $ # Author: Francesco Riosa (Retired) <vivo@gentoo.org> # Maintainer: MySQL Team <mysql-bugs@gentoo.org> @@ -475,6 +475,10 @@ mysql_pkg_setup() { fi fi + # Bug #213475 - MySQL _will_ object strenously if your machine is named + # localhost. Also causes weird failures. + [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost" + # Check for USE flag problems in pkg_setup if use static && use ssl ; then eerror "MySQL does not support being built statically with SSL support enabled!" |