the chkrootkit script sets STRINGS near the top
to /usr/sbin/strings-static
BUT, later down in the script it does NOT
use that variable, but rather calls as
"./strings-static" which will break whenever
the script does not start in /usr/sbin
Appears someone half fixed the problem.
Reproducible: Always
Steps to Reproduce:
1.start chkrootkit in directory other than /usr/sbin
2.
3.
Actual Results:
reports failure to find strings-static
Expected Results:
used the STRINGS variable that someone setup
for chkrootkit so it can find /usr/sbin/strings-static
Gentoo Base System version 1.4.16
Portage 2.0.50-r8 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0,
2.6.3-gentoo-r1)
=================================================================
System uname: 2.6.3-gentoo-r1 i686 AMD Athlon(tm) XP 2200+
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /etc/tomcat /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://cudlug.cudenver.edu/gentoo/
ftp://gentoo.mirrors.pair.com/ http://adelie.polymtl.ca/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa apm arts avi berkdb bonobo cdr crypt cups curl directfb
doc encode esd foomaticdb freetds gb gd gdbm gif gnome gphoto2 gpm gtk gtk2
gtkhtml guile imap imlib java jikes jpeg junit libg++ libwww mad maildir mikmod
motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png
postgres ppds python qt quicktime readline ruby samba sasl scanner sdl slang
spell ssl svga tcltk tcpd tetex tiff truetype usb wavelan wxwindows x86 xml xml2
xmms xv zlib"