Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 193745

Summary: fail2ban could use a logrotate script
Product: Gentoo Linux Reporter: Seemant Kulleen (RETIRED) <seemant>
Component: Current packagesAssignee: Gentoo Netmon project <netmon>
Status: RESOLVED FIXED    
Severity: trivial    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Seemant Kulleen (RETIRED) gentoo-dev 2007-09-25 12:33:22 UTC
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
Comment 1 Raphael Marichez (Falco) (RETIRED) gentoo-dev 2007-09-26 14:41:27 UTC
closing since i commited it yesterday, thanks.
Comment 2 Hod 2007-11-20 12:52:36 UTC
(In reply to comment #1)
> closing since i commited it yesterday, thanks.
> 

 "/usr/local/bin/fail2ban-client" must be  "/usr/bin/fail2ban-client"