Re: hostname doesn't stick



On Thu, 07 Sep 2006 06:41:07 +0100
Thufir <hawat.thufir@xxxxxxxxx> wrote:

When installing FC5 I set the hostname to "arrakis.homelinux.com"
when it should've been "arrakis.homelinux.org".

running "system-config-network", and changing the hostname with the
GUI, then running "service network restart", or even rebooting, fails
to effect the result of "hostname".

[thufir@arrakis ~]$
[thufir@arrakis ~]$ hostname
arrakis.homelinux.com
[thufir@arrakis ~]$
[thufir@arrakis ~]$ cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 arrakis.homelinux.org arrakis
localhost.localdomain localhost

[thufir@arrakis ~]$
[thufir@arrakis ~]$ date
Thu Sep 7 06:32:32 IST 2006
[thufir@arrakis ~]$


[root@arrakis ~]#
[root@arrakis ~]# system-config-network
/usr/share/system-config-network/netconfpkg/NC_functions.py:30:
DeprecationWarning: rhpl.log is deprecated and will be removed; use
python's logging instead import rhpl.log [root@arrakis ~]#
[root@arrakis ~]#
[root@arrakis ~]#
[root@arrakis ~]# date
Thu Sep 7 06:37:46 IST 2006
[root@arrakis ~]#
[root@arrakis ~]#


I do notice a warning WRT depreciation, so I'll update the system.

I've also rebooted, no change in the hostname.



-Thufir

Try as root running domainname -
"[root@david ~]# domainname arrakis.homelinux.org"

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: hostname doesnt stick
    ... GUI, then running "service network restart", or even rebooting, ... fails to effect the result of "hostname". ... DeprecationWarning: rhpl.log is deprecated and will be removed; ...
    (Fedora)
  • hostname doesnt stick
    ... When installing FC5 I set the hostname to "arrakis.homelinux.com" when it ... then running "service network restart", or even rebooting, fails to effect ...
    (Fedora)
  • Re: hostname doesnt stick
    ... then running "service network restart", or even rebooting, fails to effect ... $ hostname ...
    (Fedora)
  • Re: hostname doesnt stick
    ... then running "service network restart", or even rebooting, fails to effect ... no change in the hostname. ...
    (Fedora)
  • Re: hostname doesnt stick
    ... then running "service network restart", or even rebooting, fails to effect ... If you don't change that in your hosts file you get inconsistent name resolution: ... Locally your hostname is resolved to 127.0.0.1, on other hosts the hostname is resolved to your real ip address. ...
    (Fedora)

Loading