From owner-freebsd-stable@FreeBSD.ORG Sat Mar 24 16:32:53 2012 Return-Path: <owner-freebsd-stable@FreeBSD.ORG> Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E9FDF106566C for <freebsd-stable@freebsd.org>; Sat, 24 Mar 2012 16:32:53 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id A27CC8FC1B for <freebsd-stable@freebsd.org>; Sat, 24 Mar 2012 16:32:53 +0000 (UTC) Received: from outgoing.leidinger.net (p5796C545.dip.t-dialin.net [87.150.197.69]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id 52A498443EA; Sat, 24 Mar 2012 17:32:33 +0100 (CET) Received: from unknown (IO.Leidinger.net [192.168.1.12]) by outgoing.leidinger.net (Postfix) with ESMTPS id 8AB59271B; Sat, 24 Mar 2012 17:32:30 +0100 (CET) Date: Sat, 24 Mar 2012 17:32:30 +0100 From: Alexander Leidinger <Alexander@Leidinger.net> To: Jeremy Chadwick <freebsd@jdc.parodius.com> Message-ID: <20120324173230.000045f9@unknown> In-Reply-To: <20120323110847.GA12111@icarus.home.lan> References: <20120323110847.GA12111@icarus.home.lan> X-Mailer: Claws Mail 3.7.10cvs42 (GTK+ 2.16.6; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: 52A498443EA.AFE48 X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-0.976, required 6, autolearn=disabled, ALL_TRUSTED -1.00, AWL 0.03, T_RP_MATCHES_RCVD -0.01) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1333211554.34532@uL57Vps5zyNSMaOooZYahQ X-EBL-Spam-Status: No Cc: freebsd-stable@freebsd.org Subject: Re: Debugging periodic scripts X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code <freebsd-stable.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-stable>, <mailto:freebsd-stable-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-stable> List-Post: <mailto:freebsd-stable@freebsd.org> List-Help: <mailto:freebsd-stable-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-stable>, <mailto:freebsd-stable-request@freebsd.org?subject=subscribe> X-List-Received-Date: Sat, 24 Mar 2012 16:32:54 -0000 On Fri, 23 Mar 2012 04:08:47 -0700 Jeremy Chadwick <freebsd@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". Use "set -x" instead of modifying the first line (I assume the script is already started with the correct shell, so the first line is ignored). I would also add "env" before and after the sourcing of the periodic.conf to see what is defined or not. Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137