Upstream fix here:
https://github.com/arno-iptables-firewall/aif/commit/d145f9b665ae3573055470cd45c750e63e7bebf6
On 12-04-2020 21:05, Julia Longtin wrote:
Package: arno-iptables-firewall
Version: 2.1.0-2
Severity: normal
Tags: patch upstream
Dear Maintainer,
90-rpc.plugin does not see carriage return as a line break when running rpcinfo -p |awk
"/tcp.*$service/"' { print $4 }' |uniq
this causes arno to fail to start if you have NFS services, and have turned
this plugin on.
--- 90rpc.plugin~ 2020-01-03 10:38:03.000000000 +0000
+++ 90rpc.plugin 2020-04-10 20:34:11.124131255 +0100
@@ -38,7 +38,7 @@
echo "${INDENT}Enabling RPC service(s) $RPC_SERVICES for net(s) $RPC_NETS"
- IFS=' ,'
+ IFS=$" ,\n"
for service in $RPC_SERVICES; do
ports="$(rpcinfo -p |awk "/tcp.*$service/"' { print $4 }' |uniq)"
echo "${INDENT}Adding TCP ports $ports for RPC service $service"
fixes it.
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 5.4.0-2-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages arno-iptables-firewall depends on:
ii debconf [debconf-2.0] 1.5.73
ii iproute2 5.6.0-1
ii iptables 1.8.4-3
ii kmod 27-2
ii procps 2:3.3.16-4
Versions of packages arno-iptables-firewall recommends:
ii bind9-dnsutils [dnsutils] 1:9.16.1-2
ii curl 7.68.0-1
ii dnsutils 1:9.16.1-2
ii rsyslog 8.2002.0-2
arno-iptables-firewall suggests no packages.
-- Configuration Files:
/etc/arno-iptables-firewall/plugins/rpc.conf changed:
ENABLED=1
RPC_SERVICES="portmapper status statd nfs mountd nlockmgr"
RPC_NETS="10.0.2.0/24"
-- debconf information excluded
-- debsums errors found:
debsums: changed file /usr/share/arno-iptables-firewall/plugins/90rpc.plugin
(from arno-iptables-firewall package)