[arch-dev-public] Correct hostname configuration

Pierre Schmitz pierre at archlinux.de
Sat Sep 11 15:17:38 EDT 2010

Hi all,

we just figured out that the new dbscript don't work on sigurd because
the use hostname -s to determine on which host they are running. On
sigurd this return just "localhost".

I now wonder if the /etc/hosts file on sigurd is correct. E.g. I use
this config:

#<ip-address>   <hostname.domain.org>   <hostname>                               localhost       server.archlinux.de     server

hostname -s is server and hostname is server.archlinux.de

While on sigurd this is used:   localhost.localdomain  localhost sigurd aur.archlinux.org

hostname is sigurd and hostname -s is localhost.

I am not sure about this; maybe both are wrong.

Pierre Schmitz, https://users.archlinux.de/~pierre

More information about the arch-dev-public mailing list