<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - systemd-networkd assertion failure with Xen vif"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=79789#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - systemd-networkd assertion failure with Xen vif"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=79789">bug 79789</a>
              from <span class="vcard"><a class="email" href="mailto:steven@uplinklabs.net" title="Steven Noonan <steven@uplinklabs.net>"> <span class="fn">Steven Noonan</span></a>
</span></b>
        <pre>Well that explains why UseMTU was necessary. When setting the MTU it freed the
data structure, which then caused the hostname setup to break it.

==5269== Invalid read of size 8
==5269==    at 0x161953: link_set_hostname (networkd-link.c:690)
==5269==    by 0x16296D: dhcp_lease_acquired (networkd-link.c:942)
==5269==    by 0x162D18: dhcp_handler (networkd-link.c:1007)
==5269==    by 0x172E35: client_notify (sd-dhcp-client.c:200)
==5269==    by 0x175BC3: client_handle_message (sd-dhcp-client.c:1146)
==5269==    by 0x17614E: client_receive_message_raw (sd-dhcp-client.c:1270)
==5269==    by 0x12902F: source_dispatch (sd-event.c:2001)
==5269==    by 0x129F1B: sd_event_run (sd-event.c:2285)
==5269==    by 0x12A031: sd_event_loop (sd-event.c:2304)
==5269==    by 0x110727: main (networkd.c:100)
==5269==  Address 0x5a86d30 is 0 bytes inside a block of size 144 free'd
==5269==    at 0x4C2999C: free (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==5269==    by 0x15F43A: link_free (networkd-link.c:132)
==5269==    by 0x15F477: link_unref (networkd-link.c:137)
==5269==    by 0x161F1A: link_set_mtu (networkd-link.c:768)
==5269==    by 0x1628BF: dhcp_lease_acquired (networkd-link.c:930)
==5269==    by 0x162D18: dhcp_handler (networkd-link.c:1007)
==5269==    by 0x172E35: client_notify (sd-dhcp-client.c:200)
==5269==    by 0x175BC3: client_handle_message (sd-dhcp-client.c:1146)
==5269==    by 0x17614E: client_receive_message_raw (sd-dhcp-client.c:1270)
==5269==    by 0x12902F: source_dispatch (sd-event.c:2001)
==5269==    by 0x129F1B: sd_event_run (sd-event.c:2285)
==5269==    by 0x12A031: sd_event_loop (sd-event.c:2304)</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>