Package: tiger Version: 1:3.2.1-29 Severity: important Tags: patch *** Please type your report below this line *** Tiger relies (by default) on using the directory /var/run/tiger/work for it's temporary files. This directory is create by the package install scripts. However, if you're using the varrun filesystem for /var/run (as dapper seems to), then this directory disappears on reboot.
The simple solution is for tiger to attempt to recreate it if it's missing and only fail if it can't. I've attached a patch for the usr/lib/tiger/config script which will do just that. -- System Information: Debian Release: testing/unstable APT prefers dapper-updates APT policy: (500, 'dapper-updates'), (500, 'dapper-security'), (500, 'dapper') Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.15-22-amd64-k8 Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) Versions of packages tiger depends on: ii binutils 2.16.1cvs20060117-1ubuntu2 The GNU assembler, linker and bina ii coreutils [fi 5.93-5ubuntu4 The GNU core utilities ii debconf [debc 1.4.72ubuntu6 Debian configuration management system ii diff 2.8.1-11ubuntu3 File comparison utilities ii libc6 2.3.6-0ubuntu17 GNU C Library: Shared libraries and Timezone data ii net-tools 1.60-16ubuntu2 The NET-3 networking toolkit Versions of packages tiger recommends: ii chkrootkit 0.46a-2 Checks for signs of rootkits on the local system ii exim4-daemon-light 4.60-3ubuntu3 lightweight exim MTA (v4) daemon rc john 1.6-39 active password cracking tool -- debconf information: tiger/mail_rcpt: root tiger/remove_mess: true tiger/policy_adapt:
--- /usr/lib/tiger/config.orig 2006-05-12 14:49:15.000000000 +1000 +++ /usr/lib/tiger/config.patched 2006-05-12 14:51:03.000000000 +1000 @@ -285,8 +285,13 @@ # TODO: WORKDIR should be removed on exit if it is located in a temporary # directory if [ ! -d "$WORKDIR" ] ; then - echo "Configured working directory $WORKDIR does not exist" >&2 - exit 1 + if ! mkdir -p "$WORKDIR" > /dev/null 2>&1 ; then + echo "Configured working directory $WORKDIR does not exist and cannot be created" >&2 + exit 1 + elif [ "$QUIET" != "Y" ] ; then + echo "Creating working directory $WORKDIR" + echo + fi fi