Bug 81178 - systemd-networkd: section [DHCP] not recognized in .network
Summary: systemd-networkd: section [DHCP] not recognized in .network
Status: RESOLVED FIXED
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: systemd-bugs
QA Contact: systemd-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-10 15:11 UTC by Fireball
Modified: 2014-07-12 05:11 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.