-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

James Sparenberg wrote:

> OK let's try this again... please listen carefully.... slowly ....
> install MDK... start box for the very first time.  Box is not connected
> to the net.  Box has not yet been configured.  Box is brand new.  Gnome
> does not start.... proftpd does not start.  Similar applications that
> initially look for localhost.localdomain before the box is configured do
> not work...  We are talking pre configuration out of the box.  brand new
> not aware of the world .... not 5 hours after and everything is set up.


But you are complaining about the wrong issue. The hostname should *not*
be set to localhost.localdomain. If it has not been configured by the
user it should be localhost. Hardcoding is the wrong approach, since it
*will* result in it breaking again some time.

What needs to be done is that if `hostname` does not resolve, then
127.0.0.1               `hostname`
should be added to /etc/hosts

This would solve it in all possible cases (but could take a few seconds
to test). But what happens if the user changes their hostname? Should
the entry be removed?

> Criminy if I didn't know how to set the systems up I wouldn't have known
> what the problem is.  How hard is it to understand that all that is
> needed is the default config of /etc/hosts to be
>
> 127.0.0.1 localhost.localdomain localhost

Because that is wrong. Now you change your hostname to something else,
and it all breaks again.

>
> Like every other release of Linux / Unix /Windows / Qnix / AmigaOS out
> there in the world.

Windows 2000 Pro and Server have the following in their
c:\WINNT\system32\drivers\etc\hosts:

# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host

127.0.0.1       localhost


Sorry, but I do not see a localhost.localdomain. I don't have any other
unix to check on available at the moment, but AFAIK,
localhost.localdomain was thought up by Redhat.

>  After 30 freaking years of Telecommunications
> systems and networks there isn't a whole lot of the basics I haven't
> seen.  What I have seen is a whole passle of saviours of the (Lan wan
> arpanet internet etc) come and go.  Out of the box not connected to
> anything but itself gnome, gnome apps take forever to start because of
> the change in what is normally available.  You can set up DNS, I'm
> glad....





- --
|--------------Another happy Mandrake Club member--------------|
Buchan Milne                Mechanical Engineer, Network Manager
Cellphone * Work            +27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering         http://www.cae.co.za
GPG Key                   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+XyrkrJK6UGDSBKcRAlRLAJ9DNkfzcjSaFHiOV+mcyXBu6dCilgCeKuRB
SgS9LI/EMI7bD5kH6XMknLo=
=zwq6
-----END PGP SIGNATURE-----


Reply via email to