Bug#895237: marked as done (apache2: apachectl restarts don't work properly with all init systems (namely not with systemd))

"Debian Bug Tracking System" <[email protected]> Sun, 01 Feb 2026 16:47:12 +0000
Newsgroups gmane.linux.debian.devel.apache
Message-ID <[email protected]>
This is a multi-part message in MIME format...

------------=_1769964432-3680570-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Your message dated Sun, 01 Feb 2026 16:53:47 +0100
with message-id <3170649.yKVeVyVuyW@debian-ei>
and subject line Done 895237
has caused the Debian Bug report #895237,
regarding apache2: apachectl restarts don't work properly with all init sys=
tems (namely not with systemd)
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 [email protected]
immediately.)


--=20
895237: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D895237
Debian Bug Tracking System
Contact [email protected] with problems

------------=_1769964432-3680570-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.debian.org; 8 Apr 2018 17:33:37 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.1-bugs.debian.org_2005_01_02
	(2015-04-28) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-14.4 required=4.0 tests=BAYES_00,FOURLA,HAS_PACKAGE,
	RCVD_IN_DNSWL_NONE,TXREP,XMAILER_REPORTBUG autolearn=ham autolearn_force=no
	version=3.4.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 48; hammy, 141; neutral, 34; spammy,
	0. spammytokens: hammytokens:0.000-+--sk:python3, 0.000-+--python3,
	0.000-+--H*x:7.1.7, 0.000-+--H*UA:7.1.7, 0.000-+--H*M:reportbug
Return-path: <[email protected]>
Received: from mout.kundenserver.de ([217.72.192.75])
	by buxtehude.debian.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
	(Exim 4.89)
	(envelope-from <[email protected]>)
	id 1f5EBy-0002LF-QD
	for [email protected]; Sun, 08 Apr 2018 17:33:33 +0000
Received: from proliant.in.heitkoetter.net ([188.118.174.123]) by
 mrelayeu.kundenserver.de (mreue105 [212.227.15.183]) with ESMTPSA (Nemesis)
 id 0M72xB-1eKHot26S5-00wlVG; Sun, 08 Apr 2018 18:51:14 +0200
Received: from wolke.fritz.box ([192.168.178.10] helo=wolke.in.heitkoetter.net)
	by proliant.in.heitkoetter.net with esmtp (Exim 4.89)
	(envelope-from <[email protected]>)
	id 1f5DX8-0009W9-0Y; Sun, 08 Apr 2018 18:51:14 +0200
Received: from jan by wolke.in.heitkoetter.net with local (Exim 4.89)
	(envelope-from <[email protected]>)
	id 1f5DX7-0008Cs-7S; Sun, 08 Apr 2018 18:51:13 +0200
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: =?utf-8?q?Jan_Heitk=C3=B6tter?= <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: certbot: Stop/start Apache using systemctl instead of apachectl
Message-ID: <152320627314.25713.4008837136041031360.reportbug@wolke.in.heitkoetter.net>
X-Mailer: reportbug 7.1.7
Date: Sun, 08 Apr 2018 18:51:13 +0200
X-Provags-ID: V03:K1:P/LXqCa5R42m5qQXxg9NDhIr6/eK1txnwBiDP5vsnMxSJnarS11
 wrP6hmcfoWPDHd17TeZ82FqxdEWzKsgKSxI7huJoQB4MhAtfPQHV5lgfEzU5HjPa5T9NHG6
 SujyOIEPjlhHgBlXD+LJmlLiX37Gids2LI5ZvlUThKvBX3Ptb0E4YrN0Fw1GHNBJ1vhGgwe
 nYMPNXeIGSTxnU20Mk+1g==
X-UI-Out-Filterresults: notjunk:1;V01:K0:bWEn4AWILFw=:5KYx2noNlL5M5wC+lj0Of3
 /jHrOdPgULdOaLjg44Bp11akIXShc8b1LRxYCtU8/xZFhiTqvH1zRMtEsliDZtLMJVGf0mdEY
 jIxIRJESpPAW5GVQ3tIpgNrDIgaEHY+0x9+RJTi9pYsMlBEkzsQGdXZkB6Q4L5Y5AO7TMpkfe
 cCxJWKn4F0tmY8Tm39aih2gSLyAsxqWFhsmYyHhUC+McOr/q7BdOQLfO8J7aMY6qeFSnsLAEs
 5HULL6uC4+1KLmK0xnMV+BiKfD9f1u455hD4Qx/1bHIb+Ah5VMpeOZ1BdxI/xM3u0rrkhpUBS
 Z1Wy09uqX4PzaxZiNyPj+KzzRlJQmPb4nPy19qeTFmeywCUfuEbG2jh8vze+Xh5qqPsirruuc
 mruzIn9OHUHtRIzC0wluwtjJMZMEUrCsXFaxbIuOQ5w+JyectN8R18GBYbLCBOoUtblh3As7X
 ZxvgPv4GI9WVkMkYQgJv/aWj30UBHbqngRwgYfObrCnlyLqR8RtlG2Fm7pOk61gudL0DV9vT2
 pbbdT5T5caYkD4jQxN7UCkCw4QdwsPq432Fq87nDe9DKM43M5TX70Y5LDpHqoSwZuHPQugmky
 kVEoUwzMOOR67xq2JrgYR/VV0N6MERaUSXVM5gJrdqQW8tdCk5cdaiCiOJ5KubH79MXsloMK+
 eT7sMzaHhi2Du9nNbCDo/nt2qzIEjH1gNWM1WHQCvJtcLXItZ4NI1hYog0T+p6G+gwqygQagc
 8zE5MrCzkXSyJljwFu73x7Bl2eaVvOctFo0KfkWnLxsjC0ejmNtJ2QtVSLc=
Delivered-To: [email protected]

Package: certbot
Version: 0.21.1-1~bpo9+1
Severity: normal

Dear Maintainer,

on certificate renewal certbot will stop Apache and start it afterwards. 
The relevant commands are pre_hook and post_hook in 
/etc/letsencrypt/renewal/CERTNAME.conf.

Default behaviour is do stop/start Apache using apachectl which fails in 
installations running systemd. Apache will stop, but not start again.

Fix: use systemctl to start/stop Apache.

Regards

Jan


-- System Information:
Debian Release: 9.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-6-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages certbot depends on:
ii  python3          3.5.3-1
ii  python3-certbot  0.21.1-1~bpo9+1

certbot recommends no packages.

Versions of packages certbot suggests:
pn  python-certbot-doc      <none>
ii  python3-certbot-apache  0.21.1-1~bpo9+1
pn  python3-certbot-nginx   <none>

-- no debconf information

------------=_1769964432-3680570-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 895237-done) by bugs.debian.org; 1 Feb 2026 16:45:35 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
	(2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-111.2 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
	DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,
	PGPSIGNATURE,SPF_HELO_NONE,SPF_NONE,UNPARSEABLE_RELAY,
	USER_IN_DKIM_WELCOMELIST,VERSION autolearn=ham autolearn_force=no
	version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 13; hammy, 68; neutral, 14; spammy, 0.
	spammytokens: hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
	0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
	0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: <[email protected]>
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:46886)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <[email protected]>)
	id 1vmZlm-00FJW6-0r
	for [email protected];
	Sun, 01 Feb 2026 15:53:50 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org;
	s=smtpauto.stravinsky; h=X-Debian-User:Content-Type:MIME-Version:Message-ID:
	Date:Subject:To:From:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:
	Content-Description:In-Reply-To:References;
	bh=k1vgSmCmYEWO+ZW96VUTGkKXg5+rtekYkQSMEqal9os=; b=jXUpwyXq1ZdvZWODyFvnF3uBqr
	/mgl/Vi9AeyvY3Ex6Ie/5KsDHDPxVfr7eUSOFHHFDX15rtBjfjCVYcGVrFmDtZ07ux3AEHSnWb181
	X1/JlVgkPOibrxcR/KQ0xqSGOTCXW+U5dHYuh7qAdtwzHX1gS3tTaJRiuQMEyI9DRe+eHtwXsBSxi
	X4v7cx8uBrqebfxi3YFdnaEOeyUrhtm+mxN0n24ujUimac2VgFx3ysjv8TaGNzzq+JA8YWK/zIEyR
	CDKe3tuop/DmI/wKmRj6tdE/PEbtxYF13uQt9Xj3amZeRE3xaxcVfXygjQjYhpQUHLA8B0F1g3rBm
	n8YMh/7w==;
Received: from authenticated user
	by stravinsky.debian.org with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.94.2)
	(envelope-from <[email protected]>)
	id 1vmZlk-003Nuo-EF
	for [email protected]; Sun, 01 Feb 2026 15:53:48 +0000
From: Bastien Roucaries <[email protected]>
To: [email protected]
Subject: Done 895237
Date: Sun, 01 Feb 2026 16:53:47 +0100
Message-ID: <3170649.yKVeVyVuyW@debian-ei>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="nextPart3346321.OBFZWjSADL";
 micalg="pgp-sha512"; protocol="application/pgp-signature"
X-Debian-User: rouca

--nextPart3346321.OBFZWjSADL
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="utf-8"; protected-headers="v1"
From: Bastien Roucaries <[email protected]>
To: [email protected]
Subject: Done 895237
Date: Sun, 01 Feb 2026 16:53:17 +0100
Message-ID: <3170649.yKVeVyVuyW@debian-ei>
MIME-Version: 1.0

version: 2.4.65-1

Should be fixed by apachectl rewrite and do not use the -k option

so close

Reopen if needed
--nextPart3346321.OBFZWjSADL
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part.
Content-Transfer-Encoding: 7Bit

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

iQIzBAABCgAdFiEEXQGHuUCiRbrXsPVqADoaLapBCF8FAml/du0ACgkQADoaLapB
CF/c1A//QNaAGi8pmO6prQlmLrgKAdzEAodiVSjXYUb6ZbwgCN1++NW7+d+FLCBW
Nlwnre39MDatnxfYqkYif6lZauO1qmp8x94tU5NYPu5b0kLin/OsR9ZOBQ8T/nhe
a63PuT1PMrplyYBZaXYnxoQgRzdDaDOBMWSgJO65ofVGxCoY0/MmXJSSQJMyZa02
4QM3/qa76y4IXjAXb+e/E7gaffBvblmuzq0bmzsJPoqGCC9EvMWAhxgA483pf6Nx
+fjnD9UiNkUQ9FJ6JStE+ZENT5HDSM7kyfrKNn2f1HHMB32Av46aah3YlfmKUV8b
LGkFMcllLmhyBDlrXeLeYJ7F7mbPldEy7BDkmA7HxI6YL8W2EWzHl0AQRNnDfD76
QfB97UBeWUsESeHwCR5rYDQbcfsIamPRbcKh4UKpRGOTg4VyP4kirT5zmLfgQomv
TqfTMDTpK7QmEyIjvY2dyNthSjedu4gWeMiGMgF+E4URiU5G6/eDPpkks32jlh7O
+pob2sZIO9fJXloOip4NTGW2ANS/LFZ62/DfIRBf73BH8I3D23/8uoqyV0migslh
ohx+g/xDsfecd8KCVZ5IBaSnMtW7UBcRlgPmlKJeC+LkkB6vf+6QZCchpBlGzvx9
u/Q+FO+dxjQ53BZIxFj+uhy+u46ckB4ebhyuWrJZG1AsA8eJW1M=
=b7KK
-----END PGP SIGNATURE-----

--nextPart3346321.OBFZWjSADL--
------------=_1769964432-3680570-0--