- changed status to open
nftables Init failing
Issue #138
closed
Operating system: Debian 10.7 Buster SSHGuard version: 2.3.1-1 Firewall: nftables
When starting SSHGuard via systemd, I would get the following error and notice that the tables/sets/etc. were not being created in nftables:
sshg-fw-nft-sets: Could not initialize firewall
I reviewed the script that was run (/usr/lib/x86_64-linux-gnu/sshg-fw-nft-sets). If you remove the redirection to /dev/null on L20, the firewall initializes correctly and everything works great.
Comments (2)
-
-
- changed status to closed
No feedback from submitter; please re-open if more information becomes available.
- Log in to comment
Thanks for the report. Do you know why the redirect is failing? Any other error messages that show up?
Do you know what shell is used for your Debian release's /bin/sh? Is it bash, ash, or something else?