Skip to content

Conversation

@lodener
Copy link
Contributor

@lodener lodener commented Sep 1, 2025

Description

Due to the presence of apparmor in the noble stemcell, PR #212 was merged to update apparmor's rsyslogd profile. When using that commit as the base for our syslog-release, we ran into an issue where apparmor had already started before the pre-start script finished, preventing it from making use of the added syslog_forwarder config. This PR adds a call to apparmor_parser to parse the rsyslogd profile after copying over the new config.

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

Copy link

@chombium chombium left a comment

Choose a reason for hiding this comment

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

LGTM!

@lodener Thank you very much for the fix.

@github-project-automation github-project-automation bot moved this from Inbox to Pending Merge | Prioritized in Foundational Infrastructure Working Group Sep 1, 2025
@chombium chombium merged commit e5475d0 into cloudfoundry:main Sep 1, 2025
1 check passed
@github-project-automation github-project-automation bot moved this from Pending Merge | Prioritized to Done in Foundational Infrastructure Working Group Sep 1, 2025
@lodener lodener mentioned this pull request Sep 4, 2025
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

2 participants