[BlueOnyx:24430] Re: strange issue vsite and hostname

Gerrit Haas Gerrit.Haas at blackpoint.de
Wed Oct 28 03:11:55 -05 2020


Here we go:

[root at abc ~]# hostnamectl
   Static hostname: abc
Transient hostname: abc.def.net
         Icon name: computer-vm
           Chassis: vm
        Machine ID: 61a25cca94654edd804920d9823a9ebd
           Boot ID: 9625f63cb4ff4adca2576623de1deca2
    Virtualization: vmware
  Operating System: CentOS Linux 7 (Core)
       CPE OS Name: cpe:/o:centos:centos:7
            Kernel: Linux 3.10.0-1127.19.1.el7.x86_64
      Architecture: x86-64



*Hostname changed via GUI*

[root at abc ~]# /usr/sausalito/constructor/base/system/10_addSystem.pl
[root at abc ~]# hostnamectl
   Static hostname: abc.xyz.net
         Icon name: computer-vm
           Chassis: vm
        Machine ID: 61a25cca94654edd804920d9823a9ebd
           Boot ID: 9625f63cb4ff4adca2576623de1deca2
    Virtualization: vmware
  Operating System: CentOS Linux 7 (Core)
       CPE OS Name: cpe:/o:centos:centos:7
            Kernel: Linux 3.10.0-1127.19.1.el7.x86_64
      Architecture: x86-64
[root at abc ~]# reboot


System back up:

[root at abc ~]# hostnamectl
   Static hostname: abc
Transient hostname: abc.def.net
         Icon name: computer-vm
           Chassis: vm
        Machine ID: 61a25cca94654edd804920d9823a9ebd
           Boot ID: ce9ebe123ee1437db7517c2b9b757183
    Virtualization: vmware
  Operating System: CentOS Linux 7 (Core)
       CPE OS Name: cpe:/o:centos:centos:7
            Kernel: Linux 3.10.0-1127.19.1.el7.x86_64
      Architecture: x86-64

Nah.



Mit freundlichen Grüßen aus Bad Vilbel 

Gerrit Haas 
Systemadministrator  

 
blackpoint GmbH – Friedberger Straße 106b – 61118 Bad Vilbel 

Tel.: +49 6101 65788 32 
IT-Support: +49 6101 65788 - 30 
Fax: +49 6101 65788 - 99
eMail: Gerrit.Haas at blackpoint.de
Tel. Rufbereitschaft (Außerhalb der Arbeitszeiten) +49 6101 65788 - 40 

Vertretungsberechtigt Dirk Estenfeld und Mario Di Rienzo HRB 50093 Frankfurt
am Main USt.-IdNr. de210106871 

Besuchen Sie uns im Internet unter www.blackpoint.de
Problemlos Domains registrieren: www.edns.de
Einfach und günstig Daten sichern: Veeam Cloud Connect


Confidentiality Notice: 
This e-mail message, including any attachments,is for the sole use of the
intended recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or distribution is
prohibited. If you are not the intended recipient, please contact the sender
by reply e-mail and destroy all copies of the original message. 

-----Ursprüngliche Nachricht-----
Von: Blueonyx <blueonyx-bounces at mail.blueonyx.it> Im Auftrag von Michael
Stauber
Gesendet: Mittwoch, 28. Oktober 2020 08:47
An: blueonyx at mail.blueonyx.it
Betreff: [BlueOnyx:24429] Re: strange issue vsite and hostname

Hi Gerrit,

> [root at abc mail]# hostnamectl
>    Static hostname: abc
> Transient hostname: abc.xyz.net
>          Icon name: computer-vm
>            Chassis: vm

The above not looking right. After the update when the hostname has been set
via the GUI or got updated during a CCEd restart, the line "Transient
hostname" should be gone.

The output will be something like this:

[root at 5209r ~]# hostnamectl
   Static hostname: 5209r.smd.net
         Icon name: computer-container
           Chassis: container
        Machine ID: b14abfb95c424f9a9058cecd5dd2acc4
           Boot ID: a857596cc57e4b468a6839a44c61cb0a
    Virtualization: openvz
  Operating System: CentOS Linux 7 (Core)
       CPE OS Name: cpe:/o:centos:centos:7
            Kernel: Linux 3.10.0
      Architecture: x86-64

See? No "Transient hostname" anymore. Could you run one more test? Set the
hostname again via the GUI. Then run this constructor:

/usr/sausalito/constructor/base/system/10_addSystem.pl

Then check if the "Transient hostname" is gone from the "hotsnamectl"
output.

> I think we need to fling way more shit on this one ;)

Indeed! :-)

--
With best regards

Michael Stauber
_______________________________________________
Blueonyx mailing list
Blueonyx at mail.blueonyx.it
http://mail.blueonyx.it/mailman/listinfo/blueonyx
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5537 bytes
Desc: not available
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20201028/2908dcb3/attachment.p7s>


More information about the Blueonyx mailing list