Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Aug 2011 19:03:47 GMT
From:      Henrik Larsson <freepbx@spambox.dk>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/160009: sysutils/logrotate changes to logrotate.conf.sample
Message-ID:  <201108221903.p7MJ3l5i005545@red.freebsd.org>
Resent-Message-ID: <201108221910.p7MJABiI067604@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         160009
>Category:       ports
>Synopsis:       sysutils/logrotate changes to logrotate.conf.sample
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 22 19:10:11 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Henrik Larsson
>Release:        
>Organization:
>Environment:
>Description:
The supplied sample configuration file, contains deprecated configuration parameters.

Running "logrotate -d" on the sample configuration file produces the following:
--cut--
/usr/local/etc/logrotate.conf.sample: 9: the errors directive is deprecated and no longer used.
error: /usr/local/etc/logrotate.conf.sample:9 unexpected text
--cut--


>How-To-Repeat:
- Install sysutils/logrotate port
- Execute "logrotate -d /usr/local/etc/logrotate.conf
>Fix:
The following lines should be removed from "logrotate.conf.sample":
--cut--
# send errors to root
errors root
--cut-

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201108221903.p7MJ3l5i005545>