* fix calculations for time differences
* fix extension for zip compression
* fix omitted copy for logs with `mail` and `rotate 0`
* fix wrongly skipping copy with `copytruncate` and `compress`
* fix ambiguities between `mode`, `UID` and `GID` parsing when
not specifying all options
* fix hang when encountering a named pipe
* on prerotate failure logs are preserved instead of rotated
* in case a configuration file was skipped due to unsafe
permissions the
* exit status after rotattion will be `1`
* the state is no longer written to non-regular files
* the systemd timer now correctly utilizes load distribution
* add dateformat specifier `%z` for timezone offsets
* change default mode for created `olddir` directories to
`0755`
* support quoted user and group names in `su`, `create`, and
`createolddir`
- update logroate.keyring: new maintainer
- drop logrotate-3.19.0-systemd_add_home_env.patch:
- Adapted man page: logrotate-3.19.0-man_logrotate.patch
- Add "Environment=HOME=/root" to logrotate.service file in order
- remove unused PreReq tags
- Enable Persistent timer since we are now in systemd 219.
* logrotate-3.7.8-conf.patch > logrotate-conf.patch
* logrotate-manpage_config_clarification.patch
- Also, avoid logrotate unit activation when the system is
- Migrate from cron to systemd timer units, this is overall
the most important package to migrate since it is one
OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=108
- Update to 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
- Replace the vendor config logic:
* Remove logrotate-vendor-dir.patch and the code from logrotate.service
(also addresses boo#1202406)
* Add a wrapper script which collects all config files in the right
order
- Create logrotate.keyring with kdudka's public key
- Drop logrotate-rpmlintrc: rpmlint doesn't look at /usr/etc/logrotate.d/,
so the false positive doesn't trigger.
OBS-URL: https://build.opensuse.org/request/show/1060601
OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=106
- 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)
- drop logrotate-3.19.0-systemd_add_home_env.patch:
- included in new logrotate.service
- Adapted man page: logrotate-3.19.0-man_logrotate.patch
OBS-URL: https://build.opensuse.org/request/show/960296
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/logrotate?expand=0&rev=71
- 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
- Rebase the logrotate-3.13.0-systemd_add_home_env.patch to be
unified patch again
- Use noun phrase. Trim filler wording from description.
Add a note that it is unrelated to journald.
- Version update to 3.14.0:
* make configure show support status for SELinux and ACL at the end
* make logrotate build again on FreeBSD
* move wtmp and btmp definitions from logrotate.conf to
separate configuration files in logrotate.d
* print a warning about logrotate doing nothing when -d is used
* do not reject executable config files
* add hardening options to logrotate.service in examples
* fix spurious compressor failure when using su and compress
* keep logrotate version in .tarball-version in release tarballs
* introduce the hourago configuration directive
* ignore empty patterns in tabooext to avoid exclusion of everything
* properly report skipped test cases instead of pretending success
OBS-URL: https://build.opensuse.org/request/show/635479
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/logrotate?expand=0&rev=60
- 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
- Version update to 3.12.3:
* 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
- Remove aaa_base compat setting that is from 2003, we do not
support such migration anymore
OBS-URL: https://build.opensuse.org/request/show/508717
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/logrotate?expand=0&rev=56
* 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