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

Shorewall doesn't start after fail2ban install #6608

Closed
gsanchietti opened this issue Dec 3, 2021 · 4 comments
Closed

Shorewall doesn't start after fail2ban install #6608

gsanchietti opened this issue Dec 3, 2021 · 4 comments
Labels
bug A defect of the software verified All test cases were verified successfully

Comments

@gsanchietti
Copy link
Member

On a machine with asterisk installed, shorewall doesn't start after the machine reboot.
This affect only newly installed machines, not updated ones.

Steps to reproduce

  • install a new machine
  • install the PBX: yum install @nethserver-pbx
  • install fail2ban: yum install nethserver-fail2ban
  • reboot

Expected behavior

After the boot, shorewall should be up&running.

Actual behavior

Shorewall is stopped.

This is a regression caused by #6605

Components

nethserver-fail2ban-1.7.2-1.ns7.noarch


Thanks to @nrauso and @francio87

@gsanchietti gsanchietti added the bug A defect of the software label Dec 3, 2021
gsanchietti added a commit to NethServer/nethserver-fail2ban that referenced this issue Dec 3, 2021
If the ipset are not created, shorewall may fail at boot with:

  shorewall[989]: WARNING: Ipset f2b-asterisk-tcp does not exist /etc/shorewall/blrules (line 30)
  shorewall[989]: WARNING: Ipset f2b-asterisk-udp does not exist /etc/shorewall/blrules (line 31)

NethServer/dev#6608
@nethbot
Copy link
Member

nethbot commented Dec 3, 2021

in 7.9.2009/testing:

@gsanchietti
Copy link
Member Author

Test case
Check the issue is not reproducible

@gsanchietti gsanchietti added the testing Packages are available from testing repositories label Dec 3, 2021
@nrauso nrauso self-assigned this Dec 3, 2021
@nrauso
Copy link

nrauso commented Dec 3, 2021

Test case verified.
Now shorewall starts correctly at boot.

@nrauso nrauso removed their assignment Dec 3, 2021
@nrauso nrauso added verified All test cases were verified successfully and removed testing Packages are available from testing repositories labels Dec 3, 2021
@nethbot
Copy link
Member

nethbot commented Dec 3, 2021

in 7.9.2009/updates:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A defect of the software verified All test cases were verified successfully
Projects
None yet
Development

No branches or pull requests

3 participants