radiusd log filename

Fred MAISON fred.maison at gmail.com
Fri Mar 12 17:00:09 CET 2010


Le vendredi 12 mars 2010 à 10:30 -0500, John Dennis a écrit :
> On 03/12/2010 09:12 AM, Fred MAISON wrote:
> > OK, Alan, It's clear.
> > Unfortunately, logrotate version on last RedHat/CentOS does not support
> > YYYYMMDD dateext function I can find on Debian ...
> >
> > I will have to write a postrotate script to do it.
> 
> dateext is supported on RHEL5 (at least in the 5.4 I just checked).
> 

Strange ...
Customer's server are freshly installed CentOS 5, with last updates
along with your (great) Freeradius 2.1.8 RPM port ...
dateext is not in the man !
Please see below, nodateext is present in the binary, but dateext is
not ...

cat /etc/redhat-release 
CentOS release 5.4 (Final)

 cat /proc/version
Linux version 2.6.18-164.11.1.el5 (mockbuild at builder10.centos.org) (gcc
version 4.1.2 20080704 (Red Hat 4.1.2-46)) #1 SMP Wed Jan 20 07:32:21
EST 2010

logrotate -vd
logrotate 3.7.4 - Copyright (C) 1995-2001 Red Hat, Inc.
This may be freely redistributed under the terms of the GNU Public
License

Usage: logrotate [-dfv?] [-d|--debug] [-f|--force] [-m|--mail command]
        [-s|--state statefile] [-v|--verbose] [-?|--help] [--usage]
        [OPTION...] <configfile>

strings /usr/sbin/logrotate | grep date
nodateext

Best regards
Fred MAISON




More information about the Freeradius-Users mailing list