Package: ferm
Version: 2.4-1
Severity: normal
Tags: patch

Hi,

with the latest updates iptables moved its binaries away from /sbin
to /usr/sbin/, keeping only compatibility smlinks in /sbin.
According to iptables' NEWS.Debian, these symlinks shall go away after
the Buster release cycle.

The attached patch updates ferm to also take /usr/sbin into consideration
when looking for the tools, independent of the $PATH setting.

Please consider including it in an update release of ferm.

Thanks form maintaining ferm in Debian
Peter


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.18.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages ferm depends on:
ii  debconf              1.5.69
ii  init-system-helpers  1.55
ii  iptables             1.8.1-2
ii  lsb-base             9.20170808
ii  perl                 5.26.2-7+b1

Versions of packages ferm recommends:
ii  libnet-dns-perl  1.17-1

ferm suggests no packages.

-- Configuration Files:
/etc/ferm/ferm.conf changed [not included]

-- debconf information:
* ferm/enable: yes
--- /usr/sbin/ferm      2017-04-02 21:05:10.000000000 +0200
+++ /usr/sbin/ferm      2018-11-01 08:12:13.341428059 +0100
@@ -788,7 +788,7 @@
 sub find_tool($) {
     my $name = shift;
     return $name if $option{test};
-    for my $path ('/sbin', split ':', $ENV{PATH}) {
+    for my $path ('/usr/sbin', '/sbin', split ':', $ENV{PATH}) {
         my $ret = "$path/$name";
         return $ret if -x $ret;
     }

Reply via email to