>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  [email protected]:/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:
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to