[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: hostname



On Sun, Jun 06, 2004 at 12:44:39PM -0600, Bob Proulx wrote:
 
> I won't even suggest running /etc/init.d/hostname.sh without rebooting
> in this case.  There is too much baggage to recommend restarting
> everything that needs it.  All of the mail daemons.  Possibly
> networking.  Possibly many things.  Simpler to reboot after changing
> something fundamental like the kernel or the hostname.

Well, the maximum number of things which need it are those that are
running.. a simple runlevel change would do it; or just restart the
various networking things. On a desktop that would probably be very
few: inetd and exim most likely.

> Because it is so complicated to get right and so different between
> distros there is no single command to run to change the hostname.
> There might be, there could be, but there isn't.  It is too easy to
> edit /etc/hostname.

I'll tell you what sucks, trying to change the domain name.


-- 
Jon Dowland
http://jon.dowland.name/



Reply to: