balena-os / meta-balena

A collection of Yocto layers used to build balenaOS images
https://www.balena.io/os
966 stars 115 forks source link

NetworkManager: remove duplicate rules in shared dispatcher script #3473

Closed alexgg closed 1 month ago

alexgg commented 1 month ago

Sometimes on NetworkManager restart a new rule for a shared interface is added, but the old rule is not cleaned up properly, so the rules are just piling up. This patch makes the shared dispatcher script clean up duplicates if it finds any.

Change-type: patch


Contributor checklist

Reviewer Guidelines

github-actions[bot] commented 1 month ago

Website deployed to CF Pages, 👀 preview link https://dd582f7e.balena-os.pages.dev

alexgg commented 1 month ago

@resin-jenkins retest this please