Kyle Jones <kyle_jones(a)wonderworks.com> writes:
I haven't looked at it. I assume the reason to use this is the
avoid the FAQ Linux slow startup thing.
Yes.
I think we could avoid that by deferring the gethostbyname() call
until it is really needed and make sure none of the standard startup
code cares about the hostname.
Or at least about the fully qualified hostname. The new clashdetection
stuff (which I hope will be back on by default in 21.2) uses the
hostname in the lock description if I recall correctly. That would be
fairly difficult to defer. However just getting the basepart of the
hostname should not involve gethostbyname() shouldn't it.
Jan