| Summary: | fail2ban could use a logrotate script | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Seemant Kulleen (RETIRED) <seemant> |
| Component: | Current packages | Assignee: | Gentoo Netmon project <netmon> |
| Status: | RESOLVED FIXED | ||
| Severity: | trivial | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
closing since i commited it yesterday, thanks. (In reply to comment #1) > closing since i commited it yesterday, thanks. > "/usr/local/bin/fail2ban-client" must be "/usr/bin/fail2ban-client" |
The official docs recommend adding a logrotate script /var/log/fail2ban.log { daily rotate 7 missingok compress postrotate /usr/local/bin/fail2ban-client reload 1>/dev/null || true endscript } it would be nice to add into the logrotate.d directory with the "logrotate" USE flag, in my opinion