OpenVZ Forum


Home » General » Support » No longer setting hostname in container ? (No longer setting hostname in container ?)
No longer setting hostname in container ? [message #40170] Sun, 25 July 2010 20:14 Go to previous message
vali.dragnuta is currently offline  vali.dragnuta
Messages: 6
Registered: December 2005
Location: Romania
Junior Member
I have just updated a system (centos 5,
vzctl-lib-3.0.24-1
vzctl-3.0.24-1

And after update I noticed that the correct hostname is no longer (fully) passed to the guest.
If the configured hostname in CTID.conf is for example
myhost.mydomain.tld

In the container's /etc/sysconfig/network file the
we only get something like
HOSTNAME="myhost" while suffix (domainname) ".mydomain.tld" is lost. This despite the fact that vzctl.log pretends it sets the guest with the fully qualified name.
This sudden change interferes with guest applications that expect the hostname to return the fqdn.
Is this a reason for this change ?
 
Read Message
Read Message
Read Message
Previous Topic: Folllowed Quick Install Guide... No External Networking
Next Topic: Strange behaviour in disk space. How to diagnose sudden rise in file space used?
Goto Forum:
  


Current Time: Sat Aug 24 23:37:54 GMT 2024

Total time taken to generate the page: 0.03193 seconds