Activity log for bug #1929122

Date Who What changed Old value New value Message
2021-05-20 19:21:05 Matija Vižintin bug added bug
2021-05-25 13:10:29 Dan Streetman description lsb_release -rd Description: Ubuntu 20.04.2 LTS Release: 20.04 apt-cache policy systemd systemd: Installed: 245.4-4ubuntu3.6 [Impact] Networkd crashes when a blackhole route (route aggregation is installed as a blackhole route) is advertised via FRR. [Fix] networkd should not crash [Test case] Bug was reported to systemd (not accepted because systemd version too old) where a test case is described: https://github.com/systemd/systemd/issues/19648 Lower in the comment you can find the full debug log from networkd. Here you can see the core dump: https://drive.google.com/file/d/1tCKiOSnGkLbx3w9du5_NNepkOQZC_hx7/view?usp=sharing For convenience I also packed the relevant parts of the prod env in a vagrant box showing the issue: vagrant init matijavizintin/networkd-debug After some more testing i noticed that immediately after the route is being advertised, networkd detects the change and crashes with "Assertion 'ifindex' failed at src/network/networkd-link.c:757, function link_get(). Aborting." Steps how it happens: 1. networkd is running 2. frr is started without advertising the aggregated address 3. add aggregated address and reload frr 4. blackhole route is installed and networkd crashes with the error above [impact] systemd-networkd crashes due to assertion failure [test case] run systemd-networkd and FRR as described in original description below [regression potential] and regression would likely involve incorrectly configured routes [scope] this is needed only for f this is fixed upstream by commit 25b831bac8a5e545e1eda5199392c11c7aed4e42 which is first in v246, so this is fixed in groovy and later the code involved in this isn't present in b so this doesn't apply there [original description] lsb_release -rd Description: Ubuntu 20.04.2 LTS Release: 20.04 apt-cache policy systemd systemd:   Installed: 245.4-4ubuntu3.6 [Impact] Networkd crashes when a blackhole route (route aggregation is installed as a blackhole route) is advertised via FRR. [Fix] networkd should not crash [Test case] Bug was reported to systemd (not accepted because systemd version too old) where a test case is described: https://github.com/systemd/systemd/issues/19648 Lower in the comment you can find the full debug log from networkd. Here you can see the core dump: https://drive.google.com/file/d/1tCKiOSnGkLbx3w9du5_NNepkOQZC_hx7/view?usp=sharing For convenience I also packed the relevant parts of the prod env in a vagrant box showing the issue: vagrant init matijavizintin/networkd-debug After some more testing i noticed that immediately after the route is being advertised, networkd detects the change and crashes with "Assertion 'ifindex' failed at src/network/networkd-link.c:757, function link_get(). Aborting." Steps how it happens: 1. networkd is running 2. frr is started without advertising the aggregated address 3. add aggregated address and reload frr 4. blackhole route is installed and networkd crashes with the error above
2021-05-25 13:12:20 Dan Streetman nominated for series Ubuntu Focal
2021-05-25 13:12:20 Dan Streetman bug task added systemd (Ubuntu Focal)
2021-05-25 13:12:26 Dan Streetman nominated for series Ubuntu Bionic
2021-05-25 13:12:26 Dan Streetman bug task added systemd (Ubuntu Bionic)
2021-05-25 13:12:32 Dan Streetman systemd (Ubuntu Bionic): status New Invalid
2021-05-25 13:12:35 Dan Streetman systemd (Ubuntu): status New Fix Released
2021-05-25 13:12:39 Dan Streetman systemd (Ubuntu Focal): importance Undecided Medium
2021-05-25 13:12:41 Dan Streetman systemd (Ubuntu Focal): assignee Dan Streetman (ddstreet)
2021-05-25 13:12:45 Dan Streetman systemd (Ubuntu Focal): status New In Progress
2021-06-01 23:07:43 Brian Murray systemd (Ubuntu Focal): status In Progress Fix Committed
2021-06-01 23:07:45 Brian Murray bug added subscriber Ubuntu Stable Release Updates Team
2021-06-01 23:07:48 Brian Murray bug added subscriber SRU Verification
2021-06-01 23:07:52 Brian Murray tags systemd systemd-networkd systemd systemd-networkd verification-needed verification-needed-focal
2021-06-04 17:35:56 Dan Streetman tags systemd systemd-networkd verification-needed verification-needed-focal systemd systemd-networkd verification-done verification-done-focal
2021-06-16 15:35:27 Brian Murray removed subscriber Ubuntu Stable Release Updates Team
2021-06-16 15:35:19 Launchpad Janitor systemd (Ubuntu Focal): status Fix Committed Fix Released