Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jun 2014 20:39:29 +0200
From:      Michael Grimm <trashcan@odo.in-berlin.de>
To:        freebsd-ports@freebsd.org
Subject:   Re: r356789 breaks rkhunter
Message-ID:  <30333BB9-1893-40CB-8321-AA93D9414CC4@odo.in-berlin.de>
In-Reply-To: <alpine.BSF.2.11.1406251334460.975@Ace.nina.org>
References:  <alpine.BSF.2.00.1406081021180.975@Ace.nina.org> <alpine.BSF.2.00.1406090754520.975@Ace.nina.org> <2F7E7AC6-96DC-4492-8EEB-BD413D9FB80C@odo.in-berlin.de> <alpine.BSF.2.11.1406251334460.975@Ace.nina.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 25.06.2014, at 19:53, Frank Seltzer <frank_s@bellsouth.net> wrote:
> On Wed, 25 Jun 2014, Michael Grimm wrote:
>> On 09.06.2014, at 14:00, Frank Seltzer <frank_s@bellsouth.net> wrote:
>>> On Sun, 8 Jun 2014, Frank Seltzer wrote:

>>>> I just upgraded rkhunter and the installer splatted the sample file =
over my .conf file.
>>>>=20
>>>> Running 'rkhunter --propupd' now quits with the error message
>>>>=20
>>>> The SCRIPTDIR configuration option has not been set by the =
installer.
>>>=20
>>> Some additional info.  I ran rkhunter -C on the default .conf file.
>>>=20
>>> -C Check the configuration file(s), then exit
>>>=20
>>> The SCRIPTDIR configuration option has not been set by the =
installer.
>>> Invalid INSTALLDIR configuration option - no installation directory =
specified.
>>> The default temporary directory will be used: /lib/rkhunter/tmp
>>> Temporary directory does not exist: /lib/rkhunter/tmp
>>> The default database directory will be used: /lib/rkhunter/db
>>> Database directory does not exist: /lib/rkhunter/db
>>> The internationalisation directory does not exist: =
/lib/rkhunter/db/i18n
>>> Invalid SCRIPTWHITELIST configuration option: Non-existent pathname: =
/usr/local/bin/GET
>>=20
>> Same issue here. Could you solve it? If so, how?
>=20
> I had to create all the missing directories and add =
INSTALLDIR=3D/usr/local to the .conf file.

Thanks and JFTR:

1. created /usr/local/etc/rkhunter.conf.local and added (copied from the =
1.4.0 version config file):
	INSTALLDIR=3D/usr/local
	DBDIR=3D/usr/local/var/lib/rkhunter/db
	TMPDIR=3D/usr/local/var/lib/rkhunter/tmp
	SCRIPTDIR=3D/usr/local/lib/rkhunter/scripts
	USER_FILEPROP_FILES_DIRS=3D/usr/local/etc/rkhunter.conf

   Didn't need to create those directories, though.

2. Needed to decativate in /usr/local/etc/rkhunter.conf:
	#SCRIPTWHITELIST=3D/usr/local/bin/GET=20
	#SCRIPTWHITELIST=3D/usr/local/sbin/pkgdb=20

> Took me a bit and some head scratching to figure it out.

Thanks again.

Regards,
Michael





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?30333BB9-1893-40CB-8321-AA93D9414CC4>