use nocompress in logrotate files, workaround for logrotate < 3.11
Closes: 851138
Thanks: Yuri D'Elia
Marc Haber
7 years ago
|
0 |
atop (2.2.6-3) unstable; urgency=medium
|
|
1 |
|
|
2 |
atop does some really weird things with logrotate, which cause
|
|
3 |
undocumented behavior in logrotate versions < 3.11. As Debian stretch
|
|
4 |
has 3.11, this should not be an issue when updating between stable
|
|
5 |
versions.
|
|
6 |
|
|
7 |
If you have been using unstable or testing, and you get weird
|
|
8 |
messages from logrotate, it might be worth looking in /var/log/atop
|
|
9 |
for weird log files, and removing all dummy_* files other than
|
|
10 |
dummy_after and dummy_before.
|
|
11 |
|
|
12 |
-- Marc Haber <mh+debian-packages@zugschlus.de> Wed, 18 Jan 2017 19:39:45 +0100
|
|
13 |
|
0 | 14 |
atop (2.2.6-2) unstable; urgency=medium
|
1 | 15 |
|
2 | 16 |
PID file /run/atopacctd.pid not readable (yet?) after start
|
3 | 3 |
Last-Update: 2016-08-11
|
4 | 4 |
--- a/psaccs_atop
|
5 | 5 |
+++ b/psaccs_atop
|
6 | |
@@ -3,6 +3,7 @@
|
|
6 |
@@ -3,6 +3,8 @@
|
7 | 7 |
missingok
|
8 | 8 |
daily
|
9 | 9 |
rotate 0
|
10 | 10 |
+ nomail
|
|
11 |
+ nocompress
|
11 | 12 |
ifempty
|
12 | 13 |
create 0600 root root
|
13 | 14 |
postrotate
|
14 | 15 |
--- a/psaccu_atop
|
15 | 16 |
+++ b/psaccu_atop
|
16 | |
@@ -3,6 +3,7 @@
|
|
17 |
@@ -3,6 +3,8 @@
|
17 | 18 |
missingok
|
18 | 19 |
daily
|
19 | 20 |
rotate 0
|
20 | 21 |
+ nomail
|
|
22 |
+ nocompress
|
21 | 23 |
ifempty
|
22 | 24 |
create 0600 root root
|
23 | 25 |
postrotate
|