You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
There is no problem.
I'm attempting to triage the remaining custom tests in the Debian package and get what makes sense included upstream.
Describe the solution you'd like
If jail.local is not present, then suggest using it.
Required changes
If jail.local is not present, add a warning like:
ReportSuggestion ${TEST_NO} "Copy /etc/fail2ban/jail.conf to jail.local to prevent it being changed by updates."
Additional context
It might be a Debian specific path.
The text was updated successfully, but these errors were encountered:
I don't know that copyingjail.conf to jail.local is the ideal recommendation. IIUC, settings in jail.local override settings in jail.conf. So one could merely put your customizations in jail.local and ignore all of the extraneous text. Personal preference maybe.
@d4t4king putting your custom settings in the local file is the recommended way in README.Debian but indeed copying the main conffile in the local one is not and would surely be a mess to maintain. Let's update the message to reflect that.
The file jail.local is not specific to Debian as it is listed in the manual. So yes, it might be a good idea to check for it and provide a hint to use that as opposed to making adjustments directly in jail.conf.
So the suggestion could be "Create the file /etc/fail2ban/jail.local and include any of your customizations to override the settings from jail.conf (note: do not copy jail.conf)". This way it clearly specifies what to do and also to avoid make a copy of the original file.
@duck-rh As you are migrating the custom tests, will you make the relevant pull request?
Is your feature request related to a problem? Please describe.
There is no problem.
I'm attempting to triage the remaining custom tests in the Debian package and get what makes sense included upstream.
Describe the solution you'd like
If
jail.local
is not present, then suggest using it.Required changes
If
jail.local
is not present, add a warning like:Additional context
It might be a Debian specific path.
The text was updated successfully, but these errors were encountered: