Bug 452941 - Error on running chkrootkit -q (find: WARNING: Hard link count is wrong for /proc:)
Error on running chkrootkit -q (find: WARNING: Hard link count is wrong for /...
Product: Fedora
Classification: Fedora
Component: chkrootkit (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Michael Schwendt
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2008-06-26 01:06 EDT by Stefan Jensen
Modified: 2008-06-26 06:53 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-06-26 06:53:37 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Stefan Jensen 2008-06-26 01:06:58 EDT
Description of problem:

running "chkrootkit" without options runs fine.
running "chkrootkit -q" (eg: from cron or shell) produces errrors.

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


How reproducible:


Steps to Reproduce:
1. install chkrootkit
2. run "chkrootkit -q" from shell  
Actual results:

error are printed out when running with "-q":

find: WARNING: Hard link count is wrong for /proc: this may be a bug in your
filesystem driver.  Automatically turning on find's -noleaf option.  Earlier
results may have failed to include directories that should have been searched.

Expected results:

no errors, as running without "-q" to suppress output.

Additional info:

"alias find='fin
d -noleaf'" in .bashrc doesn't help.
Comment 1 Michael Schwendt 2008-06-26 06:53:37 EDT
As the message says, it is a kernel bug. It is

  find /proc >/dev/null

which gives this warning, too, whenever it is reproducible.
It is not specific to chkrootkit.
-q means "quiet" and has nothing to do with this.

It is being worked on by the upstream kernel developers, I think.

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