Skip to content
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

al2023: Remove duplicate logrotate entries #1777

Merged
merged 1 commit into from
Apr 30, 2024
Merged

Conversation

cartermckinnon
Copy link
Member

Description of changes:

AL2023 includes logrotate dropin config files for btmp and wtmp that conflict with our defaults. This removes the entries from our config in favor of the ones provided by the base OS.

> cat /etc/logrotate.d/btmp 

# no packages own btmp -- we'll rotate it here
/var/log/btmp {
    missingok
    monthly
    create 0660 root utmp
    rotate 1
}

> cat /etc/logrotate.d/wtmp 

# no packages own wtmp -- we'll rotate it here
/var/log/wtmp {
    missingok
    monthly
    create 0664 root utmp
    minsize 1M
    rotate 1
}

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@cartermckinnon cartermckinnon merged commit 9364353 into main Apr 30, 2024
8 of 10 checks passed
@cartermckinnon cartermckinnon deleted the logrotate-fix branch April 30, 2024 17:37
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.

None yet

2 participants