<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - systemd-networkd shuts down 30s after launch if DHCP is disabled"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=90824">90824</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>systemd-networkd shuts down 30s after launch if DHCP is disabled
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>systemd
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>general
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>systemd-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>freedesk.apriori@spamgourmet.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>systemd-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>When a systemd.network is set up to use a static IP, and DHCP is disabled,
systemd-networkd shuts down exactly 30s or so after it has been launched and
after it has configured the link. Is this intentional?

I’ve been wanting to monitor connectivity through the DBus interface, and have
noticed that on machines with fixed IPs, this won’t work, because networkd
prompty shuts down.


● systemd-networkd.service - Network Service
   Loaded: loaded (/usr/lib/systemd/system/systemd-networkd.service; enabled;
vendor preset: enabled)
   Active: inactive (dead) since Di 2015-06-02 20:57:48 CEST; 167ms ago
     Docs: man:systemd-networkd.service(8)
  Process: 4027 ExecStart=/usr/lib/systemd/systemd-networkd (code=exited,
status=0/SUCCESS)
 Main PID: 4027 (code=exited, status=0/SUCCESS)
   Status: "Shutting down..."

Jun 02 20:57:18 ptk systemd[1]: Starting Network Service...
Jun 02 20:57:18 ptk systemd-networkd[4027]: Enumeration completed
Jun 02 20:57:18 ptk systemd[1]: Started Network Service.


I observe this using the following config:

[Match]
Name=en*

[Network]
DNS=8.8.8.8
Address=192.168.0.2/24
Gateway=192.168.0.1
DHCP=none</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>