Hmm. Interesting. Something went sideways with the compatibility. The lineage of this patch is due to the following errors:
Jan 31 14:43:30 localhost systemd[1]: Starting Network Service... -- Subject: Unit systemd-networkd.service has begun with start-up -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit systemd-networkd.service has begun starting up. Jan 31 14:43:30 localhost systemd-networkd[464]: [/etc/systemd/network/zz-default.network:2] Failed to parse DHCP option, ignoring: ipv4 Jan 31 14:43:30 localhost systemd[1]: Started Network Service. -- Subject: Unit systemd-networkd.service has finished start-up -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit systemd-networkd.service has finished starting up. -- -- The start-up result is done. Jan 31 14:46:20 localhost systemd[1]: Starting Network Service... -- Subject: Unit systemd-networkd.service has begun with start-up -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit systemd-networkd.service has begun starting up. Jan 31 14:46:20 localhost systemd-networkd[609]: [/etc/systemd/network/zz-default.network:2] Failed to parse DHCP option, ignoring: ipv6 Jan 31 14:46:20 localhost systemd[1]: Started Network Service. -- Subject: Unit systemd-networkd.service has finished start-up -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit systemd-networkd.service has finished starting up. -- -- The start-up result is done. --Brian 'redbeard' Harrington --CoreOS On 02/02/2015 03:26 AM, Lennart Poettering wrote: > On Sat, 31.01.15 16:16, Brian Redbeard (redbe...@dead-city.org) wrote: > >> In the systemd documentation for systemd.network units the >> [Network] section notes that for the option DHCP=: >> >> DHCP= >> Enables DHCPv4 and/or DHCPv6 support. Accepts "yes", "no", "ipv4" >> or "ipv6". >> >> In testing the options ipv4 and ipv6 are actually implemented as >> v4 and v6. Additionally on the same page in Example 2 the sample is >> give: >> >> [Network] >> DHCP=both >> >> which is not referenced in the above option. > > This is due to a recent change: > cb9fc36a1211967e8c58b0502a26c42552ac8060 > > Basically, the intention here is that options like this work as > "per-address-family booleans". i.e. they primarily parse as booleans, > but you can also assign them the special value "ipv4" and "ipv6", > which turns them on only for one of the two address families. > > The old names for the options are still accepted for compat, but we > only document the new names, to make people use only the new names. > > Lennart > _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel