Why does spacewalk-hostname-rename script takes hostname from system environment ?

Solution Verified - Updated -

Issue

  • The spacewalk-hostname-rename script depends on hostname set in /proc/sys/kernel/hostname file. Instead why hostname -f is not used as it gives FQDN. The man page mentions,
# man hostname
-f, --fqdn, --long
              Display  the  FQDN  (Fully Qualified Domain Name). A FQDN consists of a short host name and the DNS domain name.
  • From where spacewalk-hostname-rename script takes hostname to regenerate SSL public certificate ?

Environment

  • Red Hat Network Satellite 5.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.