Dear Maintainer,
I've installed and configured Shorewall6 (5.2.3.4-1) on a Debian bullseye
using sysvinit.
However, when starting the service using the provided /etc/init.d/shorewall6
script (i.e., running "/etc/init.d/shorewall6 start"), I got this error:
/etc/init.d/shorewall6: 20: test: /sbin/shorewall: unexpected operator
and Shorewall6 did not start.
This is due to a bug on line 15 of this script: the Shorewall6 executable
is defined as
SRWL='/sbin/shorewall -6'
and then its availability is tested on line 20 with
test -x $SRWL || exit 0
which will indeed fail with the error reported above.
This was fixed upstream in the following commit:
https://gitlab.com/shorewall/code/-/commit/b7f2d1b22e42a67f75de475b28ad04d9dca81bf8
Would it be possible to cherry-pick this commit into the versions packaged
in Debian, please?
Thank you very much in advance!
Glop