Skip to content

force rebuilding apparmor cache fix#245

Merged
chombium merged 1 commit into
cloudfoundry:mainfrom
AttilaAlmasi:apparmor_fix
Jun 12, 2026
Merged

force rebuilding apparmor cache fix#245
chombium merged 1 commit into
cloudfoundry:mainfrom
AttilaAlmasi:apparmor_fix

Conversation

@AttilaAlmasi

@AttilaAlmasi AttilaAlmasi commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Description

AppArmor favors reading of cached rules instead of newly created files as it want to speed up restarts. This change forces skipping of reading cache when reloading the configuration and it writes the updated configuration to the cache for further restarts. This make the loading of the custom Syslog rules load properly.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Testing performed?

  • Unit tests
  • Integration tests
  • Acceptance tests

Checklist:

  • This PR is being made against the main branch, or relevant version branch
  • I have made corresponding changes to the documentation
  • I have added testing for my changes

If you have any questions, or want to get attention for a PR or issue please reach out on the #logging-and-metrics channel in the cloudfoundry slack

@chombium chombium left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix @AttilaAlmasi

LGTM!

@chombium chombium merged commit 1818dbe into cloudfoundry:main Jun 12, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants