Bug #34461 | rpm installation fails when hostname is 'localhost' | ||
---|---|---|---|
Submitted: | 11 Feb 2008 15:31 | Modified: | 20 Feb 2009 18:51 |
Reporter: | Johan Idrén | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: Installing | Severity: | S3 (Non-critical) |
Version: | 5.0.51, 5.0.54 | OS: | Linux (CentOS 5) |
Assigned to: | CPU Architecture: | Any |
[11 Feb 2008 15:31]
Johan Idrén
[11 Feb 2008 15:36]
Johan Idrén
Workaround: Temporarily change the hostname to something other than 'localhost' while installing.
[20 Feb 2009 18:48]
Joerg Bruehe
IMO, this is "Not a bug". Reason: Setting a host name to "localhost" may be technically possible, but is bound to create confusion. It is technically sound to assume "localhost" is a special string which will not be used as a host name, so the server may well treat it special in its privilege checks (login, ...). As a consequence of the above, our install scripts then need not protect against "duplicate key" for this. Hence, I propose "Not a bug", and would like to see this checked.
[20 Feb 2009 18:51]
Daniel Fischer
Agree with Jörg. This is not a bug. "localhost" is a reserved top-level domain name as per RFC 2606.