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

Logrotate for wtmp and btmp files. #8743

Merged
merged 11 commits into from
Sep 16, 2021
7 changes: 7 additions & 0 deletions files/image_config/logrotate/logrotate.d/btmp
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# no packages own btmp -- we'll rotate it here
/var/log/btmp {
missingok
size 100k
create 0660 root utmp
rotate 1
}
7 changes: 7 additions & 0 deletions files/image_config/logrotate/logrotate.d/wtmp
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# no packages own wtmp -- we'll rotate it here
/var/log/wtmp {
missingok
size 100k
create 0664 root utmp
rotate 1
}