Changing host name

Tom H tomh0665 at gmail.com
Thu Apr 8 02:08:20 UTC 2010


On Wed, Apr 7, 2010 at 4:34 PM, Rick Stevens <ricks at nerd.com> wrote:
> On 04/07/2010 10:51 AM, 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 would highly recommend you DON'T use "service network restart" if
> you're using NM.  The two are not compatible in many areas.
>
>>> I have no opinion on the soundness of this, but "service NetworkManager
>>> restart" is what I use myself.
>
> I believe that's what's required if you do some manual reconfig of the
> network behind NM's back.

I don't use NM so I duplicated my F13 VBox, installed it, ran "tail -f
/var/log/messages" and "service network restart":

lo and eth0 were brought down and back up but NM had a fit and
generated a backtrace...


More information about the users mailing list