Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Rkhunter now showing Warnings for two files: /bin/egrep & fgrep
Date: Mon, 26 Jan 2015 22:54:08
Message-Id: 20150126225353.0e532378@digimed.co.uk
In Reply to: Re: [gentoo-user] Rkhunter now showing Warnings for two files: /bin/egrep & fgrep by Alec Ten Harmsel
1 On Mon, 26 Jan 2015 11:27:05 -0500, Alec Ten Harmsel wrote:
2
3 > >> # grep Warning /var/log/rkhunter.log
4 > >> [03:10:32] Info: Emailing warnings to 'root' using command
5 > >> '/bin/mail
6 > > -s "[rkhunter] Warnings found for ${HOST_NAME}"'
7 > >> [03:10:45] /bin/egrep
8 > >> [ Warning ] [03:10:45] Warning: The command '/bin/egrep' has been
9 > >> replaced by a
10 > > script: /bin/egrep: POSIX shell script, ASCII text executable
11 > >> [03:10:45] /bin/fgrep
12 > >> [ Warning ] [03:10:45] Warning: The command '/bin/fgrep' has been
13 > >> replaced by a
14 > > script: /bin/fgrep: POSIX shell script, ASCII text executable
15 > >
16 > > Anyone know if this is due to something changing in Gentoo?
17
18 > Upstream changed egrep and fgrep from binaries to shell scripts.
19
20 This happened a while ago on testing portage but the version with the
21 change only hit stable at the weekend.
22
23 You can tell rkhunter to ignore them.
24
25 % grep grep /etc/rkhunter.conf.local
26 SCRIPTWHITELIST=/bin/egrep
27 SCRIPTWHITELIST=/bin/fgrep
28
29
30 --
31 Neil Bothwick
32
33 I work with User-Surly Software.

Replies