]> review.fuel-infra Code Review - packages/xenial/haproxy.git/commitdiff
Add "su" directive to Haproxy logrotate config 72/31172/2 mcp/1.0/mitaka
authorDmitry Teselkin <dteselkin@mirantis.com>
Wed, 15 Feb 2017 14:32:38 +0000 (09:32 -0500)
committerDmitry Teselkin <dteselkin@mirantis.com>
Wed, 22 Feb 2017 11:07:50 +0000 (14:07 +0300)
Related-Bug: #1655029

Change-Id: If6fe956da64932d9ca0e0cdf8f200d28796ef305

debian/changelog
debian/logrotate.conf

index ed06bdd5cc6e004adaed83a1a87bc94c55721c4d..5f7e9955d97ed5d98d4be70c06fd3c293a04d13a 100644 (file)
@@ -1,3 +1,11 @@
+haproxy (1.6.3-1~u16.04+mcp1) mos; urgency=medium
+
+  * Apply patch from packages/trusty/haproxy 9.0
+    * d/logrotate.conf: Specify the user/group to be used for rotation.
+      (LP#1655029)
+
+ -- Ivan Udovichenko <iudovichenko@mirantis.com>  Wed, 11 Jan 2017 16:02:20 +0200
+
 haproxy (1.6.3-1~u16.04+mos3) mos; urgency=medium
 
   * BUGFIX: show servers state may show an empty or incomplete result
index 442dc4e01e79603de3bc65677238e7a08fd58d2d..5300783a66e7104f607d417ce40f87b1387eb406 100644 (file)
@@ -5,6 +5,8 @@
     notifempty
     compress
     delaycompress
+    # https://bugs.launchpad.net/ubuntu/+source/logrotate/+bug/1278193
+    su root syslog
     postrotate
         invoke-rc.d rsyslog rotate >/dev/null 2>&1 || true
     endscript