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

Set default_zone and log_denied when firewalld is offline #317

Merged
merged 1 commit into from
Aug 24, 2023

Conversation

jameslikeslinux
Copy link
Contributor

Pull Request (PR) description

Change the exec resources that set default_zone and log_denied to fallback to the firewall-offline-cmd when firewalld is not running. This is useful, for example, in container environments or kickstart post-installs where the firewalld service can't be run but we still want these settings configured.

This Pull Request (PR) fixes the following issues

The bug this PR fixes does not have an associated issue.

Change the exec resources that set default_zone and log_denied to
fallback to the firewall-offline-cmd if firewalld is not running.
@jameslikeslinux
Copy link
Contributor Author

For what it's worth, my use case is building container images and you can see this change working at line 384 in this build log: https://gitlab.james.tl/nest/stage2/-/jobs/2349#L384

@jcpunk jcpunk added the enhancement New feature or request label Aug 24, 2023
@jcpunk jcpunk merged commit 5206bc1 into voxpupuli:master Aug 24, 2023
@jameslikeslinux jameslikeslinux deleted the fix-offline-exec branch March 18, 2024 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants