Package: shorewall6
Version: 5.2.3.4-1
Severity: important
Tags: ipv6 patch upstream
X-Debbugs-Cc: gl0pg...@riseup.net

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

-- System Information:
Debian Release: 11.6
  APT prefers stable-security
  APT policy: (990, 'stable-security'), (990, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.0.0-0.deb11.6-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages shorewall6 depends on:
ii  debconf [debconf-2.0]    1.5.77
ii  iproute2                 5.10.0-4
ii  iptables                 1.8.7-1
ii  libio-socket-inet6-perl  2.72-2.1
ii  lsb-base                 11.1.0
ii  shorewall                5.2.3.4-1

shorewall6 recommends no packages.

shorewall6 suggests no packages.

-- Configuration Files:
/etc/shorewall6/conntrack [Errno 13] Permission denied: 
'/etc/shorewall6/conntrack'
/etc/shorewall6/params [Errno 13] Permission denied: '/etc/shorewall6/params'

-- debconf information excluded

Reply via email to