ctc-oss / fapolicy-analyzer

Tools to assist with the configuration and management of fapolicyd.
https://ctc-oss.github.io/fapolicy-analyzer
GNU General Public License v3.0
12 stars 5 forks source link

Ancillary Trust not reloaded after deployment rollback #827

Closed dorschs57 closed 1 year ago

dorschs57 commented 1 year ago

If the Keep Changes countdown after a deployment is allowed to expire and trigger a rollback, the Ancillary Trust is not reloaded correctly in the view. If I start with an empty Ancillary Trust and add one trusted file then after rollback the list is empty and the status shows 0% loaded. If I start with files in the Ancillary Trust and add one more trusted file then after rollback the list shows the previously trusted files only. In both cases, if I select Trust from the Tool menu so the screen reloads the Ancillary Trust view reloads with the added file displayed.

To reproduce:

  1. Add a trusted file to the Ancillary Trust
  2. Deploy
  3. Allow the Keep Changes countdown to expire and rollback
  4. The Ancillary Trust view is not updated properly
  5. Select the Tool->Trust menu
  6. The Ancillary Trust view refreshes with the correct files displayed
dorschs57 commented 1 year ago

Confirmed the same issue happens if you just click No on the Keep Changes dialog instead of waiting for the timeout.

jw3 commented 1 year ago

Possibly related to #736?