From 1c3376c080376dc87f4e16dc6d0bcd85a8f9aac8 Mon Sep 17 00:00:00 2001 From: Dmitry Teselkin Date: Wed, 15 Feb 2017 09:32:38 -0500 Subject: [PATCH] Add "su" directive to Haproxy logrotate config Related-Bug: #1655029 Change-Id: If6fe956da64932d9ca0e0cdf8f200d28796ef305 --- debian/changelog | 8 ++++++++ debian/logrotate.conf | 2 ++ 2 files changed, 10 insertions(+) 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 -- 2.45.2