Re: hostname doesn't stick

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

 



Thufir 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.

change the value on /etc/sysconfig/network HOSTNAME=ur_hostname
/etc/hosts is used only for pointting ip address from hostname, just like a dns

--
Regards,
Johannes Sitorus
PT Pacific Communication Networks
Wisma Indovision lt.12
Jl. Raya Panjang Z/III 11520
Tel. 021-5830-2430
Fax. 021-5830-2431

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux