Project

General

Profile

Actions

Bug #22137

open

The satellite-change-hostname does not change HOSTNAME environment variable.

Added by Rahul Bajaj about 6 years ago. Updated about 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Description of problem:

After changing hostname of system environment variable is still showing old hostname, we should suggest user to relogin to system,

  1. satellite-change-hostname sat63.example.com -u admin -p redrhn
  1. hostname
    sat63.example.com
  1. env| grep -i hostname
    HOSTNAME=sat63-hp13.gsslab.pnq2.redhat.com

Version-Release number of selected component (if applicable):

6.3 Beta

How reproducible:

Each time

Steps to Reproduce:
1. Change hostname of system using satellite-change-hostname.
2. Confirm it has changed,

  1. satellite-change-hostname sat63.example.com -u admin -p redrhn
  1. hostname
    sat63.example.com

3. See environment variable is still showing old hostname,

  1. env| grep -i hostname
    HOSTNAME=sat63-hp13.gsslab.pnq2.redhat.com

Actual results:

HOSTNAME environment variable unchanged.

Expected results:

Either we need to change HOSTNAME envrionment variable or ask user to relogin to system and kill existing session.

Additional info:

Actions #1

Updated by Rahul Bajaj about 6 years ago

  • Bugzilla link set to 1527906
Actions

Also available in: Atom PDF