YunoHost / issues

General issue tracker for the YunoHost project
71 stars 8 forks source link

Bookworm: fail2ban throws « 'allowipv6' not defined in 'Definition' » during app installs #2317

Open alexAubin opened 5 months ago

alexAubin commented 5 months ago

cf for example nextcloud install leading to:

152489 INFO [##################+.] > Configuring Fail2Ban...
184533 WARNING (this may take some time)
455986 WARNING The service fail2ban didn't fully executed the action reload-or-restart before the timeout.
456001 WARNING Please find here an extract of the end of the log of the service fail2ban:
456032 WARNING Sep 12 04:19:44 systemd[1]: Stopped fail2ban.service - Fail2Ban Service.
456032 WARNING Sep 12 04:19:44 systemd[1]: fail2ban.service: Consumed 2.484s CPU time.
456032 WARNING Sep 12 04:21:37 systemd[1]: Started fail2ban.service - Fail2Ban Service.
456032 WARNING Sep 12 04:21:37 fail2ban-server[148]: 2023-09-12 04:21:37,606 fail2ban.configreader   [148]: WARNING 'allowipv6' not defined in 'Definition'. Using default one: 'auto'
456032 WARNING Sep 12 04:21:38 fail2ban-server[148]: Server ready
456032 WARNING Sep 12 04:21:38 systemd[1]: Stopping fail2ban.service - Fail2Ban Service...
456033 WARNING Sep 12 04:21:39 fail2ban-client[617]: Shutdown successful
456033 WARNING Sep 12 04:21:39 systemd[1]: fail2ban.service: Deactivated successfully.
456033 WARNING Sep 12 04:21:39 systemd[1]: Stopped fail2ban.service - Fail2Ban Service.
456033 WARNING Sep 12 04:21:39 systemd[1]: Started fail2ban.service - Fail2Ban Service.
456034 WARNING Sep 12 04:21:39 fail2ban-server[842]: 2023-09-12 04:21:39,414 fail2ban.configreader   [842]: WARNING 'allowipv6' not defined in 'Definition'. Using default one: 'auto'
456034 WARNING Sep 12 04:21:39 fail2ban-server[842]: Server ready
456034 WARNING Sep 12 04:22:33 systemd[1]: Reloading fail2ban.service - Fail2Ban Service...
456034 WARNING Sep 12 04:22:33 fail2ban-client[10155]: 2023-09-12 04:22:33,342 fail2ban.configreader   [10155]: WARNING 'allowipv6' not defined in 'Definition'. Using default one: 'auto'
456034 WARNING Sep 12 04:22:33 fail2ban-client[10155]: OK
456035 WARNING Sep 12 04:22:33 systemd[1]: Reloaded fail2ban.service - Fail2Ban Service.
456035 WARNING Sep 12 04:25:19 systemd[1]: Reloading fail2ban.service - Fail2Ban Service...
456036 WARNING Sep 12 04:25:19 fail2ban-client[33813]: 2023-09-12 04:25:19,540 fail2ban.configreader   [33813]: WARNING 'allowipv6' not defined in 'Definition'. Using default one: 'auto'
456036 WARNING Sep 12 04:25:19 fail2ban-client[33813]: OK
456036 WARNING Sep 12 04:25:19 systemd[1]: Reloaded fail2ban.service - Fail2Ban Service.
alexAubin commented 4 months ago

So it's somewhat "fixed" because the actual issue was https://github.com/YunoHost/yunohost/commit/d9daf111e6bad82d8b759be04c25a0ba2884f245 , but the warning is still there and it's not 100% clear to me what the hell is "allowipv6" about exactly ...