Re: [PATCH] Add compile domain

From: Gabor Gombas
Date: Tue May 30 2006 - 09:54:07 EST


On Tue, May 30, 2006 at 01:13:51AM +0200, Bernd Eckenfels wrote:

> There are some (common) applications which bind more meaning to that string.
> Most noteable MTAs if they are configured to detect things automatically.

MTAs and most other sensible daemons have configuration options for
overriding the host name exactly because the heuristic of "try to use
gethostname() and hope that it is resolvable" does not work in many
cases.

Using the hostname by default is fine if you keep in mind that it is
only a heuristic and that it is not guaranteed to work.

Gabor

--
---------------------------------------------------------
MTA SZTAKI Computer and Automation Research Institute
Hungarian Academy of Sciences
---------------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/