From owner-freebsd-ports@FreeBSD.ORG Thu Jun 26 08:27:08 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 77402F00; Thu, 26 Jun 2014 08:27:08 +0000 (UTC) Received: from huppa.tuxaco.net (tuxaco.net [IPv6:2001:41d0:1:66c1::1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3D5912CDF; Thu, 26 Jun 2014 08:27:08 +0000 (UTC) Received: by huppa.tuxaco.net (Postfix, from userid 1001) id 4911A2282A; Thu, 26 Jun 2014 10:27:05 +0200 (CEST) Date: Thu, 26 Jun 2014 10:27:05 +0200 From: Philippe =?iso-8859-1?Q?Aud=E9oud?= To: Michael Grimm Subject: Re: r356789 breaks rkhunter Message-ID: <20140626082705.GA32839@tuxaco.net> References: <2F7E7AC6-96DC-4492-8EEB-BD413D9FB80C@odo.in-berlin.de> <30333BB9-1893-40CB-8321-AA93D9414CC4@odo.in-berlin.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <30333BB9-1893-40CB-8321-AA93D9414CC4@odo.in-berlin.de> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: sbz@FreeBSD.org, freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2014 08:27:08 -0000 On Wed, 25 Jun 2014, Michael Grimm wrote: > On 25.06.2014, at 19:53, Frank Seltzer wrote: > > On Wed, 25 Jun 2014, Michael Grimm wrote: > >> On 09.06.2014, at 14:00, Frank Seltzer wrote: > >>> On Sun, 8 Jun 2014, Frank Seltzer wrote: >=20 > >>>> 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 s= pecified. > >>> 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/i= 18n > >>> 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/l= ocal to the .conf file. >=20 > Thanks and JFTR: >=20 > 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 >=20 > Didn't need to create those directories, though. >=20 > 2. Needed to decativate in /usr/local/etc/rkhunter.conf: > #SCRIPTWHITELIST=3D/usr/local/bin/GET=20 > #SCRIPTWHITELIST=3D/usr/local/sbin/pkgdb=20 >=20 > > Took me a bit and some head scratching to figure it out. >=20 > Thanks again. >=20 > Regards, > Michael >=20 > Hello, Apparently, maintainer doesn't have time to read emails and have a look to this issue. If you have a solution to fix it, can you please send a bug report via bugzilla ? Someone else will take care of it. Regards, --=20 Philippe Aud=E9oud