Actions
Bug #22137
openThe satellite-change-hostname does not change HOSTNAME environment variable.
Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Description
Description of problem:
After changing hostname of system environment variable is still showing old hostname, we should suggest user to relogin to system,
- satellite-change-hostname sat63.example.com -u admin -p redrhn
- hostname
sat63.example.com
- 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,
- satellite-change-hostname sat63.example.com -u admin -p redrhn
- hostname
sat63.example.com
3. See environment variable is still showing old hostname,
- 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