rkhunter: "find: /dev/fd/3/* No such file or directory" error

Mel fbsd.questions at rachie.is-a-geek.net
Sat Feb 2 05:43:04 PST 2008


On Saturday 02 February 2008 14:08:52 Colin Brace wrote:
> Hi all,
>
> Lately I have been seeing a lot of errors generated when I run
> rkhunter on a daily basis by cron:
>
> find: /dev/fd/3/sendmail.st: No such file or directory
> find: /dev/fd/3/userlog: No such file or directory
> find: /dev/fd/3/lastlog: No such file or directory
> [...]
>
> I am afraid I don't know quite enough about the BSD filesystem to know
> what dev/fd/3 is.

/dev/fd/0-2 = stdin/out/err, 3 is an open file somewhere on your system. 
Logically, the first file opened by the first process after boot up, but of 
course, this isn't always the case.

Looks more like a bug in rkhunter. For some reason it thinks fd 3 is /var/log.

-- 
Mel


More information about the freebsd-questions mailing list