Package: release.debian.org Severity: normal Tags: buster User: release.debian....@packages.debian.org Usertags: pu
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hey! The logrotate configuration file for HAProxy doesn't signal rsyslog correctly. Therefore, logs are not really rotated and on a moderately busy site, this can fill up a log partition. When running with systemd, rsyslog doesn't write a PID file and there fore, the SysV init script invoked to rotate logs does not work. Instead, rsyslog package provides an helper for this purpose. The change has been applied to 2.0.12-1 currently in unstable and testing. I would like to push it for the next point release next week. Thanks. - -- System Information: Debian Release: bullseye/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'unstable'), (101, 'experimental-debug'), (101, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 5.4.0-3-amd64 (SMP w/4 CPU cores) Kernel taint flags: TAINT_WARN Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE=fr_FR.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled -----BEGIN PGP SIGNATURE----- iQJGBAEBCAAwFiEErvI0h2bzccaJpzYAlaQv6DU1JfkFAl4sRPgSHGJlcm5hdEBk ZWJpYW4ub3JnAAoJEJWkL+g1NSX5EzsP/AzdClF5G4t3FI4qXyVULb8bAuMYQqtK CYrV6LoMg9OSnQeN99EdP28anmgaTMhhaMs0vTs39DTxaUK6a9rIPYuxrzoqyF1q 2thYNdArHyTkSObW8yHQWal02wQ7S/rh14ryp+mgdZ6NbuduSiS8UZwB9gYIBJl6 0dGsWv7mKTTQvOMvRZEwoAHivM+mdY4z/RgXH9Pz1yhQ8RCsT2B1UcPuI+d6kolH g2QKE8ZrQ3Jp9L8CXNBhUxABqQnkOZjcBdKhYujuKEjhxIfZBAIg5P5DHhtZvmlj 8ikE8k7bRoTPp8zI7MMhRNZL6IO1yTFEyJJnL56GNMnSOhkN+Qupu2KrAAwYYTQB 0d1ccPuDEdxdDQdmyRISx9tl+6jkB6RK1gxbOFUQSmBpY7Xv9qCp9avl7RKUA/HC +hZDkRcmEyN2/GhKVAo5+HGpdaJIn3seF7Cc4ne0TVd+f4ZL/R/EopZ+WppAyIpU eBvMefcHLaTIA3YFGhfLepflzIeNJ/WoqjdzypEdsFtnjHQxilErYIIfKQi7qiRr pLfKyM/ju5azO4DjBTXKoLCgrjyEoCrQEZTNoQVVTiAXiFiqffoC/SK0o7W9kOvq WQ0iH3AD0Z05tISVUWtcasQYhfg0+PZc9JxrRWKX/9bV19bXB6Z0oeOi+CRy7d13 DK0Oc43IFOb+ =+pm7 -----END PGP SIGNATURE-----
>From bcf26bb2d684d793792742e30fd66c5b4018b53f Mon Sep 17 00:00:00 2001 From: Vincent Bernat <vinc...@bernat.ch> Date: Fri, 20 Dec 2019 08:20:40 +0100 Subject: [PATCH] d/logrotate.conf: use rsyslog helper instead of SysV init script --- debian/changelog | 7 +++++++ debian/logrotate.conf | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 978702081baa..b996863ea351 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +haproxy (1.8.19-1+deb10u1) buster; urgency=medium + + * d/logrotate.conf: use rsyslog helper instead of SysV init script. + Closes: #946973. + + -- Vincent Bernat <ber...@debian.org> Sat, 25 Jan 2020 14:33:51 +0100 + haproxy (1.8.19-1) unstable; urgency=medium * New upstream version 1.8.19 diff --git a/debian/logrotate.conf b/debian/logrotate.conf index 442dc4e01e79..ad2031f198e6 100644 --- a/debian/logrotate.conf +++ b/debian/logrotate.conf @@ -6,6 +6,6 @@ compress delaycompress postrotate - invoke-rc.d rsyslog rotate >/dev/null 2>&1 || true + /usr/lib/rsyslog/rsyslog-rotate endscript } -- 2.25.0