<div dir="ltr"><div>reassign 895237 apache2 2.4.33-1</div><div>retitle 895237 apache2: apachectl does not use systemd for restarts</div><div>affects 895237 certbot</div><div>thanks<br></div><div><br></div><div>Hi Jan,</div><div><br></div><div>Hm, looks like this is actually a bug over in apache-land.  We do the right thing for `apachectl start` in terms of wrapping to use systemd, but we don't do that during `apachectl restart`.</div><div><br></div><div>Apache folx, can we potentially just turn restart into a shim that calls `apachectl stop` and `apachectl start`?  That will solve the problem with the least amount of fuss.</div><div><br></div><div>Sincerely,<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Apr 8, 2018 at 12:51 PM, Jan Heitkötter <span dir="ltr"><<a href="mailto:jan@heitkoetter.net" target="_blank">jan@heitkoetter.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Package: certbot<br>
Version: 0.21.1-1~bpo9+1<br>
Severity: normal<br>
<br>
Dear Maintainer,<br>
<br>
on certificate renewal certbot will stop Apache and start it afterwards.<br>
The relevant commands are pre_hook and post_hook in<br>
/etc/letsencrypt/renewal/<wbr>CERTNAME.conf.<br>
<br>
Default behaviour is do stop/start Apache using apachectl which fails in<br>
installations running systemd. Apache will stop, but not start again.<br>
<br>
Fix: use systemctl to start/stop Apache.<br>
<br>
Regards<br>
<br>
Jan<br>
<br>
<br>
-- System Information:<br>
Debian Release: 9.4<br>
  APT prefers stable<br>
  APT policy: (500, 'stable')<br>
Architecture: amd64 (x86_64)<br>
<br>
Kernel: Linux 4.9.0-6-amd64 (SMP w/2 CPU cores)<br>
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)<br>
Shell: /bin/sh linked to /bin/dash<br>
Init: systemd (via /run/systemd/system)<br>
<br>
Versions of packages certbot depends on:<br>
ii  python3          3.5.3-1<br>
ii  python3-certbot  0.21.1-1~bpo9+1<br>
<br>
certbot recommends no packages.<br>
<br>
Versions of packages certbot suggests:<br>
pn  python-certbot-doc      <none><br>
ii  python3-certbot-apache  0.21.1-1~bpo9+1<br>
pn  python3-certbot-nginx   <none><br>
<br>
-- no debconf information<br>
<br>
______________________________<wbr>_________________<br>
Letsencrypt-devel mailing list<br>
<a href="mailto:Letsencrypt-devel@lists.alioth.debian.org">Letsencrypt-devel@lists.<wbr>alioth.debian.org</a><br>
<a href="https://lists.alioth.debian.org/mailman/listinfo/letsencrypt-devel" rel="noreferrer" target="_blank">https://lists.alioth.debian.<wbr>org/mailman/listinfo/<wbr>letsencrypt-devel<br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Harlan Lieberman-Berg<br>~hlieberman</div>
</a></blockquote></div>
</div>