[systemd-bugs] [Bug 90824] New: systemd-networkd shuts down 30s after launch if DHCP is disabled

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jun 2 12:00:22 PDT 2015


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

            Bug ID: 90824
           Summary: systemd-networkd shuts down 30s after launch if DHCP
                    is disabled
           Product: systemd
           Version: unspecified
          Hardware: Other
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
          Assignee: systemd-bugs at lists.freedesktop.org
          Reporter: freedesk.apriori at spamgourmet.com
        QA Contact: systemd-bugs at lists.freedesktop.org

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

-- 
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/20150602/fd9f0722/attachment.html>


More information about the systemd-bugs mailing list