bin/175330: newsyslog R flag ignored
Paul Procacci
pprocacci at gmail.com
Tue Jan 15 19:40:00 UTC 2013
>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 at 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:
More information about the freebsd-bugs
mailing list