Re: Debugging periodic scripts

2012-03-27 Thread Jeremy Chadwick
On Sun, Mar 25, 2012 at 08:03:33AM -0700, Jeremy Chadwick wrote: Shall I file a PR for this or is there already one? :-) http://www.freebsd.org/cgi/query-pr.cgi?pr=166460 -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking

Re: Debugging periodic scripts

2012-03-25 Thread Jeremy Chadwick
On Sat, Mar 24, 2012 at 05:32:30PM +0100, Alexander Leidinger wrote: On Fri, 23 Mar 2012 04:08:47 -0700 Jeremy Chadwick free...@jdc.parodius.com wrote: Editing /etc/periodic/security/510.ipfdenied's hashbang line to use -x doesn't change the behaviour either (maybe stderr gets sent to

Re: Debugging periodic scripts

2012-03-24 Thread Alexander Leidinger
On Fri, 23 Mar 2012 04:08:47 -0700 Jeremy Chadwick free...@jdc.parodius.com wrote: Editing /etc/periodic/security/510.ipfdenied's hashbang line to use -x doesn't change the behaviour either (maybe stderr gets sent to /dev/null?), whether I run it by hand as a script or via periodic security.

Debugging periodic scripts

2012-03-23 Thread Jeremy Chadwick
(Please keep me CC'd as I'm not subscribed) Hi folks, Does anyone know how to go about debugging periodic scripts, such as getting useful debug output from start to finish? Basically the situation is this: - We have 5 systems which are RELENG_8 (some 8.2-STABLE, and a couple 8.3-PRERELEASE

Re: Debugging periodic scripts

2012-03-23 Thread Matthew Seaman
On 23/03/2012 11:08, Jeremy Chadwick wrote: On 2 of the systems, /etc/periodic/security/510.ipfdenied gets run during periodic security even though it's explicitly shut off in periodic.conf. Thus on these 2 systems, our security mails contain this line: ipfstat: not found Are you sure that's