<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    On 06/14/2011 04:06 AM, Lennart Poettering wrote:
    <blockquote cite="mid:20110614080602.GB24604@tango.0pointer.de"
      type="cite">
      <pre wrap="">On Mon, 13.06.11 19:02, Denys Vlasenko (<a class="moz-txt-link-abbreviated" href="mailto:dvlasenk@redhat.com">dvlasenk@redhat.com</a>) wrote:

</pre>
      <blockquote type="cite">
        <pre wrap="">
On Mon, 2011-06-13 at 12:37 -0400, Simo Sorce wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">On Mon, 2011-06-13 at 18:01 +0200, Denys Vlasenko wrote:
</pre>
          <blockquote type="cite">
            <blockquote type="cite">
              <pre wrap="">We invoke sethostname() from inside systemd since that is one of the
most trivial system calls known to men and doing this with a
</pre>
            </blockquote>
            <pre wrap="">separate
</pre>
            <blockquote type="cite">
              <pre wrap="">binary is just absurd. This way we also can ensure that the hostname
</pre>
            </blockquote>
            <pre wrap="">is
</pre>
            <blockquote type="cite">
              <pre wrap="">always initialised which is very useful for early boot logging and
</pre>
            </blockquote>
            <pre wrap="">other
</pre>
            <blockquote type="cite">
              <pre wrap="">stuff. On systemd you get the guarantee that the hostname is always
</pre>
            </blockquote>
            <pre wrap="">set
</pre>
            <blockquote type="cite">
              <pre wrap="">up if you run in userspace,
</pre>
            </blockquote>
            <pre wrap="">
You can't possibly know what kind of (possibly dynamic) hostname
admin might want to assign to his machine. The static hostname
may be as useless as default "(none)" which is set by kernel.
Anyway, logging with default hostname is not a catastrophe.

Why do you set up stuff no one asked you to?
</pre>
          </blockquote>
          <pre wrap="">
Changing a machine hostname at random times is just asking for trouble.
</pre>
        </blockquote>
        <pre wrap="">
I just tried it. So far flames don't shoot out of my notebook.
</pre>
      </blockquote>
      <pre wrap="">
Wow, that's convincing proof.

Lennart

</pre>
    </blockquote>
    <font face="sans-serif">One question - does systemd run
      /etc/rc.local script?</font><br>
    If not where do I put my own little things I want to happen at boot
    up.<br>
    <div class="moz-signature">-- <br>
      Stephen&nbsp;Clark<br>
      <b>NetWolves</b><br>
      Sr.&nbsp;Software&nbsp;Engineer&nbsp;III<br>
      Phone:&nbsp;813-579-3200<br>
      Fax:&nbsp;813-882-0209<br>
      Email:&nbsp;<a class="moz-txt-link-abbreviated" href="mailto:steve.clark@netwolves.com">steve.clark@netwolves.com</a><br>
      <a class="moz-txt-link-freetext" href="http://www.netwolves.com">http://www.netwolves.com</a><br>
    </div>
  </body>
</html>