Package: tiger
Version: 1:3.2.3-11
Severity: important
Tags: patch

Every day, I receive the following cron email:

  From: Cron Daemon <root@hostname>
  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/systems/Linux/2/deb_checkmd5sums: 168: 
/usr/lib/tiger/systems/Linux/2/deb_checkmd5sums: /usr/sbin/dpkg-divert: not 
found

The fix is simple: it turns out that this tiger script is looking for a binary 
(dpkg-divert)
which has moved from /usr/sbin/ to /usr/bin/.

A trivial patch is attached.

Francois

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

Kernel: Linux 3.11-2-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.24-2
ii  bsdmainutils           9.0.5
ii  debconf [debconf-2.0]  1.5.52
ii  libc6                  2.17-97
ii  net-tools              1.60-25
ii  ucf                    3.0027+nmu1

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

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

-- Configuration Files:
/etc/cron.d/tiger changed:
DEFAULT=/etc/default/tiger
NICETIGER=10
0 * * * *      root    test -x /usr/sbin/tigercron && { [ -r "$DEFAULT" ] && . 
"$DEFAULT" ; nocache ionice -c3 nice -n$NICETIGER /usr/sbin/tigercron -q ; }

-- debconf information:
* tiger/policy_adapt:
* tiger/mail_rcpt: root
  tiger/remove_mess: true
--- deb_checkmd5sums	2013-12-23 09:12:41.659238063 +1300
+++ deb_checkmd5sums.fixed	2013-12-23 09:13:14.008054527 +1300
@@ -165,7 +165,7 @@
 }
 done
 # check diversions
-/usr/sbin/dpkg-divert --list |
+/usr/bin/dpkg-divert --list |
 # extract the file diverted, the backup file and the diverter package
 $SED -e 's/diversion of \(\/.*\) to \(\/.*\) by \(.*\)$/\1;\2;\3/' \
      -e 's/local diversion of \(\/.*\) to \(\/.*\)$/\1;\2;LOCAL/' | {

Reply via email to