Where does F8 gets the hostname from?

Marcelo Magno T. Sales mmtsales at gmail.com
Mon Nov 19 00:28:54 UTC 2007


Em Dom 18 Nov 2007, Craig White escreveu:
> On Sun, 2007-11-18 at 16:41 -0600, Thomas Cameron wrote:
> > On Sat, 2007-11-17 at 14:14 -0300, Marcelo Magno T. Sales wrote:
> > > Hi,
> > >
> > > In /etc/sysconfig/network, I have set up the name I want for the
> > > host (that was all I had to do in F7). In system-config-network,
> > > at the DNS tab, the same name is shown. However, when I execute
> > > the hostname command, I get:
> > > localhost.localdomain
> > > Also, my bash prompt shows "[marcelo at localhost ~]"
> > > Where does this information come from?
> >
> > Did you reboot after you changed /etc/sysconfig/network?
>
> ----
> I believe that '/sbin/service network restart' is sufficient to
> incorporate changes made to /etc/sysconfig/network without a reboot

I don't run the network service, only NetworkManager and 
NetworkManagerDispatcher. And I'm almost sure I had rebooted the 
machine after the changes. Anyway, it's fixed now, although I don't 
know exactly how :)

Thanks,

Marcelo




More information about the fedora-list mailing list