Your message dated Tue, 15 Aug 2017 08:49:59 +0000
with message-id <[email protected]>
and subject line Bug#872158: fixed in freeradius 3.0.15+dfsg-2
has caused the Debian Bug report #872158,
regarding logrotate config file overrides global options for other log files
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
872158: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=872158
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: freeradius
Version: 3.0.12+dfsg-5+deb9u1

The logrotate config file that ships with freeradius sets global options in its file (/etc/logrotate.d/freeradius). These options do not just apply to the freeradius log files, but to all log files that logrotate encounters after processing /etc/logrotate.d/freeradius (e.g. other logs defined in /etc/logrotate.d with a filename that come later alphabetically). You can verify this by making a modification tothe global options in/etc/logrotate.d/freeradius(such as adding"maxsize 1k"), then running logrotate in debug mode:

logrotate -d /etc/logrotate.conf

If you look at the output, you'll notice that all logs files encountered after the freeradius log files now have the"maxsize 1k" applied to them even if they didn't define it themselves. The global options set within /etc/logrotate.d/freeradius are not just global options for the log files defined in that file; they are system wide. To avoid conflicting with other log file definitions, the options need to be duplicated for each log file. You could also just group together everything but radius.log if you wanted to avoid a bunch of duplication.

/var/log/freeradius/radius.log {
daily
rotate 52
missingok
compress
delaycompress
notifempty
    copytruncate
}

/var/log/freeradius/checkrad.log /var/log/freeradius/radwatch.log
/var/log/freeradius/radutmp /var/log/freeradius/radwtmp
/var/log/freeradius/sqllog.sql
/var/log/freeradius/radacct/*/detail {
daily
rotate 52
missingok
compress
delaycompress
notifempty
    nocreate
}


--
Justin Pasher

--- End Message ---
--- Begin Message ---
Source: freeradius
Source-Version: 3.0.15+dfsg-2

We believe that the bug you reported is fixed in the latest version of
freeradius, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Stapelberg <[email protected]> (supplier of updated freeradius 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 15 Aug 2017 09:50:16 +0200
Source: freeradius
Binary: freeradius freeradius-common freeradius-config freeradius-utils 
libfreeradius3 libfreeradius-dev freeradius-dhcp freeradius-krb5 
freeradius-ldap freeradius-rest freeradius-postgresql freeradius-mysql 
freeradius-iodbc freeradius-redis freeradius-memcached freeradius-yubikey
Architecture: source
Version: 3.0.15+dfsg-2
Distribution: unstable
Urgency: medium
Maintainer: Debian FreeRADIUS Packaging Team 
<[email protected]>
Changed-By: Michael Stapelberg <[email protected]>
Description:
 freeradius - high-performance and highly configurable RADIUS server
 freeradius-common - FreeRADIUS common files
 freeradius-config - FreeRADIUS default config files
 freeradius-dhcp - DHCP module for FreeRADIUS server
 freeradius-iodbc - iODBC module for FreeRADIUS server
 freeradius-krb5 - kerberos module for FreeRADIUS server
 freeradius-ldap - LDAP module for FreeRADIUS server
 freeradius-memcached - Memcached module for FreeRADIUS server
 freeradius-mysql - MySQL module for FreeRADIUS server
 freeradius-postgresql - PostgreSQL module for FreeRADIUS server
 freeradius-redis - Redis module for FreeRADIUS server
 freeradius-rest - REST module for FreeRADIUS server
 freeradius-utils - FreeRADIUS client utilities
 freeradius-yubikey - Yubikey module for FreeRADIUS server
 libfreeradius-dev - FreeRADIUS shared library development files
 libfreeradius3 - FreeRADIUS shared library
Closes: 872158
Changes:
 freeradius (3.0.15+dfsg-2) unstable; urgency=medium
 .
   * logrotate: don’t accidentally define global options (Closes: #872158)
Checksums-Sha1:
 4002be4e21678eed49f89427b5729e334e42eb7f 3734 freeradius_3.0.15+dfsg-2.dsc
 108a107d6bb301706844d045b8128809774549a2 62656 
freeradius_3.0.15+dfsg-2.debian.tar.xz
 ca263752552c35a7c0b95e3fc48d1a91a8476540 17553 
freeradius_3.0.15+dfsg-2_amd64.buildinfo
Checksums-Sha256:
 370d573f163cd9203cbffd7ca0263a073f135391d71be69c09382bb733e3c03d 3734 
freeradius_3.0.15+dfsg-2.dsc
 131bcf9e1aef6c3d6ac3ab29daf54c349944af232f9779d0c497e6f1c72de8a0 62656 
freeradius_3.0.15+dfsg-2.debian.tar.xz
 84214499f22ab62aed8169a91ca894777a8f95403488fc7a4a9bf3bbce3cc5eb 17553 
freeradius_3.0.15+dfsg-2_amd64.buildinfo
Files:
 ac6329969ecc393d8e6dea127237d330 3734 net optional freeradius_3.0.15+dfsg-2.dsc
 c7e94f497980d443ad6db0181b064a41 62656 net optional 
freeradius_3.0.15+dfsg-2.debian.tar.xz
 e6e361316a41849d431e99ac6131d4f1 17553 net optional 
freeradius_3.0.15+dfsg-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEQk4U1wPnxtQ9nW82TnFg7UrI7h0FAlmSqDQACgkQTnFg7UrI
7h2+5w//b4Sv0Uihzy13zidRl4B/qscSVEmTf/tWYAQPX5j4RykGELklhlVKrcfD
aCLWdryTtHxchLvrVasbZk+A8FG1eZwiu8jiL5OJh94UQO6CvdLh3DmY4/0aS+g2
TXyQlM3ZUrpwE5zZSIE4xLMGWDjnekLgyO/vmikpbkM3NXS7OqmB0GYbvjPIPsIf
I7V52FG//7Cjed/nuJ+mL0Nq4Wr0zePMlsENSuOd7tmb0lbcPOqahlcUMNFLUse8
S8Szybnkb5wb5bya6jedV2uSZ5wUZSjL4o1nTmp+ah1t42X21H4Uad7/iWt+a6hj
1fx+z6XJtuIuvQFz0UY4wGAI8dWQB5s2/s/BwISCsx7myePbUM9ASgJBN7U91+Ee
cPcMujCvgHFMi946prJddrU4jT86zjj2AZemb+zBBLwS3YOwP4nB3uV0nBK0fsA1
NEvH+AB+3sTF/JCpwVB7uQSi6HVsYiIs9M/3sBorZKeeJZkFnoFnyEryyq3JZehc
+1iNNVxFt4PWbWfBpKwHnlBkufY2QG18LrUq06YAemGy1IZWTcdADZTa9leTdtv1
HdcDhm/qgQYSVtfJIsJRvEsYNb2gxeFuxxruzIAj4hgPdMj9GE3WvQNBmCaCLjiW
VaztnibIc39DwWQ2osv8aaWZJRK5K15AfcR2HklZeu2n65pxndw=
=ebU4
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to