Bug 81178

Summary: systemd-networkd: section [DHCP] not recognized in .network
Product: systemd Reporter: Fireball <ao>
Component: generalAssignee: systemd-bugs
Status: RESOLVED FIXED QA Contact: systemd-bugs
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Fireball 2014-07-10 15:11:51 UTC
I recently updated to systemd 215 and noticed that [DHCP] section was intoduced there. But I get this warning in journal:

systemd-networkd[271]: [/etc/systemd/network/br0.network:8] Unknown section 'DHCP'. Ignoring.

It is strange because [DHCP] section is mentioned in systemd.network man page.
If I rename it to [DHCPv4], there's no warning.
This is my br0.network file:

[Match]
Name=br0

[Network]
Description=Network Interface br0
DHCP=v4

[DHCPv4]
UseDNS=false
UseHostname=false
Comment 1 Jörg Thalheim 2014-07-12 05:10:01 UTC
Seems to be fixed with this commit: http://cgit.freedesktop.org/systemd/systemd/commit/?id=c38d2eb828f1a62ae9052c9db45ccc70f98fdb47
Comment 2 Zbigniew Jedrzejewski-Szmek 2014-07-12 05:11:16 UTC
Yep, this was fixed post-release.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.