Date: Mon, 22 Aug 2005 02:36:17 -0700 From: Colin Percival <cperciva@freebsd.org> To: Volker <volker@vwsoft.com> Cc: freebsd-stable@freebsd.org Subject: Re: RELENG_6 periodic security default problem Message-ID: <43099C91.1030007@freebsd.org> In-Reply-To: <43098526.10904@vwsoft.com> References: <43098526.10904@vwsoft.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Volker wrote: > After inspecting the problem I found that the default of > daily_status_security_diff_flags in /etc/defaults/periodic.conf is "-b > -u" but the ${filter} expression in /etc/periodic/security.functions is > being set to grep '^>' > > diff produces a +/- diff format but the output is being filtered for ^> > so no output comes from any of the /etc/periodic/security scripts. This > should be either changed to daily_status_security_diff_flags="-b" in > /etc/defaults/periodic.conf or ${filter} being changed to 'grep ^+' in > /etc/periodic/security/security.functions. Thanks for reporting this; I've changed the grep regex to '^[>+]' in order to catch lines from both unified and non-unified diffs. This change isn't going to be in 6.0-BETA3, but hopefully I can get it MFCed before 6.0-RELEASE. Colin Percival
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43099C91.1030007>