network: add ManageForeignRoutingPolicyRules= boolean setting - #19287
Conversation
keszybz
left a comment
There was a problem hiding this comment.
LGTM. Yet-another config option is not great, but we already have ManagerForeingRoutes=, and this one is conceptually very similar. I don't see a nice way to make this automatic.
…n networkd.conf The commit 0b81225 makes that networkd remove all foreign rules except those with "proto kernel". But, in some situation, people may want to manage routing policy rules with other tools, e.g. 'ip' command. To support such the situation, this introduce ManageForeignRoutingPolicyRules= boolean setting. Closes systemd#19106.
719eb5e to
4de5ad8
Compare
|
@keszybz Thank you for the review and the suggestion. The document is updated accordingly. The explanation for |
4de5ad8 to
3fe23a9
Compare
|
@yuwata could this be backported to v247/v248? The removing of foreign routing rules breaks AWS-CNI aws/amazon-vpc-cni-k8s#1600 |
|
@yuwata Legendary! Thanks for the swift actions! |
|
@hligit The backporting PRs are merged. |
|
Ugh... Will fix soon. Thank you. |
|
Backports: |
The commit 0b81225 makes that networkd remove all foreign rules except those with "proto kernel".
But, in some situation, people may want to manage routing policy rules with other tools, e.g. 'ip' command. To support such the situation, this introduce ManageForeignRoutingPolicyRules= boolean setting.
Closes #19106.