Nine parts to a one-line bug report. The way out is shorter than the
diagnosis: fix the boot order, assert the prefixes, and — for the richest
deployments — pick a daemon that lives on the platform it runs on.

The ladder

Path Reality
Upstream fix None. Issue open, no milestone. Nothing to wait for.
Restart bgpd after the network is up The workaround, and the standard operational fix for startup races.
Ordering guarantee A systemd unit with After=network-online.target and an explicit readiness check. Removes the race for most deployments.
Periodic re-advertisement A cron/script issuing a soft reset per neighbour after boot. Blunt, effective.
Use the OpenBSD build If you can — the native platform does not have the bug.
Alternative FRR or BIRD on Linux — Linux-native, no BSD-to-Linux porting layer.

Rung 1 — the boot order (free, the real fix)

The corpus's verdict is worth repeating without embellishment: "The
systemd ordering fix is the practical answer, and it is free. The bug is
a race, so removing the race from the environment is as good as patching
the daemon for most operators."

The daemon needs three guarantees before it starts: the network is online
(After=network-online.target), the interfaces are addressed, and the
local routing table is populated. An explicit readiness check — wait for
the RIB to be non-empty rather than assuming it — closes the gap the race
lives in. For most Linux deployments, this single unit file is the entire
remediation.

Rung 2 — the post-reboot assertion (the five-line check)

The corpus's most valuable monitoring primitive, from the Cumulus bug
through this one:

  • After every reboot, assert that each BGP session has a non-zero
    received-prefix count
    .
  • Established-with-zero is the signature. It is a five-line check, and it
    catches the whole bug class — this issue, the race that was never
    reported, and every future startup-ordering bug the portable layer has
    not surfaced yet.

Pair it with the intent-check from Part 9: the monitor must know which
sessions are supposed to carry prefixes, so a legitimate empty export
policy does not page the NOC at 3 a.m.

Rung 3 — the workaround and the blunt instrument

Falling back in order: restart bgpd once the network is confirmed up —
the standard operational fix for startup races and the first thing an
on-call engineer will try — and if restarts are not practical, a cron
entry issuing a soft reset per neighbour after boot. Blunt, but it
re-arms the trigger that the bug forgets to fire.

Rung 4 — change the platform

Two exits for the deployments that can afford them:

  • Use the OpenBSD build. The native platform does not have the bug,
    because the native platform is the one the assumptions were written
    against. If the deployment can run OpenBSD, the issue disappears
    wholesale.
  • Run FRR or BIRD on Linux. Both are Linux-native — they never
    crossed the bridge, so they do not have the bridge's bugs. The corpus
    names them plainly as alternatives for exactly this reason.

Residual risk, honestly stated

With ordered startup and post-reboot prefix assertions: low. The
corpus's final paragraph carries the caveat that keeps it honest: the
daemon can still fail to advertise under conditions nobody has documented.

That is why the assertion matters more than the workaround. The boot
order fixes the known race; the assertion catches the unknown one. The
five-line check is the only rung of the ladder that stays valuable after
every other fix is applied, because it is the only one that measures the
outcome instead of the cause. Sessions established, prefixes received —
that is the entire contract between a BGP speaker and the network, and it
takes one number to verify.

Issue #87, impact 5.03, rank 23 of 26 — the quietest entry in the corpus,
and the one with the cheapest fix. It will not be patched. It does not
need to be.


This series is built on the corpus file 09-openbgpd-portable-87.md
(impact 5.03, rank 23 of 26, C=2, uncovered 1.68, AVAIL, OPEN — Linux
portable port only). Internal author archive; article bodies contain no
local paths.