Date: Wed, 7 Aug 2013 08:26:18 GMT From: Alexey <a.ulasov@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/181106: logrotate bus error (core dumped) Message-ID: <201308070826.r778QIQF038845@oldred.freebsd.org> Resent-Message-ID: <201308070830.r778U1nS020623@freefall.freebsd.org>
index | next in thread | raw e-mail
>Number: 181106
>Category: misc
>Synopsis: logrotate bus error (core dumped)
>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: Wed Aug 07 08:30:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Alexey
>Release: FreeBSD 8.3-RELEASE-p5 amd64
>Organization:
Internet Agency "Dva slona"
>Environment:
FreeBSD example.com 8.3-RELEASE-p5 FreeBSD 8.3-RELEASE-p5 #0: Mon Feb 4 18:57:35 MSK 2013 root@example.com:/usr/obj/usr/src/sys/KERNEL.04-02-2013 amd64
>Description:
Logratate crashes if folder specified in config file doesn't exist.
logrotate version 3.8.5
>How-To-Repeat:
Create empty folder:
/var/log/logrotate_test
Create /etc/logrotate.conf:
"/var/log/logrotate_test/log/*.log"{
compress
daily
dateext
missingok
rotate 6
sharedscripts
postrotate
/usr/bin/killall -30 httpd
endscript
}
Run logrotate /etc/logrotate.conf
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308070826.r778QIQF038845>
