Package: logrotate / 3.18.0-2


Package Version Patches format
logrotate 3.18.0-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
applied upstream/Open files we want to compress as read only.patch | (download)

logrotate.c | 16 14 + 2 - 0 !
1 file changed, 14 insertions(+), 2 deletions(-)

 open files we want to compress as read-only.

It is not required to be able to open the logfile in read-write mode
when we are compressing the file.  A read-only open is sufficient.

This is useful when trying to run logrotate as non-root, to handle
rotation of files created by a container for instance.  As long as we
have write permission in the directory holding the logfile, there is no
reason to prevent the operation (since that user could manually rename()
the file with write permissions in the directory and then compress it).


applied upstream/Only attempt to set user group if running as root.patch | (download)

logrotate.c | 8 6 + 2 - 0 !
1 file changed, 6 insertions(+), 2 deletions(-)

 only attempt to set user/group if running as root.

There is no need to attempt to change the user/group of files if we are
not running as root.  We can leave the permissions to what the user
running logrotate would get if doing the same operation manually by
copying the file!


applied upstream/logrotate.8 make the var log news example consistent.patch | (download) | 5 2 + 3 - 0 !
1 file changed, 2 insertions(+), 3 deletions(-)

 logrotate.8: make the /var/log/news example consistent

We should use `sharedscripts` to make sure the daemon is signalled
only once.  Moreover, the note about log files not being compressed
on failure was misleading because the example uses `nocompress`.


applied upstream/Fix a typo in the example logrotate.conf.patch | (download)

examples/logrotate.conf | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix a typo in the example logrotate.conf

debian/skip cronjob when running with systemd.patch | (download)

examples/logrotate.cron | 10 10 + 0 - 0 !
1 file changed, 10 insertions(+)

 skip cronjob when running with systemd and in removed state

debian/logrotate.conf disable dateext on Debian.patch | (download)

examples/logrotate.conf | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 logrotate.conf: disable dateext on debian

The option dateext has not been enabled since its introduction in
version 3.7.2.

Might be subject to change in the future, see #551888.