Hostname issues

Jason Shein jason-xgs8i/e9EeWTtA8H5PvdGCwD8/FfD2ys at public.gmane.org
Sat Jul 1 14:33:52 UTC 2006


On Saturday 01 July 2006 05:59, Kihara Muriithi wrote:
> Hi all,
>
>  I have been surprised by how easy one can break a Fedora/ Red Hat system
> by only changing the host name. This is easily to replicate as I have done
> it three times on a Red Hat system.
>  After changing the host name (#hostname xyz), they system immediately
> hangs and one can't even start a new terminal. Rebooting don't help. It
> does improve things a bit when I manually change names in as many files as
> I could find - /etc/hosts, /etc/sysconfig/network*, etc – but it never get
> back to its previous performance in my opinion. Is there any saner way of
> executing such a trivia work? What could be the reason for "hostname"
> script to be that hopelessly useless?

Could it possibly help to add the new hostname to the /etc/hosts file before 
performing the hostname change?

127.0.0.1 oldhostname newhostname

-- 
Jason Shein
Director of Networking, Operations and Systems
Detached Networks
jason-xgs8i/e9EeWTtA8H5PvdGCwD8/FfD2ys at public.gmane.org
( 905 ) - 876 - 4158 Voice
( 905 ) - 876 - 5817 Mobile
http://www.detachednetworks.ca
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list