Bug 83967

Summary: hostnamectl man page is misleading
Product: systemd Reporter: Marius Vollmer <marius.vollmer>
Component: generalAssignee: systemd-bugs
Status: RESOLVED INVALID QA Contact: systemd-bugs
Severity: normal    
Priority: medium CC: stefw
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Marius Vollmer 2014-09-17 07:10:22 UTC
In v213, hostnamed has changed the rules for determining the string to pass to sethostname, but the hostnamectl man page has not been updated.

The man page still says that the transient hostname will take precedence over the static hostname as long as it is set, but that's not the case anymore.  Now the static hostname takes precedence (as long as it is useful).
Comment 1 Stef Walter 2014-09-17 10:42:41 UTC
I may have missed a spot. Could you point out the lines that are wrong?
Comment 2 Marius Vollmer 2014-09-17 11:36:27 UTC
Damn, my fault.  I was looking at the old man page.  Sorry.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.