Releases: logrotate/logrotate
Releases · logrotate/logrotate
logrotate-3.22.0
- fix calculations for time differences (#516)
- fix extension for zip compression (#545)
- fix omitted copy for logs with
mailandrotate 0(#553) - fix wrongly skipping copy with
copytruncateandcompress(#553) - fix ambiguities between
mode,UIDandGIDparsing when not specifying all options (#575) - fix hang when encountering a named pipe (#607)
- on prerotate failure logs are preserved instead of rotated (#506)
- in case a configuration file was skipped due to unsafe permissions the
exit status after rotattion will be1(#508) - the state is no longer written to non-regular files (#529)
- the systemd timer now correctly utilizes load distribution (#574)
- add dateformat specifier
%zfor timezone offsets (#594) - change default mode for created
olddirdirectories to0755(#560) - support quoted user and group names in
su,create, andcreateolddir(#575)
logrotate-3.21.0
- add
ignoreduplicatesdirective to allow duplicate file matches (#473) - add
--wait-for-state-lockoption to wait for lock on the state file (#457) - avoid failure when an anonymous non-privileged user runs logrotate (#463)
- support home dir expansion in
olddir(#454) - reduce unnecessary rename operations with
start NwhereN > 1(#450) - unify handling of log levels (#239 #449)
- do not print
error:when exit code is unaffected (#448)
logrotate-3.20.1
- drop world-readable permission on state file even when ACLs are enabled (#446)
logrotate-3.20.0
- fix potential DoS from unprivileged users via the state file (CVE-2022-1348)
- fix a misleading debug message with
copytruncateandrotate 0(#443) - add support for unsigned
time_t(#438) - do not lock state file
/dev/null(#433)
logrotate-3.19.0
- continue on
EINTRincompressLogFile()(#430) - enforce stricter parsing of configuration files (#427, #431)
- avoid confusing error message in debug mode (#426)
- fix
full_write()on incomplete write (#415) - do not use
alloca()any more (#412) - do not rotate hard links unless
allowhardlinkis used (#407) - change directory after dropping privileges (#397)
- add defence in depth when dropping privileges (#400)
- remove invalid configuration on error (#408)
- do not open symbolic link log files by accident (#399)
- do not write state if state file is
/dev/null(#395)
logrotate-3.18.1
logrotate-3.18.0
logrotate-3.17.0
- lock state file to prevent parallel execution of logrotate (#295, #297)
- add
.bakextension to default taboo list (#332) - allow to pass a home-relative path to
include(#322, #326) switch_user_permanently: skip switchback check if switched to root (#319)logrotate.service: enableProtectClockto restrict setting of clock (#306)- delete old logs hit by
maxageregardless ofdateext(#301)
logrotate-3.16.0
- fix compilation with gcc-10, which defaults to
-fno-common(#288) - reduce number of
open()operations on state file (#282) - validate user/group given to the
sudirective early (#276) - add hardening options to systemd unit file in examples (#274, #291)
- fix crash of logrotate on invalid configuration with include (#271)
- fix heap buffer overflow on too long logfile extension (#270)