Dear Maintainer,
found while searching for another bug that upstream
report [1] that looked familiar.
That upstream report points to the same source line
and is written to be resolved by [2] with topic dateformat.
This patch seems included first in debian stretch with
version 3.11.0-0.1 [3].
My
Dear Maintainer,
I tried to find out where this stack in message #25
would point to, if it may help.
The failing call to free, I guess, would be in
function rotateLogSet in logrotate.c, line 1749.
1748for (i = 0; i < log->numFiles; i++) {
1749free(rotNames[i]->firstRotated);
Control: tags -1 moreinfo unreproducible
Hi,
I am not able to reproduce any of the two segfaults.
Can you both please try version 3.14.0-2 and report whether you are
still getting segfaults.
Best regards
Christian Göttsche
Hi,
I just hit the same behaviour on Ubuntu but not in the same context.
I have two Ubuntu 16.10 instances with near exactly the same config but only
encounter this bug on one instance.
logrotate 3.8.7-2ubuntu2
The logrotate conf who cause this behaviour is exactly the same on both
Dnia czwartek, 24 marca 2016 18:31:52 Paul Martin pisze:
> Can you attach the script to an email, please? The paste.debian.net
> entry has expired or was deleted.
Sure:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#!/bin/bash
#
# *** IMPORTANT ***
# To be run
Can you attach the script to an email, please? The paste.debian.net
entry has expired or was deleted.
--
Paul Martin
Turns out, `nocompress` also seems to trigger the bug; `delaycompress` is the
only safe option.
--
Pozdrawiam,
Michał "rysiek" Woźniak
Zmieniam klucz GPG :: http://rys.io/pl/147
GPG Key Transition :: http://rys.io/en/147
signature.asc
Description: This is a digitally signed message part.
Package: logrotate
Version: 3.8.7-1+b1
Logrotate fails to properly handle long filenames with long dateext
dateformat, and crashes.
For this to happen, several conditions must be met simultaneously:
1. at least two files must need rotation
2. first filename must be between 7 and 33 characters
8 matches
Mail list logo