[systemd-bugs] [Bug 76102] hostnamectl set-hostname destroys /etc/machine-info

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Mar 13 12:08:18 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=76102

Lennart Poettering <lennart at poettering.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |NOTABUG

--- Comment #1 from Lennart Poettering <lennart at poettering.net> ---
"systemctl set-hostname" sets all three hostnames by default. If you want to
set only the pretty, or only the transient, or only the static one use switches
like --pretty, --transient, --static. You can even combine them...

"systemctl set-hostname" will set all three names, then detect that there's no
point in keeping the pretty name in place if it is char-for-char identical with
the static one, and simply removes the file since there's nothing else in
there. 

So, this is intended operation. And explained in the man page...

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20140313/46dae04f/attachment.html>


More information about the systemd-bugs mailing list