<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:lennart@poettering.net" title="Lennart Poettering <lennart@poettering.net>"> <span class="fn">Lennart Poettering</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTABUG - hostnamectl set-hostname destroys /etc/machine-info"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=76102">bug 76102</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>NOTABUG
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTABUG - hostnamectl set-hostname destroys /etc/machine-info"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=76102#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTABUG - hostnamectl set-hostname destroys /etc/machine-info"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=76102">bug 76102</a>
              from <span class="vcard"><a class="email" href="mailto:lennart@poettering.net" title="Lennart Poettering <lennart@poettering.net>"> <span class="fn">Lennart Poettering</span></a>
</span></b>
        <pre>"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...</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>