Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix fail2ban helper for non-/var/log/$app paths #2024

Merged
merged 2 commits into from
Jan 9, 2025
Merged

Conversation

Salamandar
Copy link
Contributor

The fail2ban logpath isn't always /var/log/$app/*.log. It could be /var/log/syslog.
Also, it overwrites the possibly already existing permission (that could allow the group to write in $logdir).

This PR reduces this behaviour to logdir creation.

@Salamandar Salamandar requested a review from alexAubin January 9, 2025 16:32
@alexAubin alexAubin merged commit 9fcc09a into dev Jan 9, 2025
5 checks passed
@alexAubin alexAubin deleted the fail2banhelper branch January 9, 2025 20:35
Josue-T added a commit to YunoHost-Apps/synapse_ynh that referenced this pull request Jan 15, 2025
Josue-T added a commit to YunoHost-Apps/seafile_ynh that referenced this pull request Jan 15, 2025
@Josue-T Josue-T mentioned this pull request Jan 15, 2025
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants