Package: logrotate / 3.14.0-4

Metadata

Package Version Patches format
logrotate 3.14.0-4 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0003 fix spelling.patch | (download)

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

 fix spelling

found by lintian

0004 btmp config allow rw group access.patch | (download)

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

 btmp config: allow rw group access


0007 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


0008 fix test pagesize.patch | (download)

test/test-0062.sh | 10 9 + 1 - 0 !
1 file changed, 9 insertions(+), 1 deletion(-)

 make expect value in test 62 depend on page size

    https://buildd.debian.org/status/fetch.php?pkg=logrotate&arch=powerpc&ver=3.11.0-0.1~exp2&stamp=1483609625
    https://buildd.debian.org/status/fetch.php?pkg=logrotate&arch=ppc64el&ver=3.11.0-0.1~exp2&stamp=1483609707

    The Debian buildds, at least those running ppc64el (they also build
    for powerpc) put the source tree into a tmpfs. A tmpfs allocates
    memory per page, and with an unusually huge page size of 64Ki, the
    two pages needed for a sparse file with some content as created in
    test 62, 128Ki are actually allocated - which is more than the limit
    of 100 in the test.

    So get the actual pagesize and raise the limits if it's 32Ki or
    more. The second limit is wild-guessed, in the failing test the
    value was 10304 (= 131 pages).

    On a 4Ki-page system (amd64), the observed values were 8 (= two
    pages), and 12 (= three pages).

    Reproducer:
        printf zero > test.log ; truncate -s 10M test.log ; echo x >> test.log ; du test.log

0009 drop MemoryDenyWriteExecute from systemd service.patch | (download)

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

 drop memorydenywriteexecute from systemd service

Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=907505