On Fri, 2004-03-19 at 19:03, Ed Skinner wrote:
> Well, sorry but I have to take issue with one small point in what you say
> because, omitting the domain name portion in BOTH /etc/hosts and in
> /etc/sysconfig/network makes the names match exactly, but that is exactly the
> configuration that was causing me so much grief.
> With non-qualified (i.e., missing the domain portion) names in BOTH
> places, *ALMOST* everything works fine. But, with that setting, sendmail's
> startup is VERY slow (some multiple of 2 minutes).
> Adding the actual domain in both places is one solution, but that forces
> my system into a specific domain which causes problems when I'm travelling
> and sitting on someone else's network. Instead, I omit the domain portion of
> the name.
> And, apparently in consequence of that omission, I need the
> ".localdomain" in /etc/hosts.
> Perhaps because of my travel requirements, I guess my configuration is
> somewhat unique.
> To wrap up, my /etc/sysconfig/network is:
> NETWORKING=yes
> HOSTNAME=bobby
>
> And my /etc/sysconfig/network-scripts/ifcfg-eth0 is:
> DEVICE=eth0
> ONBOOT=yes
> BOOTPROTO=dhcp
>
> And, finally, my /etc/hosts is:
----
actually, sorry to take issue with your reply but ".localdomain" is for
your purposes a domain - the same as any other except that it is what is
provided for 'standard' out of the box. Even taking your computer to
another office / lan setting is not material since you will not have any
problems accessing resources simply because you have assigned a FQDN to
the hostname function... localhost.localdomain is a fqdn, albeit
entirely generic.
and my point initially was - at any time, you can issue the hostname
command to change the hostname (sendmail is already started up so the
lag isn't involved) and the next boot, it reverts to the stored setting.
Craig
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss