You are here
Key Turner - Sun, 2019/03/31 - 12:57
So after removing fail2ban (the VM host takes care of this in my setup), I have been greeted with
/etc/cron.daily/logrotate: logrotate_script: 2: logrotate_script: fail2ban-client: not foundManual removal of fail2ban from /etc/logrotate.d required.
error: error running non-shared postrotate script for /var/log/fail2ban.log of /var/log/fail2ban.log run-parts: /etc/cron.daily/logrotate exited with return code 1
Forum:
Not quite sure what to do with this one.
Thanks again for reporting this. Although I'm not really sure what to do with this. Whilst it could reasonably be considered a bug in your circumstance, I'm not 100% sure.
Perhaps for starters it's worth getting an understanding of how you removed fail2ban? I'm assuming that you used apt right? E.g. something like this:
Under normal circumstance I would expect the package management to remove that file too, and so perhaps it's a bug within the package management scripts. Another thing is that when you use "remove" that intentionally leaves some config files behind (so it doesn't require reconfiguration if you reinstall it), so perhaps it's better to use purge (which will remove all config)?:
Just Curious - why did you remove fail2ban Key?
Hi @Key Turner...just Curious - why did you remove fail2ban? Not challenging your decision...just curious about the reason :-)
Cheers,
Tim (Managing Director - OnePressTech)
Add new comment