Cgroup teardown logs expected rule misses as warnings #161
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
delete_cgroupunconditionally attempts its whole v4+v6 deletion list, and every rule that isn't present (fresh boot, repeated rebuilds, v6 rules on a v6-less network where the inserts were skipped) logsDelete-before-insert idempotency is fine; logging each expected miss at WARNING is not — it fires in batches on every service start, network change and settings apply, and buries real failures.
add_rulealready knows how to probe with-Cbefore inserting; deletions could do the same (probe, skip quietly when absent), or expected-miss deletions could log at debug.Same noise family as the import-side #158 (fixed in #159), remaining half of what a clean log needs.
🤖 Generated with Claude Code