<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - systemd-networkd: dhcp client not working (invalid argument)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=84373">84373</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>systemd-networkd: dhcp client not working (invalid argument)
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Reporter</th>
<td>maggu2810@gmail.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Component</th>
<td>general
</td>
</tr>
<tr>
<th>Product</th>
<td>systemd
</td>
</tr></table>
<p>
<div>
<pre>I installed a new system on a board and systemd-networkd stopped working.
I thought I was using the same configuration as before, but there must be
something wrong...
systemd-networkd write to the journal:
===
eth0 : gained carrier
eth0 : DHCP error: client failed: Invalid argument
eth0 : could not acquire DHCPv4 lease
eth0 : failed
===
Here more debug log:
===
[root@ct-mara ~]# SYSTEMD_LOG_LEVEL=debug /lib/systemd/systemd-networkd
timestamp of '/etc/systemd/network' changed
sd-rtnl: discarding 20 bytes of incoming message
wlan0 : link 5 added
wlan0 : udev initialized link
wlan0 : saved original MTU: 1500
wlan0 : flags change: +MULTICAST +BROADCAST
p2p0 : link 4 added
p2p0 : udev initialized link
p2p0 : saved original MTU: 1500
p2p0 : flags change: +MULTICAST +BROADCAST
tunl0 : MAC address not found for new device, continuing without
tunl0 : link 3 added
tunl0 : udev initialized link
tunl0 : saved original MTU: 1480
tunl0 : flags change: +NOARP
eth0 : link 2 added
eth0 : udev initialized link
eth0 : saved original MTU: 1500
eth0 : flags change: +UP +LOWER_UP +RUNNING +MULTICAST +BROADCAST
eth0 : gained carrier
lo : link 1 added
lo : udev initialized link
lo : saved original MTU: 16436
lo : flags change: +LOOPBACK +UP +LOWER_UP +RUNNING
lo : gained carrier
wlan0 : link state is up-to-date
wlan0 : unmanaged
Sent message type=method_call sender=n/a destination=org.freedesktop.DBus
object=/org/freedesktop/DBus interface=org.freedesktop.DBus member=Hello
cookie=1 reply_cookie=0 error=n/a
Got message type=method_return sender=org.freedesktop.DBus destination=:1.12
object=n/a interface=n/a member=n/a cookie=1 reply_cookie=1 error=n/a
p2p0 : getting address failed: Device or resource busy
Got message type=signal sender=org.freedesktop.DBus destination=:1.12
object=/org/freedesktop/DBus interface=org.freedesktop.DBus member=NameAcquired
cookie=2 reply_cookie=0 error=n/a
p2p0 : link state is up-to-date
p2p0 : unmanaged
tunl0 : getting address failed: Device or resource busy
tunl0 : link state is up-to-date
tunl0 : unmanaged
eth0 : getting address failed: Device or resource busy
eth0 : link state is up-to-date
eth0 : found matching network
'/etc/systemd/network/00-ethernet.network'
eth0 : acquiring DHCPv4 lease
DHCP CLIENT (0xce36fbdb): STOPPED: Invalid argument
eth0 : DHCP error: client failed: Invalid argument
eth0 : could not acquire DHCPv4 lease
Event source 0xb70c4dd0 returned error, disabling: Invalid argument
Event source 0xb70c4f70 returned error, disabling: Operation not supported
===
The network configuration file
===
[root@ct-mara ~]# cat /etc/systemd/network/00-ethernet.network
[Match]
Name=eth0
[Network]
DHCP=v4
===</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>