- Added own logrotate.service file in order to define a new order
of parsed config files:
/usr/etc/logrotate.conf Default configuration file defined by
the vendor.
/usr/etc/logrotate.d/* Directory for additional configuration
files defined by the vendor.
/etc/logrotate.conf Default configuration file defined by
the administrator. (optional)
/etc/logrotate.d/* Directory for additional configuration
files defined by the administrator.
(optional)
- New logrotate.service includes logrotate-3.19.0-systemd_add_home_env
patch.
- Adapted man page: logrotate-3.19.0-man_logrotate.patch
OBS-URL: https://build.opensuse.org/request/show/957379
OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=94
- Update to 3.17.0:
* lock state file to prevent parallel execution of logrotate
* add '.bak' extension to default taboo list
* allow to pass a home-relative path to 'include'
* 'switch_user_permanently': skip switchback check if switched to root
* logrotate.service: enable 'ProtectClock' to restrict setting of clock
* delete old logs hit by 'maxage' regardless of 'dateext'
OBS-URL: https://build.opensuse.org/request/show/823091
OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=85
* 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 su directive 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)
OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=81
- Version update to 3.15.0:
* timer unit: change trigger fuzz from 12h to 1h
* service unit: only run if /var/log is mounted
* preserve fractional part of timestamps when compressing
* re-indent source code using spaces only
* minage: avoid rounding issue while comparing the amount of seconds
* never remove old log files if rotate -1 is specified
* return non-zero exit status if a config file contains an error
* make copytruncate work with rotate 0
* warn user if both size and the time interval options are used
* pass rotated log file name as the 2nd argument of the postrotate
script when sharedscript is not enabled
* rename logrotate-default to logrotate.conf
- Added asc file.
OBS-URL: https://build.opensuse.org/request/show/691561
OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=75
- Version update to 3.13.0:
* make distribution tarballs report logrotate version properly
* make (un)compress work even if stdin and/or stdout are closed (#154)
* remove -s from DEFAULT_MAIL_COMMAND and improve its documenation (#152)
* uncompress logs before mailing them even if delaycompress is enabled (#151)
* handle unlink of a non-existing log file as a warning only (#144)
* include compile-time options in the output of logrotate --version (#145)
* make logrotate --version print to stdout instead of stderr (#145)
* flush write buffers before syncing state file (#148)
* specify (un)compress utility explicitly in tests (#137)
* enable running tests in parallel (#132)
* explicitly map root UID/GID to 0 on Cygwin (#133)
* add .dpkg-bak and .dpkg-del to default tabooext list (#134)
OBS-URL: https://build.opensuse.org/request/show/562011
OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=65
* Fixed accident removal of rotated files with dateext. (#118)
* Line comments inside globs in config files are now skipped. (#109)
* logrotate now recovers from a corrupted state file. (#45)
* createolddir now creates old directory as unprivileged user. (#114)
* weekly rotations are now predictable and configurable. (#93)
* Errors in config files are no longer treated as fatal errors. (#81)
* configure --with-default-mail-command specifies default mail command. (#100)
* Fixed heap buffer overflow when parsing crafted config file. (#33)
* build fixes related to -Werror (#119) and -Werror=format= (#108)
* configure --enable-werror now controls use of the -Werror flag (#123)
* copy and copytruncate directives now work together again
* unlink() is no longer preceded by open() unless shred is enabled (#124)
* compress and uncompress now take commands from $PATH, too (#122)
- By default disable werror while building
OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=63
- update to 3.9.1
* 3.9.1
- Fix off-by-one error which can lead to crash when copytruncate
is used.
* 3.9.0
- Fix crash when using long dateformat. [nmerdan]
- Add support for %H dateformat. [czchen]
- Fix regression introduced in 3.8.9 when when rotating multiple
logs when one of them is missing.
- In the debug mode, do not skip the code-path which handles the
case when the last rotation does not exist. [Sergey Vidishev]
- Show more precise description when "log does not need rotating".
- Add new -l option to log verbose output to file. The file is
overwritten on every logrotate execution.
- Allow rotation of sparse files with copytruncate.
* update logrotate-addextension.patch
- use spec-cleaner
- remove unused PreReq tags
OBS-URL: https://build.opensuse.org/request/show/313088
OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=45
- update to 3.8.7, fix bnc#849436
- Changelog 3.8.7:
* Fixed --force/-f option handling together with "size" directive
(3.8.5 regression).
* Use "logrotate_tmp_t" context for SELinux tests and if this
context does not exist, skip SELinux related tests.
- Changelog 3.8.6
* Fixed memory corruption caused by rotation directory which
does not exist with "sharedscripts" together with "prerotate"
script.
OBS-URL: https://build.opensuse.org/request/show/206232
OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=30
- update to 3.8.5
* dropped logrotate-3.7.9-compressoptions.patch (upstream)
* refreshed other patches
Changelog:
- Improved rotation during daylight saving time and between timezone
changes.
- Fixed ACL setting problem caused by ext3 erroneously reporting ENOSYS
instead of ENOSUP.
- Do not continue with rotation if state file is corrupted.
- Make logrotate.status creation atomic.
- Allow "hourly" rotation. See manpage for more information.
- Use "/bin/echo" in tests. Fixes tests execution in Dash.
- Do no try to parse config files bigger than 16MB.
- Improved manpage consistency and formatting.
- Fix race condition between acl_set_fd() and fchmod().
- Added --version command line option
- Disable ACL tests if logrotate is not compiled WITH_ACL support or if
ACLs are not supported by the system running tests
- Disable SELinux tests if logrotate is not compiled WITH_SELINUX support
or if SELinux is not supported by the system running tests
- Fixed bug which prevented skipping particular log file config
if the config contained errors.
- Fixed skipping of configs containing firstaction/lastaction scripts
with '}' character in case of error before these scripts.
- Support also 'K' unit for *size directives.
- Added preremove option to let admin to do something with the old logs
before they are removed by logrotate.
- Fixed possible loop in tabooext parsing.
- Move code to set SELinux context before compressLogFile calls to create
compressed log files with the proper context.
OBS-URL: https://build.opensuse.org/request/show/184333
OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=24