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

Bug#974665: marked as done (`graceful-stop` by default?)



Your message dated Fri, 13 Nov 2020 16:33:25 +0000
with message-id <E1kdc0r-000CPx-6z@fasolo.debian.org>
and subject line Bug#974665: fixed in apache2 2.4.46-2
has caused the Debian Bug report #974665,
regarding `graceful-stop` by default?
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
974665: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=974665
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apache2
Version: 2.4.46-1
Severity: minor

Hi,

Currently, httpd's systemd configuration uses `apachectl stop` for ExecStop. This means that by default, httpd is shutdown by `systemctl stop` using the abrupt TERM signal instead of the graceful WINCH. I think graceful shutdown is a safer and more sensible default config; nginx has used graceful shutdown for a long time now:

https://salsa.debian.org/mohd-akram/nginx/-/commit/caee1c2a8790f3f5ad1e8f277d0426189a43558f

I think the only modification required for this is the following replacement for the `ExecStop=...` line in `debian/apache2.service` and `debian/apache2@.service`:

    ExecStop=/usr/sbin/apachectl graceful-stop
    KillMode=mixed

Though someone more experienced might know better. I'm also not sure how the relatively new mod_systemd (https://httpd.apache.org/docs/trunk/mod/mod_systemd.html) affects this.

Regards,
DJ

--- End Message ---
--- Begin Message ---
Source: apache2
Source-Version: 2.4.46-2
Done: Xavier Guimard <yadd@debian.org>

We believe that the bug you reported is fixed in the latest version of
apache2, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 974665@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Xavier Guimard <yadd@debian.org> (supplier of updated apache2 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 13 Nov 2020 16:59:01 +0100
Source: apache2
Architecture: source
Version: 2.4.46-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Apache Maintainers <debian-apache@lists.debian.org>
Changed-By: Xavier Guimard <yadd@debian.org>
Closes: 972398 972400 974665
Changes:
 apache2 (2.4.46-2) unstable; urgency=medium
 .
   [ Jean-Michel Vourgère ]
   * Man: Add missing options and see also in a2en*(8)
 .
   [ Xavier Guimard ]
   * Bump debhelper compatibility level to 13
     + Set debhelper-compat version in Build-Depends.
   * Use dh_installsystemd rather than deprecated dh_systemd_enable
   * Add extension .da for danish language in mime.conf (Closes: #972398)
   * Automatically deflate application/wasm files (Closes: #972400)
   * Use "graceful-stop" in systemd ExecStop (Closes: #974665)
   * Re-export upstream signing key without extra signatures.
   * Ignore lintian's national-encoding tag in test framework
   * Add ${misc:Pre-Depends} in apache2 package
   * Update lintian overrides
   * Refresh patches
   * Fix little spelling errors
Checksums-Sha1: 
 49e7632a6465937cf4a70a7c15b8308b4c0f142f 3501 apache2_2.4.46-2.dsc
 b0b192642a02237784da45a7d5419e69f68cc891 882112 apache2_2.4.46-2.debian.tar.xz
Checksums-Sha256: 
 c37649fff5600ef6dc4bba3c07bc919ab1b00b1ca09668909fca9fc7c9347f84 3501 apache2_2.4.46-2.dsc
 208b5985c32d401ec805f77f0746bc9a2957da464abeea02f8682ac27673d7f2 882112 apache2_2.4.46-2.debian.tar.xz
Files: 
 967f3e127bb168c9c06ca66f6c567a3a 3501 httpd optional apache2_2.4.46-2.dsc
 d6243a2866a469866f915bb05c709fdf 882112 httpd optional apache2_2.4.46-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEAN/li4tVV3nRAF7J9tdMp8mZ7ukFAl+urrUACgkQ9tdMp8mZ
7ul/Bg/9HlVNl7WBSldEdBKt9iPQIVi6We1Xn9wTaOe2RmhiHLXO8KAV+XV0SQwS
oAMEtI9vAAc2QXGyYsWVpJuA9dflkvbZXtpCLQ3cz2C1YlQyFXpHSGC+ldYAEJ0G
HY3Y7DA+/crPA0WlIrrxWEaImYYJ3okyEE0IpZFZKi9r1Pg5btorPXxKiGkvnt3T
paTybcoGbPl+xajr7NNw+fMizx9bJPnNwGZ5RtbeZklptPWXxobot2QFeM6wz/oa
2lltJ2rAbPtbnhSDAwpp6k2/ymif9M9/K68od1iTU2oyWYXnVsnFT61P5LD2J54/
tSrTWpcDEpGI7QZTwuX5aSGD3J7bxihRmVdzo7w6oI5dU/VQRgDS6bRj2WHqprTa
L/iSV2ImF/6khO6y1+q3JvQDfV3rzY8XAIZ+1hHg2jqrG8+GoeJ0n8pxfeRUbMbE
tIzZMUoM2aIix6aWBf6PbY53zuoCwM++HpO73/bzwC8uUvP3USafwE7Om8/0RJgo
nR76gwcWZZoDK5htiBHnDLxKQdR/J35dHwW7IaXeJWVhuuf0XGbFHHXrpqEDrVy4
WHflsAXa+8kWrNEksLdYsDnLfvIXwhu9DM9ypaISrefNiVZEevewuIBfpTJAXTdn
Do1sAazpROlb26pxNebi8UwHR+luLnDMs3mggy7XykIn2HZQ1ng=
=reW9
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: