Red Hat Bugzilla – Bug 452941
Error on running chkrootkit -q (find: WARNING: Hard link count is wrong for /proc:)
Last modified: 2008-06-26 06:53:37 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):
Steps to Reproduce:
1. install chkrootkit
2. run "chkrootkit -q" from shell
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.
no errors, as running without "-q" to suppress output.
d -noleaf'" in .bashrc doesn't help.
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.