Bug 1142202 - Pretty host name changed incorrectly
Summary: Pretty host name changed incorrectly
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: cockpit
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Patrick Uiterwijk
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-16 10:56 UTC by David Spurek
Modified: 2015-03-02 05:29 UTC (History)
4 users (show)

Fixed In Version: cockpit-0.25-1.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-29 04:01:37 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description David Spurek 2014-09-16 10:56:36 UTC
Description of problem:
system information->change host name:
change 'pretty host name' to 'test.example.com.

It is changed in the web UI, hostname command on the machine returns incorrect name

[root@localhost ~]# hostname
test-example-com

Version-Release number of selected component (if applicable):
cockpit-0.23-1.fc21

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Fedora Update System 2014-09-18 14:29:07 UTC
cockpit-0.24-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/cockpit-0.24-1.fc21

Comment 2 Stef Walter 2014-09-18 14:37:05 UTC
Could you test the above update, and provide feedback (and karma if appropriate) if it fixes the bug for you?

Comment 3 David Spurek 2014-09-19 05:53:12 UTC
I changed 'Pretty host name' to fedora.mydomain.com
'Real host name' was changed to 'fedoramydomaincom.localdomain' during typing 'Pretty host name'.

This behavior doesn't look correctly for me.

What is the difference between 'Pretty host name' and 'Real host name'?
'Real host name' is value from /etc/hostname?
'Pretty host name' is hostname returned by 'hostname' command?

Comment 4 Stef Walter 2014-09-19 05:54:57 UTC
See man hostnamectl(1)

Comment 5 David Spurek 2014-09-19 06:14:06 UTC
Thanks, then it works.

I still missing some help in GUI. Explanation of fields should be useful. Description after hover with mouse over 'Real host name' or query 'button' next to text array field.

Comment 6 Fedora Update System 2014-09-19 17:46:26 UTC
Package cockpit-0.24-1.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing cockpit-0.24-1.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-11157/cockpit-0.24-1.fc21
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2014-09-24 10:34:26 UTC
cockpit-0.25-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/cockpit-0.25-1.fc21

Comment 8 Fedora Update System 2014-09-29 04:01:37 UTC
cockpit-0.25-1.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.