networkd dhcpv4 client never attempts more than 2 renew and 2 rebind
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd |
Fix Released
|
Unknown
|
|||
systemd (Ubuntu) |
Fix Released
|
Medium
|
Dan Streetman | ||
Bionic |
Fix Released
|
Medium
|
Dan Streetman | ||
Focal |
Fix Released
|
Medium
|
Dan Streetman | ||
Groovy |
Fix Released
|
Medium
|
Dan Streetman | ||
Hirsute |
Fix Released
|
Medium
|
Dan Streetman |
Bug Description
[impact]
networkd dhcpv4 client never attempts more than 2 renew and 2 rebind
[test case]
configure an interface to use dhcpv4; acquire a dhcpv4 address, then stop the dhcpv4 server, and wait for the networkd client to perform its renewals and rebinds before expiring the lease
using a 20 minute lease time as an example (all times are approximate due to RFC-mandated random 'fuzz' time of -1 to +1 sec):
the current behavior would be to sent renew requests at:
10:00
13:45
and then rebind requests at:
17:30
18:45
then the lease would expire at 20:00
the correct/new behavior should be renew requests at:
10:00
13:45
15:37
16:37
and then rebind requests at:
17:30
18:45
19:45
and then lease expiration at 20:00.
longer lease times would increase the number of retransmissions.
[regression potential]
any regression would likely result in problems receiving and/or maintaining a dhcpv4 address
[scope]
this is needed in b/f/g/h.
this was fixed upstream in:
https:/
that was just added, so this is not fixed in any ubuntu release yet.
technically, this is needed in x as well, however I don't plan to backport to x since 1) it reaches ESM soon and 2) the default network management tool in x is ifupdown, not systemd-networkd.
Changed in systemd (Ubuntu Bionic): | |
assignee: | nobody → Dan Streetman (ddstreet) |
Changed in systemd (Ubuntu Focal): | |
assignee: | nobody → Dan Streetman (ddstreet) |
Changed in systemd (Ubuntu Hirsute): | |
assignee: | nobody → Dan Streetman (ddstreet) |
importance: | Undecided → Medium |
Changed in systemd (Ubuntu Bionic): | |
importance: | Undecided → Medium |
Changed in systemd (Ubuntu Focal): | |
status: | New → In Progress |
Changed in systemd (Ubuntu Bionic): | |
status: | New → In Progress |
Changed in systemd (Ubuntu Groovy): | |
status: | New → In Progress |
assignee: | nobody → Dan Streetman (ddstreet) |
Changed in systemd (Ubuntu Focal): | |
importance: | Undecided → Medium |
Changed in systemd (Ubuntu Groovy): | |
importance: | Undecided → Medium |
Changed in systemd (Ubuntu Hirsute): | |
status: | New → In Progress |
Changed in systemd: | |
status: | Unknown → New |
description: | updated |
Changed in systemd: | |
status: | New → Fix Released |
Changed in systemd (Ubuntu Hirsute): | |
status: | In Progress → Fix Released |
What is the status of this fix for hirsute?