Path to this page:
Subject: CVS commit: pkgsrc/sysutils/logrotate
From: Nils Ratusznik
Date: 2023-04-23 19:18:39
Message id: 20230423171839.B5942FA85@cvs.NetBSD.org
Log Message:
Update logrotate to version 3.21.0.
Pkgsrc changes:
* Updated logrotate.conf patch following a fix (typo) from the project ;
* Update checksums.
Upstream changes:
* logrotate-3.18.1 :
- fix memory leaks on error-handling paths
- make renamecopy and copytruncate override each other
- improve error handling in the parser of configuration files
- improve user experience for non-privileged users of logrotate
* logrotate-3.19.0 :
- continue on EINTR in compressLogFile()
- enforce stricter parsing of configuration files
- avoid confusing error message in debug mode
- fix full_write() on incomplete write
- do not use alloca() any more
- do not rotate hard links unless allowhardlink is used
- change directory after dropping privileges
- add defence in depth when dropping privileges
- remove invalid configuration on error
- do not open symbolic link log files by accident
- do not write state if state file is /dev/null
* logrotate-3.20.0 :
- fix potential DoS from unprivileged users via
the state file (CVE-2022-1348)
- fix a misleading debug message with copytruncate and rotate 0
- add support for unsigned time_t
- do not lock state file /dev/null
* logrotate-3.20.1 :
- drop world-readable permission on state file even when ACLs are enabled
* logrotate-3.21.0 :
- add ignoreduplicates directive to allow duplicate file matches
- add --wait-for-state-lock option to wait for lock on the state file
- avoid failure when an anonymous non-privileged user runs logrotate
- support home dir expansion in olddir
- reduce unnecessary rename operations with start N where N > 1
- unify handling of log levels
- do not print error: when exit code is unaffected
Files: