-
Notifications
You must be signed in to change notification settings - Fork 17
When enabling or disabling a jail via the UI, the reload fails #104
Copy link
Copy link
Open
Labels
questionFurther information is requestedFurther information is requested
Description
I’m encountering a consistent reload failure in Docker (Unraid environment).
When enabling or disabling a jail via the UI, the reload fails and I get this error:
ERROR NOK: ('Failed to change log target',) Failed to change log target
However, running reload manually works perfectly:
docker exec -it fail2ban fail2ban-client reload
Returns: OK
Environment
- Unraid OS (Slackware-based)
- Docker
- Host networking
- Config mounted at
/config - File-based logtarget:
/config/log/fail2ban/fail2ban.log
What I verified
logtargetis defined only once infail2ban.conf- No overrides in
jail.localorjail.d - The log file exists and has correct permissions
- UI database does not store or override logtarget
- Runtime logtarget matches config
fail2ban-client get logtarget - Manual reload succeeds consistently
- Only UI-triggered jail operations fail
The failure only occurs when the reload is initiated via the UI during jail enable/disable.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested