Bugzilla (bugzilla.redhat.com) will be under maintenance for infrastructure upgrades and will not be available on July 31st between 12:30 AM - 05:30 AM UTC. We appreciate your understanding and patience. You can follow status.redhat.com for details.
Bug 228219 - chklastlog points to /var/adm/lastlog
Summary: chklastlog points to /var/adm/lastlog
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: chkrootkit
Version: 6
Hardware: All
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: 2007-02-11 20:08 UTC by Need Real Name
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-02-11 21:38:21 UTC
Type: ---


Attachments (Terms of Use)

Description Need Real Name 2007-02-11 20:08:14 UTC
Description of problem:

Running '/usr/lib/chkrootkit-0.47/chklastlog' returns the error message:
    unable to open lastlog-file /var/adm/lastlog

The problem is that on Fedora Core systems, the location for lastlog is:
/var/log/lastlog.

Comment 1 Michael Schwendt 2007-02-11 21:06:30 UTC
If you run chkrootkit tools manually, give them proper parameters.


Comment 2 Need Real Name 2007-02-11 21:15:28 UTC
What are the "proper parameters"?(In reply to comment #1)
> If you run chkrootkit tools manually, give them proper parameters.
> 

What are the "proper parameters"?

There is no man page and the README.chklastlog doesn't mention any parameters...


Comment 3 Michael Schwendt 2007-02-11 21:38:21 UTC
chklastlog -l /var/log/lastlog -f /var/log/wtmp

Look, this is a tool used by chkrootkit that is not even in standard
path. So when you run it manually, it can be expected that you become
familiar with it first. chkrootkit runs it, too.

Please report the inaccurate README and the missing manual upstream
at http://www.chkrootkit.org and keep this bug closed. I've patched
chkrootkit for Fedora 7 to default to these two paths. But it is
more important to get such changes into upstream chkrootkit.



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