-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: resolve duplicate rsyslog entries for Azure Linux #4588
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pull Request Test Coverage Report for Build 9784181482Details
💛 - Coveralls |
Pull Request Test Coverage Report for Build 9784192610Details
💛 - Coveralls |
Pull Request Test Coverage Report for Build 9786964606Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
9a4d84f
to
abcc3b8
Compare
Pull Request Test Coverage Report for Build 9811824468Details
💛 - Coveralls |
abcc3b8
to
baef5cd
Compare
Pull Request Test Coverage Report for Build 9813113656Details
💛 - Coveralls |
dallasd1
approved these changes
Jul 8, 2024
lgtm pending green abe2e run |
Pull Request Test Coverage Report for Build 9879732586Details
💛 - Coveralls |
@cameronmeissner all checks including AgentBaker E2E has passed. |
cameronmeissner
approved these changes
Jul 10, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What type of PR is this?
What this PR does / why we need it:
This PR aims to fix the issue of duplicate entries in /var/log/messages file in Azure Linux AKS.
The default rsyslog configuration file (/etc/rsyslog.conf) in Azure Linux contains the following setting:
*.*,auth,authpriv,mail,cron.none -/var/log/messages
The 60-CIS.conf file provided by AgentBaker contains the following setting:
*.*;mail.none;news.none -/var/log/messages
The duplicate specification of
*.*
is the reason why logs are written twice into /var/log/messages. The default setting in Azure Linux cannot be modified as that will affect the standard Azure Linux images and thus this PR makes the fix in the AgentBaker repo to not apply*.*
twice for Azure Linux AKS container host.Bug link: https://microsoft.visualstudio.com/OS/_workitems/edit/50154304/
Which issue(s) this PR fixes:
Fixes #
Requirements:
Special notes for your reviewer:
Release note: