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

redmine:production.log is not rotated and grows indefinetly #1989

Open
evgeni opened this issue Nov 19, 2023 · 2 comments · Fixed by #2067
Open

redmine:production.log is not rotated and grows indefinetly #1989

evgeni opened this issue Nov 19, 2023 · 2 comments · Fixed by #2067
Assignees

Comments

@evgeni
Copy link
Member

evgeni commented Nov 19, 2023

type=AVC msg=audit(1700092800.224:574348): avc:  denied  { write } for  pid=2124627 comm="logrotate" name="production.log" dev="dm-0" ino=34805887 scontext=system_u:system_r:logrotate_t:s0 tcontext=system_u:object_r:usr_t:s0 tclass=file permissive=0

audit2allow creates:

allow logrotate_t usr_t:file write;

but I guess that file just shouldn't be usr_t but var_log_t or similar.

@evgeni
Copy link
Member Author

evgeni commented May 28, 2024

Re-opening, as now /var/log/messages was the offender, thanks rsyslog

@evgeni
Copy link
Member Author

evgeni commented Jun 27, 2024

probably rsyslog can just be dropped given we have journald.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To do
1 participant