From owner-freebsd-ports@FreeBSD.ORG Wed Jun 25 18:39:42 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 0718AFE1 for ; Wed, 25 Jun 2014 18:39:42 +0000 (UTC) Received: from mx2.enfer-du-nord.net (mx2.enfer-du-nord.net [IPv6:2001:41d0:b:2cb:1:1:0: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 BFB652740 for ; Wed, 25 Jun 2014 18:39:41 +0000 (UTC) Received: from macbook.fritz.box (p5DDC1E20.dip0.t-ipconnect.de [93.220.30.32]) by mx2.enfer-du-nord.net (Postfix) with ESMTPSA id 3gzCnZ6FhRzS5j for ; Wed, 25 Jun 2014 20:39:30 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\)) Subject: Re: r356789 breaks rkhunter From: Michael Grimm In-Reply-To: Date: Wed, 25 Jun 2014 20:39:29 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <30333BB9-1893-40CB-8321-AA93D9414CC4@odo.in-berlin.de> References: <2F7E7AC6-96DC-4492-8EEB-BD413D9FB80C@odo.in-berlin.de> To: freebsd-ports@freebsd.org X-Mailer: Apple Mail (2.1878.2) 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: Wed, 25 Jun 2014 18:39:42 -0000 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: >>>> 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