Sometimes (for the LinuxPolicy), excuses don't have enough information when they are processed. They need to defer some of their work until another excuse has been evaluated and then perhaps get invalidated. Introduce the concept of "external invalidation" to deal with this. A policy can keep references to other excuses around, and then invalidate them later (when processing another one). The excuse finder needs to know this happened to remove the excuse from the list of "actionable excuses". For example. The Linux policy invalidates linux-foo if linux-meta-foo is invalid. If linux-foo is encountered first, we will not yet know if linux-meta-foo is going to be invalid. We effectively defer the evaluation until after linux-meta-foo has been dealt with, and then we know whether we need to invalidate linux-foo or not.ubuntu/dry-run
parent
d2dbdadf1f
commit
5b5c99e401
Loading…
Reference in new issue