From: Dmitry Teselkin Date: Wed, 15 Feb 2017 14:32:38 +0000 (-0500) Subject: Add "su" directive to Haproxy logrotate config X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=1c3376c080376dc87f4e16dc6d0bcd85a8f9aac8;p=packages%2Fxenial%2Fhaproxy.git Add "su" directive to Haproxy logrotate config Related-Bug: #1655029 Change-Id: If6fe956da64932d9ca0e0cdf8f200d28796ef305 --- diff --git a/debian/changelog b/debian/changelog index ed06bdd..5f7e995 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 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 diff --git a/debian/logrotate.conf b/debian/logrotate.conf index 442dc4e..5300783 100644 --- a/debian/logrotate.conf +++ b/debian/logrotate.conf @@ -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