Date: Tue, 15 Jan 2013 19:38:19 GMT From: Paul Procacci <pprocacci@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: bin/175330: newsyslog R flag ignored Message-ID: <201301151938.r0FJcJK1012669@red.freebsd.org> Resent-Message-ID: <201301151940.r0FJe0W8077219@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301151938.r0FJcJK1012669>