<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><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#c2">Comment # 2</a>
on <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">bug 84373</a>
from <span class="vcard"><a class="email" href="mailto:maggu2810@gmail.com" title="Markus Rathgeb <maggu2810@gmail.com>"> <span class="fn">Markus Rathgeb</span></a>
</span></b>
<pre>I used strace to get more details what is going on:
child_stack=0xb6cf6f58,
flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID,
parent_tidptr=0xb6cf7488, tls=0xb6cf78e0, child_tidptr=0xb6cf7488) = 184
[pid 184] set_robust_list(0xb6cf7490, 12 <unfinished ...>
[pid 183] open("/dev/urandom", O_RDONLY|O_NOCTTY|O_LARGEFILE|O_CLOEXEC
<unfinished ...>
[pid 184] <... set_robust_list resumed> ) = 0
[pid 183] <... open resumed> ) = 9
[pid 184] madvise(0xb64f8000, 8364032, MADV_DONTNEED <unfinished ...>
[pid 183] read(9, <unfinished ...>
[pid 184] <... madvise resumed> ) = 0
[pid 183] <... read resumed> "T\237Td", 4) = 4
[pid 184] exit(0) = ?
[pid 183] close(9) = 0
[pid 184] +++ exited with 0 +++
socket(PF_PACKET, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 9
setsockopt(9, SOL_PACKET, PACKET_AUXDATA, [1], 4) = 0
setsockopt(9, SOL_SOCKET, SO_ATTACH_FILTER, "-\0\226|\250\325\353\276", 8) = -1
EINVAL (Invalid argument)
close(9) = 0
writev(2, [{"DHCP CLIENT (0x64549f54): STOPPE"..., 51}, {"\n", 1}], 2DHCP
CLIENT (0x64549f54): STOPPED: Invalid argument
) = 52
writev(2, [{"eth0 : DHCP error: cl"..., 61}, {"\n", 1}], 2eth0
: DHCP error: client failed: Invalid argument
) = 62
clone(Process 185 attached
<unfinished ...>
[pid 185] set_robust_list(0xb6cf7490, 12 <unfinished ...>
[pid 183] <... clone resumed> child_stack=0xb6cf6f58,
flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID,
parent_tidptr=0xb6cf7488, tls=0xb6cf78e0, child_tidptr=0xb6cf7488) = 185
[pid 185] <... set_robust_list resumed> ) = 0
[pid 183] writev(2, [{"eth0 : could not acqu"..., 48}, {"\n", 1}],
2eth0 : could not acquire DHCPv4 lease
<unfinished ...>
[pid 185] madvise(0xb64f8000, 8364032, MADV_DONTNEED <unfinished ...>
[pid 183] <... writev resumed> ) = 49
[pid 185] <... madvise resumed> ) = 0
[pid 183] writev(2, [{"Event source 0xb7717dd0 returned"..., 67}, {"\n", 1}],
2Event source 0xb7717dd0 returned error, disabling: Invalid argument
<unfinished ...>
[pid 185] exit(0) = ?
[pid 183] <... writev resumed> ) = 68
[pid 185] +++ exited with 0 +++
epoll_ctl(3, EPOLL_CTL_DEL, 5, NULL) = 0
epoll_wait(3,
So, the code that raised the EINVAL is the following:
setsockopt(9, SOL_SOCKET, SO_ATTACH_FILTER, "-\0\226|\250\325\353\276", 8) = -1
EINVAL (Invalid argument)
Are you using filters that needs a kernel > 3.4?</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>