Skip to content

Commit b95bf8f

Browse files
committed
Merge release branch 4.8 to 4.9
* 4.8: CLOUDSTACK-9746 system-vm: logrotate config causes critical failures
2 parents d9bd012 + 113ce13 commit b95bf8f

File tree

7 files changed

+9
-11
lines changed

7 files changed

+9
-11
lines changed

systemvm/patches/debian/config/etc/logrotate.d/apache2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
rotate 3
55
compress
66
dateext
7-
size 10M
7+
maxsize 10M
88
notifempty
99
}

systemvm/patches/debian/config/etc/logrotate.d/cloud

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717
/var/log/cloud.log {
18-
rotate 4
19-
size 10M
18+
rotate 10
19+
maxsize 10M
2020
missingok
2121
notifempty
2222
compress

systemvm/patches/debian/config/etc/logrotate.d/conntrackd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/var/log/conntrackd-stats.log {
2-
size 10M
2+
maxsize 10M
33
rotate 2
44
missingok
55
compress

systemvm/patches/debian/config/etc/logrotate.d/dnsmasq

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/var/log/dnsmasq.log {
2-
size 10M
2+
maxsize 10M
33
missingok
44
rotate 5
55
notifempty

systemvm/patches/debian/config/etc/logrotate.d/haproxy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
rotate 5
33
missingok
44
notifempty
5-
size 10M
5+
maxsize 10M
66
postrotate
77
/bin/kill -HUP `cat /var/run/rsyslog.pid 2> /dev/null` 2> /dev/null || true
88
endscript

systemvm/patches/debian/config/etc/logrotate.d/ppp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/var/log/ppp-connect-errors {
2-
size 10M
2+
maxsize 10M
33
rotate 5
44
missingok
55
notifempty

systemvm/patches/debian/config/etc/logrotate.d/rsyslog

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
/var/log/syslog
22
{
33
rotate 7
4-
size 50M
4+
maxsize 10M
55
missingok
66
notifempty
7-
delaycompress
87
compress
98
postrotate
109
/usr/sbin/invoke-rc.d rsyslog rotate > /dev/null
@@ -25,11 +24,10 @@
2524
/var/log/messages
2625
{
2726
rotate 10
28-
size 50M
27+
maxsize 10M
2928
missingok
3029
notifempty
3130
compress
32-
delaycompress
3331
sharedscripts
3432
postrotate
3533
/usr/sbin/invoke-rc.d rsyslog rotate > /dev/null

0 commit comments

Comments
 (0)