feat(network): verify selected uplinks, roll back failures and manage NetBird policy

This commit is contained in:
DCCONSTRUCTIONS
2026-11-21 20:58:26 +03:00
parent a50d638ced
commit 43d4916331
63 changed files with 6743 additions and 12 deletions
+8
View File
@@ -135,3 +135,11 @@ if [ "$1" = remove ] || { [ "$1" = upgrade ] && [ -n "${2:-}" ] && dpkg --compar
systemctl disable --now mission-core-node-netbird.service || true
fi
fi
# Retain the journal; NetworkManager owns the pending checkpoint timeout.
if [ "$1" = remove ] || { [ "$1" = upgrade ] && [ -n "${2:-}" ] && dpkg --compare-versions "$2" lt 0.8.53-125; }; then
if [ -d /run/systemd/system ]; then
systemctl disable --now mission-core-uplink.service || true
/usr/bin/python3 -I /usr/lib/mission-core-node/uplink_helper.py --release || true
fi
fi