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

When /usr/sbin/tigercron is run with the -q option, as in the default cron
configuration, and no configuration files exist for the current OS, the
default alternative misbehaves by failing to set the CONFIG_DIR parameter,
resulting in the error:

  .: 1: Can't open /config

The attached patch for /usr/lib/tiger/config corrects this problem.


-- System Information:
Debian Release: 6.0.2
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.0.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages tiger depends on:
ii  binutils              2.21.53.20110720-1 The GNU assembler, linker and bina
ii  bsdmainutils          8.0.13             collection of more utilities from 
ii  debconf [debconf-2.0] 1.5.36.1           Debian configuration management sy
ii  libc6                 2.13-10            Embedded GNU C Library: Shared lib
ii  net-tools             1.60-23            The NET-3 networking toolkit
ii  ucf                   3.0025+nmu1        Update Configuration File: preserv

Versions of packages tiger recommends:
ii  chkrootkit               0.49-4          rootkit detector
ii  exim4-daemon-light [mail 4.72-6+squeeze2 lightweight Exim MTA (v4) daemon
pn  john                     <none>          (no description available)

Versions of packages tiger suggests:
ii  lsof                       4.81.dfsg.1-1 List open files

-- Configuration Files:
/etc/tiger/tigerrc [Errno 13] Permission denied: u'/etc/tiger/tigerrc'

-- debconf information excluded
--- config.orig 2011-02-25 16:56:59.000000000 -0800
+++ config      2011-07-25 15:19:43.000000000 -0700
@@ -357,8 +357,8 @@
     [ "$QUIET" != "Y" ] &&  {
     echo "--CONFIG-- [con007c] No configuration files for $OS.  Using default"
     echo "           configuration files.  Not all checks may be performed."
-    CONFIG_DIR="$CONFIG_LOC/default"
     }
+    CONFIG_DIR="$CONFIG_LOC/default"
   else
     echo "--ERROR-- [con008e] No configuration files for $OS $REV and can't 
find the"
     echo "          default configuration files.  Terminating."

Reply via email to