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).
I may have missed a spot. Could you point out the lines that are wrong?
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.