Re: Changing host name



On Tue, 2010-04-06 at 16:20 +0100, Michael Thompson wrote:
On 06/04/2010 16:05, Patrick O'Callaghan wrote:
On Tue, 2010-04-06 at 15:51 +0100, Michael Thompson wrote:

When I change the hostname on my fedora 12 box, from the installation
default of localhost.localdomain, the network dies until it is reset
back.

"localhost" is assumed always to exist and to be bound to 127.0.0.1 (see
http://en.wikipedia.org/wiki/Localhost). You can of course give your
machine another name as well (just add additional names to the localhost
line in /etc/hosts), but you can't remove the meaning of localhost
without breaking things.

poc


Yup, I knew that. I'm changing the network name, not localhost. The
hosts file reads:

127.0.0.1 localhost.localdomain localhost feddesk
::1 localhost.localdomain localhost6 localhost feddesk

Your original post says "When I change the hostname on my fedora 12 box,
from the installation default of localhost.localdomain ...". "Change
from the default" means "substitute something for the default".

Believe it or not, I'm not stupid.

No-one called you stupid, so that kind of reaction is uncalled for. And
don't push the blame for a misunderstanding onto the reader when your
question is badly formulated.

poc

--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines



Relevant Pages

  • Re: Changing host name
    ... the network dies until it is reset ... machine another name as well (just add additional names to the localhost ... ::1 localhost.localdomain localhost6 localhost feddesk ... You need the ip_address of the machine in the hosts file. ...
    (Fedora)
  • Re: Changing host name
    ... the network dies until it is reset ... machine another name as well (just add additional names to the localhost ... ::1 localhost.localdomain localhost6 localhost feddesk ...
    (Fedora)
  • Re: Changing host name
    ... the network dies until it is reset ... "localhost" is assumed always to exist and to be bound to 127.0.0.1 (see ... Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines ...
    (Fedora)