From owner-freebsd-questions@freebsd.org Wed Nov 1 12:22:09 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1B401E5A05F for ; Wed, 1 Nov 2017 12:22:09 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8B00A6C479 for ; Wed, 1 Nov 2017 12:22:07 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id vA1CM2cw052551; Wed, 1 Nov 2017 23:22:02 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Wed, 1 Nov 2017 23:22:02 +1100 (EST) From: Ian Smith To: Yasuhiro KIMURA cc: freebsd-questions@freebsd.org Subject: Re: Three '450.status-security' scripts enabled by default In-Reply-To: Message-ID: <20171101230125.R7397@sola.nimnet.asn.au> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Nov 2017 12:22:09 -0000 In freebsd-questions Digest, Vol 700, Issue 3, Message: 10 On Wed, 01 Nov 2017 08:06:35 +0900 (JST) Yasuhiro KIMURA wrote: > > Thank you for explanation. But in fact today I received 'monthry > > security run output' mail from my home server. And I also checked > > trash folder of my mailbox and confirmed that I recieved 'weekly > > security run output' mail on last Saturday. So there must be something > > that doesn't fit your explanation. > > OMG, again the source of this problem is "pkg". 410.pkg-audit and > 460.pkg-checksum doesn't support security_status_*_period > variable. Therefore they are always executed if > weekly_status_security_enable and/or monthly_status_security_enable is > 'YES' (and they are 'YES' by default). Ahah. After hunting through 10.x and 11.x sources, not finding those, seeing reference to having removed some pkg-* scripts along the way .. What version of FreeBSD are you running? (uname -a) and how was it installed; originally or by freebsd-update or from updated sources? That is, was there an earlier version installed previously? Please show output of: ls -lrt /etc/periodic/security And if there are any older files there, perhaps also the output of: ls -lrtR /etc/periodic cheers, Ian PS: please cc me on replies as I take the daily digest - just arrived.