NavigationUser loginSpam?See spam posts on this site? If so, please don't reply to the spam! Instead, just report the URL to the webmaster. |
Syslog showing localhost, not the hostnameI'm running Debian Etch and recently (I can't say when, I've only just noticed it) syslog is recording 'localhost' as the system name rather than the computer's hostname. I've also noticed 'localhost' is sent by exim4 in its Hello/EHLO/HELO response. The hostname command shows the hostname, as does /etc/hostname. /etc/hosts is unchanged from when it was recording correctly. Does anyone have any ideas as to why this behaviour has started? I've tried searching but keep hitting false trails and dead ends, so it's time to as the experts. |
Syslog showing localhost,
I fixed this and it turned out to be an /etc/hosts problem after all.
I moved the 127.0.0.1 xxx line to after the LAN address line and restarted the affected services. All is now well :)