upon systemctl enable fail2ban
systemd[1]: /lib/systemd/system/fail2ban.service:12: PIDFile= references path below legacy directory /var/run/, updating /var/run/fail2ban/fail2ban.pid → /run/fail2ban/fail2ban.pid; please update the unit file accordingly.
shows up in the logs. both files exist
no warning
warning
uname -r
is 5.0.15-1-pve
(proxmox 6.0.4)
Fixed in d5a5efcd5af272372153e86436d7c8cde2ddf66d.
Thanks!
Hello, @sebres sorry for bumping this, but i got this error:
systemd[1]: /lib/systemd/system/fail2ban.service:12: PIDFile= references path below legacy directory /var/run/, updating /var/run/fail2ban/fail2ban.pid → /run/fail2ban/fail2ban.pid; please update the unit file accordingly.
On Raspberry Pi 4 with Raspbian 10 buster, 4.19.93-v7l+. "apt info fail2ban" shows:
Package: fail2ban
Version: 0.10.2-2.1
Priority: optional
Section: net
...
APT-Manual-Installed: yes
APT-Sources: http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
You can do something about this, or i should ask somewhere else?
This is not an error (rather a warning)...
Should be updated by next release... If you want to update it right now by yourself:
fail2ban.service
like in the fix d5a5efcd5af272372153e86436d7c8cde2ddf66dsystemctl daemon-reload
and by next start you'd not see that anymore.
You could also search in /etc/fail2ban
for /var/run/
and replace all occurrences with /run/
.
Most helpful comment
This is not an error (rather a warning)...
Should be updated by next release... If you want to update it right now by yourself:
fail2ban.service
like in the fix d5a5efcd5af272372153e86436d7c8cde2ddf66dsystemctl daemon-reload
and by next start you'd not see that anymore.
You could also search in
/etc/fail2ban
for/var/run/
and replace all occurrences with/run/
.