Bug#609629: Wrong paths in /etc/tct/paths.pl resulting in misleading error "cannot exec /bin/hostname: No such file or directory"

slimak at slimak.info slimak at slimak.info
Tue Jan 11 01:40:59 UTC 2011


Package: tct
Version: 1.19-1
Severity: important


Paths in "our stuff" section (starting with $FILE) lack /usr in front of
/bin (corrected values in file attached automatically by reportbug).
Due to this /bin/timeout command is not found, which leads to incorrect
error message while running graverobber.

Methinks, that bug should be corrected in two places

1. Packaging --- correct configuration file
2. Upstream --- better error reporting in case of wrongly defined tool paths.

Regrads
Jan Gorski

-- System Information:
Debian Release: 6.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 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 tct depends on:
ii  coreutils                     8.5-1      GNU core utilities
ii  file                          5.04-5     Determines file type using
"magic"
ii  libc6                         2.11.2-7   Embedded GNU C Library:
Shared lib
ii  libdate-manip-perl            6.11-1     module for manipulating dates

Versions of packages tct recommends:
ii  lsof                       4.81.dfsg.1-1 List open files

Versions of packages tct suggests:
ii  acct                          6.5.4-2.1  The GNU Accounting utilities
for p

-- Configuration Files:
/etc/tct/paths.pl changed:
$ACCTCOM="/bin/acctcom";
$ARP="/usr/sbin/arp";
$AT="/usr/bin/at";
$CAT="/bin/cat";
$CP="/bin/cp";
$CRONTAB="/usr/bin/crontab";
$DATE="/bin/date";
$DMESG="/bin/dmesg";
$DOMAINNAME="/bin/domainname";
$ECHO="/bin/echo";
$FIND="/usr/bin/find";
$FINGER="/usr/bin/finger";
$IFCONFIG="/sbin/ifconfig";
$IPCS="/usr/bin/ipcs";
$LAST="/usr/bin/last";
$LSOF="/usr/bin/lsof";
$MKDIR="/bin/mkdir";
$NETSTAT="/bin/netstat";
$PS="/bin/ps";
$PWD="/bin/pwd";
$RPCINFO="/usr/bin/rpcinfo";
$SHOWMOUNT="/sbin/showmount";
$STRINGS="/usr/bin/strings";
$SU="/bin/su";
$SYNC="/bin/sync";
$TEE="/usr/bin/tee";
$TOP="/usr/bin/top";
$UNAME="/bin/uname";
$UPTIME="/usr/bin/uptime";
$W="/usr/bin/w";
$WHO="/usr/bin/who";
$XAUTH="/usr/bin/xauth";
$XHOST="/usr/bin/xhost";
$YPCAT="/usr/bin/ypcat";
$EEPROM="/usr/sbin/eeprom";
$FORMAT="/etc/format";
$SHOWREV="/bin/showrev";
$NFSSTAT="/usr/sbin/nfsstat";
$SWAP="/etc/swap";
$PKGINFO="/bin/pkginfo";
$DEVINFO="/usr/sbin/devinfo";
$PSTAT="/usr/sbin/pstat";
$DPKG="/etc/dpkg";
$RPM="/usr/bin/rpm";
$KSYMS="/sbin/ksyms";
$LSMOD="/bin/lsmod";
$MODINFO="/sbin/modinfo";
$MODSTAT="/usr/bin/modstat";
$DF="/bin/df";
$FILE     = "/usr/bin/file";
$MD5      = "/usr/bin/md5sum";
$PCAT     = "/usr/bin/pcat";
$ICAT     = "/usr/bin/icat";
$ILS      = "/usr/bin/ils";
$LASTCOMM = "/usr/bin/lastcomm";
$MAJ_MIN  = "/usr/bin/major_minor";
$TIMEOUT  = "/usr/bin/timeout";








More information about the forensics-devel mailing list