[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#990968: unblock: apache2/2.4.48-3.1



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock
X-Debbugs-Cc: tg@mirbsd.de

Please unblock package apache2

[ Reason ]
Fixes #990580 which is a regression caused by the changes from #979813.

[ Impact ]
Sysadmins will get hundreds of eMails each night, become angry and
storm Debian HQ with torches and putforks and… erm well insert your
favourite upraising scenatio.

[ Tests ]
The updated package fixes the issue for me, and the cause was
identified by kilobyte, so it’s seen two eyepairs at least.

[ Risks ]
Trivial fix to a logrotate script.

[ Checklist ]
  [x] all changes are documented in the d/changelog
  [x] I reviewed all changes and I approve them
  [x] attach debdiff against the package in testing

[ Other info ]

unblock apache2/2.4.48-3.1
diff -Nru apache2-2.4.48/debian/apache2.logrotate apache2-2.4.48/debian/apache2.logrotate
--- apache2-2.4.48/debian/apache2.logrotate	2021-06-20 13:55:24.000000000 +0200
+++ apache2-2.4.48/debian/apache2.logrotate	2021-07-10 23:31:24.000000000 +0200
@@ -14,7 +14,7 @@
     endscript
     postrotate
 	if pgrep -f ^/usr/sbin/apache2 > /dev/null; then
-	    invoke-rc.d apache2 reload
+	    invoke-rc.d apache2 reload 2>&1 | logger -t apache2.logrotate
 	fi
     endscript
 }
diff -Nru apache2-2.4.48/debian/changelog apache2-2.4.48/debian/changelog
--- apache2-2.4.48/debian/changelog	2021-06-20 16:39:33.000000000 +0200
+++ apache2-2.4.48/debian/changelog	2021-07-10 23:31:28.000000000 +0200
@@ -1,3 +1,11 @@
+apache2 (2.4.48-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Direct init script reload output from logrotate to syslog, to
+    avoid mail-spamming the local admin (Closes: #990580)
+
+ -- Thorsten Glaser <tg@mirbsd.de>  Sat, 10 Jul 2021 23:31:28 +0200
+
 apache2 (2.4.48-3) unstable; urgency=medium
 
   * Fix debian/changelog

Reply to: