summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-01-04 21:13:47 +0100
committerTom Gundersen <teg@jklm.no>2014-01-05 00:32:31 +0100
commitb3070dc0258831c7e2b13624f75fa3dbd80d9833 (patch)
treed273a80882da1b36026c3b724ef8b7b2c77e9202 /man
parent3563b896da77bb2e6abc2ca0f03d8e2f570f1cc7 (diff)
networkd: refuse to use .network files with missing Address/Gateway key
These keys are mandatory in [Address]/[Route] sections. Otherwise, we hit an assert: ens3: setting addresses Assertion 'address->family == 2 || address->family == 10' failed at /build/amd64-generic/tmp/portage/sys-apps/systemd-9999-r1/work/systemd-9999/src/network/networkd-address.c:137, function address_configure(). Aborting. Reported-by: Alex Polvi <alex.polvi@coreos.com> At the same time make sure Route's Destination and Gateway uses the same address family.
Diffstat (limited to 'man')
-rw-r--r--man/systemd-networkd.service.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/man/systemd-networkd.service.xml b/man/systemd-networkd.service.xml
index 57be3358f..de45d10a7 100644
--- a/man/systemd-networkd.service.xml
+++ b/man/systemd-networkd.service.xml
@@ -206,7 +206,7 @@
<varlistentry>
<term><varname>Address</varname></term>
<listitem>
- <para>As in the <literal>[Network]</literal> section.</para>
+ <para>As in the <literal>[Network]</literal> section. This key is mandatory.</para>
</listitem>
</varlistentry>
<varlistentry>
@@ -223,7 +223,7 @@
<varlistentry>
<term><varname>Gateway</varname></term>
<listitem>
- <para>As in the <literal>[Network]</literal> section.</para>
+ <para>As in the <literal>[Network]</literal> section. This key is mandatory.</para>
</listitem>
</varlistentry>
<varlistentry>