Package: tiger
Version: 1:3.2.3-10
Severity: normal
Tags: patch

On a 3.x kernel, the check for promiscuous mode in check_known leads to this 
cron error:

  To: root@hostname
  Subject: Cron <root@hostname>    test -x /usr/sbin/tigercron && { [ -r 
"$DEFAULT" ] && . "$DEFAULT" ;
        nocache ionice -c3 nice -n$NICETIGER /usr/sbin/tigercron -q ; }

  /usr/lib/tiger/scripts/check_known: 129: [: Illegal number: 8-1-amd64

I have attached a patch to remove the broken check. It's not really needed 
anymore given that sid only has 3.x kernels.

Francois

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

Kernel: Linux 3.8-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_CA.utf8, LC_CTYPE=fr_CA.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages tiger depends on:
ii  binutils               2.22-8
ii  bsdmainutils           9.0.5
ii  debconf [debconf-2.0]  1.5.50
ii  libc6                  2.17-2
ii  net-tools              1.60-25
ii  ucf                    3.0025+nmu3

Versions of packages tiger recommends:
ii  chkrootkit                      0.49-4.1
pn  john                            <none>
ii  postfix [mail-transport-agent]  2.10.0-3
pn  tripwire | aide                 <none>

Versions of packages tiger suggests:
ii  lsof  4.86+dfsg-1

-- Configuration Files:
/etc/cron.d/tiger changed [not included]
/etc/tiger/tigerrc changed [not included]

-- debconf information:
* tiger/mail_rcpt: root
  tiger/remove_mess: true
* tiger/policy_adapt:

-- debsums errors found:
debsums: changed file /usr/lib/tiger/scripts/check_known (from tiger package)
--- /usr/lib/tiger/scripts/check_known.orig	2013-05-15 08:58:30.462683842 +1200
+++ /usr/lib/tiger/scripts/check_known	2013-05-15 08:58:50.963199121 +1200
@@ -125,8 +125,7 @@
      # (maybe should be moved to systems/Linux/2/check_known)
      [ ! -x "$IP" -o "$OS" != "Linux" ] && message INFO kisXXX "" "Using $IFCONFIG instead of $IP, promiscuous mode detection incomplete. Installing $IP adds libpcap/libnet-based sniffer detection capabilities."
 
-     VER=`echo $REV | $CUT -f 2 -d .`
-     if [ -x "$IP" -a $VER -ge 4 ] 
+     if [ -x "$IP" ] 
      then
          echo "# Testing for promiscuous interfaces with $IP"
          $IP link show |

Reply via email to