Changing host name

Paul W. Frields stickster at gmail.com
Wed Apr 7 20:22:24 UTC 2010


On Wed, Apr 07, 2010 at 01:51:37PM -0400, Tom H wrote:
> >>>> I've never found a need to reboot on changing hostnames.  The most
> >>>> drastic action I've taken was to "service network restart".
> 
> >>> One wold assumme if yo are using 'service network start' you are not
> >>> using NM so your comments about the changing hostname may not apply to
> >>> the OP's system.
> 
> >> Unless I'm out of my mind...that assumption would not be true.....
> >> Even if you use NM you can still use "service network restart".  When
> >> one uses NM the directories /etc/sysconfig/networking/profiles/default
> >> and /etc/sysconfig/networking/devices are empty. This is the case on my
> >> system.
> 
> > I have no opinion on the soundness of this, but "service NetworkManager
> > restart" is what I use myself.
> 
> There is a "NM_CONTROLLED" variable that can be set in the ifcfg-*
> scripts to use one or the other (although I do not see where my F13
> init.d scripts check for its value.)

IIRC only NetworkManager looks at this variable.  It's there to help
NM decide whether or not to touch the designated interface.

-- 
Paul W. Frields                                http://paul.frields.org/
  gpg fingerprint: 3DA6 A0AC 6D58 FEC4 0233  5906 ACDB C937 BD11 3717
  http://redhat.com/   -  -  -  -   http://pfrields.fedorapeople.org/
          Where open source multiplies: http://opensource.com


More information about the users mailing list