Bug 166321 - chkrootkit script doesn't pass arguments to real executable
Summary: chkrootkit script doesn't pass arguments to real executable
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: chkrootkit
Version: 4
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Michael Schwendt
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-08-19 05:44 UTC by Jeremy C. Reed
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-08-19 14:00:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jeremy C. Reed 2005-08-19 05:44:33 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; NetBSD i386; en-US; rv:1.7.10) Gecko/20050721 Firefox/1.0.6

Description of problem:
Note my component above is wrong. The drop-down didn't provide my component. I installed it a couple times (on different Fedora Core 4 boxes) using yum from Red Hat repository. This bugzilla is taking me over ten minutes just to submit a simple bug fix. (And I do know bugzilla.) I assume others will give up before submitting a bug if it is this time consuming.

$ cat /usr/sbin/chkrootkit 
#! /bin/sh
cd /usr/lib/chkrootkit-0.45
./chkrootkit


Notice above last line is missing $*
Because of this bug command-line switches for chkrootkit are ignored.

Version-Release number of selected component (if applicable):
 chkrootkit-0.45-3

How reproducible:
Always

Steps to Reproduce:
1. Run "chkrootkit -l" and see it doesn't give you list of tests but actually
does the tests.
2.
3.
  

Actual Results:  It doesn't give you list of tests but actually
does the tests.

Expected Results:  $ /usr/lib/chkrootkit-0.45/chkrootkit -l
/usr/lib/chkrootkit-0.45/chkrootkit: tests: aliens asp bindshell lkm rexedcs sniffer w55808 wted scalper slapper z2 chkutmp amd basename biff chfn chsh cron date du dirname echo egrep env find fingerd gpm grep hdparm su ifconfig inetd inetdconf identd init killall ldsopreload login ls lsof mail mingetty netstat named passwd pidof pop2 pop3 ps pstree rpcinfo rlogind rshd slogin sendmail sshd syslogd tar tcpd tcpdump top telnetd timed traceroute vdir w write

Additional info:

Easy fix.

Or if you want it that way: Fix documentation.

Comment 1 Michael Schwendt 2005-08-19 14:00:43 UTC
chkrootkit-0.45-4.fc4 will fix this. Thanks for the report.


Note You need to log in before you can comment on or make changes to this bug.