From owner-freebsd-questions@FreeBSD.ORG Mon Nov 26 17:15:09 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D5B5316A46B for ; Mon, 26 Nov 2007 17:15:09 +0000 (UTC) (envelope-from fbsd06+QT=f3b4e1e2@mlists.homeunix.com) Received: from mxout-04.mxes.net (mxout-04.mxes.net [216.86.168.179]) by mx1.freebsd.org (Postfix) with ESMTP id B092613C46A for ; Mon, 26 Nov 2007 17:15:09 +0000 (UTC) (envelope-from fbsd06+QT=f3b4e1e2@mlists.homeunix.com) Received: from gumby.homeunix.com. (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id EDB46D059E for ; Mon, 26 Nov 2007 12:15:07 -0500 (EST) Date: Mon, 26 Nov 2007 17:15:05 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20071126171505.6828e651@gumby.homeunix.com.> In-Reply-To: <474AA3E4.7020807@net.utcluj.ro> References: <47469D3F.1070207@netfence.it> <474AA3E4.7020807@net.utcluj.ro> X-Mailer: Claws Mail 3.0.2 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: portaudit in periodic X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Nov 2007 17:15:09 -0000 On Mon, 26 Nov 2007 12:45:56 +0200 Cristian KLEIN wrote: > Andrea Venturoli wrote: > > On one box, however, portaudit's db won't update automatically. The > > security reports will mention no vulnerability, even when I know > > they are there. > > Running "periodic daily" from a shell does it all for good, so that > > for a few days I'll see the correct warnings. > > I used to have problem with cron scripts, because cron uses another > PATH then what the script gets if it's run from the shell. That shouldn't be relevant, the update should be done as a side-effect of the daily security run, and the path to portaudit is hard-coded into the periodic script.