Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 462166 - dev-db/mysql-5.1.67: emerge --config fails
Summary: dev-db/mysql-5.1.67: emerge --config fails
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL: http://bugs.mysql.com/bug.php?id=34461
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-18 08:54 UTC by Patrick Lauer
Modified: 2014-07-30 17:49 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 Patrick Lauer gentoo-dev 2013-03-18 08:54:39 UTC
# emerge --config =dev-db/mysql-5.1.67


Configuring pkg...

 * ERROR: dev-db/mysql-5.1.67 failed (config phase):
 *   Your machine must NOT be named localhost


... why does it exclude random names randomly from being used ?!
Comment 1 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2013-03-18 12:25:53 UTC
I know this has been known for a while and that we have bugs about it, but I can't find one now.
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2013-03-18 20:03:52 UTC
I want to mark RESO UPSTREAM, but I'm willing to discuss

1.
Explicitly because because the string localhost is handled specially for connections.
"mysql -hlocalhost" actually uses the named socket file if available.
"mysql -h127.0.0.1" uses TCP on localhost.

If you explicitly want to end up with one LESS ACL rule, we can workaround this, but if you then change the name of the host, you could be locking yourself out of mysql.

2.
The upstream testsuite fails if your hostname is localhost, because it wants to check that the above works properly.
Comment 3 Brian Evans (RETIRED) gentoo-dev 2014-05-15 16:12:10 UTC
This bug is now a year old with no apparent progress.
Time to mark UPSTREAM?
Comment 4 Brian Evans (RETIRED) gentoo-dev 2014-07-30 17:49:55 UTC
Upstream doesn't consider it a bug and no feedback provided here.

Reopen if you wish to continue to discuss.