Red Hat Bugzilla – Bug 951614
on RHEL hostname in /etc/sysconfig/network is an override, in recent Fedoras same should apply for what is in /etc/hostname
Last modified: 2013-04-15 03:06:59 EDT
Description of problem:
When I specify hostname in /etc/hostname which is different than hostname registration code detects it should be used (same as /etc/sysconfig/network in RHEL).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Set hostname to something != your fqdn in /etc/hostname and use `hostname` command to set that hostname in your shell
2. Run rhn-profile-sync and make sure your hostname in RHN Satellite changes
I still see mine fqdn instead of string set in /etc/hostname returned by client.system.getNetwork()['hostname']
Hostname should be set to what is in /etc/hostname
This behavior is in due to bug 457953.
Okay, so: it's not `hostname`, it just running hostname.
And, it's not just running hostname, it's running hostname with a parameter. So, kinda like
hostname `cat /etc/hostname`
*** This bug has been marked as a duplicate of bug 882174 ***