From owner-freebsd-bugs@FreeBSD.ORG Tue Jan 15 19:40:00 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B35AC42B for ; Tue, 15 Jan 2013 19:40:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 821C6196 for ; Tue, 15 Jan 2013 19:40:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r0FJe0BW077220 for ; Tue, 15 Jan 2013 19:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r0FJe0W8077219; Tue, 15 Jan 2013 19:40:00 GMT (envelope-from gnats) Resent-Date: Tue, 15 Jan 2013 19:40:00 GMT Resent-Message-Id: <201301151940.r0FJe0W8077219@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Paul Procacci Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 7A4BE334 for ; Tue, 15 Jan 2013 19:38:20 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 5CDE317D for ; Tue, 15 Jan 2013 19:38:20 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r0FJcJHk012670 for ; Tue, 15 Jan 2013 19:38:19 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r0FJcJK1012669; Tue, 15 Jan 2013 19:38:19 GMT (envelope-from nobody) Message-Id: <201301151938.r0FJcJK1012669@red.freebsd.org> Date: Tue, 15 Jan 2013 19:38:19 GMT From: Paul Procacci To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: bin/175330: newsyslog R flag ignored X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jan 2013 19:40:00 -0000 >Number: 175330 >Category: bin >Synopsis: newsyslog R flag ignored >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jan 15 19:40:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Paul Procacci >Release: 9.0-RELEASE >Organization: >Environment: FreeBSD prod.xxxx.com 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Using the R flag in a newsyslog configuration file is being ignored by newsyslog. >How-To-Repeat: prod# cat /root/test.conf /var/log/varnishncsa.log 644 10 * $D3 BR /usr/local/scripts/test.sh - -- - prod# cat /usr/local/scripts/test.sh #!/bin/sh touch /tmp/test - -- - prod# newsyslog -vF -f /root/test.conf Processing /root/test.conf /var/log/varnishncsa.log <10>: --> trimming log.... Signal all daemon process(es)... Pause 10 seconds to allow daemon(s) to close log file(s) * Notice, it never runs the command. Test script works fine via command line, and permissions are correct. >Fix: Unknown, but I will do some debugging (time permitting). >Release-Note: >Audit-Trail: >Unformatted: