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

Bug#798430: marked as done (apache2: please add systemd service file)



Your message dated Thu, 29 Sep 2016 11:24:42 +0000
with message-id <E1bpZSE-0000Jp-Sp@franck.debian.org>
and subject line Bug#798430: fixed in apache2 2.4.23-5
has caused the Debian Bug report #798430,
regarding apache2: please add systemd service file
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.)


-- 
798430: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798430
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apache2
Severity: wishlist

Dear maintainers,

thanks for your work on this important pacakge. It's really appreciated.

Current apache2 package lacks of systemd service file (though is well
integrated with systemd due to glue scripts)

I would like to have a native systemd service file. Among other things,
we can benefit of:
 * systemd security features (i.e ProtectHome= and ProtectSystem= and more)
 * watchdog capabilities by systemd

There are lot of basic apache2 systemd service files in the net to get ideas for
debian one, for example (needs to be debianized, of course):

========= 8< =========
[Unit]
Description=Apache 2 HTTP Web Server
After=network.target

[Service]
Type=forking
EnvironmentFile=/etc/conf.d/apache2
ExecStart=/usr/sbin/apache2 -k start $APACHE2_OPTS
ExecStop=/usr/sbin/apache2 -k graceful-stop $APACHE2_OPTS
ExecReload=/usr/sbin/apache2 -k graceful $APACHE2_OPTS
PIDFile=/var/run/apache2.pid
StandardOutput=syslog
StandardError=syslog
Restart=always
ProtectHome=yes
ProtectSystem=full

[Install]
WantedBy=multi-user.target
WantedBy=http-daemon.target
========= 8< =========

best regards.

--- End Message ---
--- Begin Message ---
Source: apache2
Source-Version: 2.4.23-5

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 798430@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Raphaël Hertzog <hertzog@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: Thu, 29 Sep 2016 12:03:31 +0200
Source: apache2
Binary: apache2 apache2-data apache2-bin apache2-utils apache2-suexec-pristine apache2-suexec-custom apache2-doc apache2-dev apache2-dbg
Architecture: source
Version: 2.4.23-5
Distribution: unstable
Urgency: low
Maintainer: Debian Apache Maintainers <debian-apache@lists.debian.org>
Changed-By: Raphaël Hertzog <hertzog@debian.org>
Description:
 apache2    - Apache HTTP Server
 apache2-bin - Apache HTTP Server (modules and other binary files)
 apache2-data - Apache HTTP Server (common files)
 apache2-dbg - Apache debugging symbols
 apache2-dev - Apache HTTP Server (development headers)
 apache2-doc - Apache HTTP Server (on-site documentation)
 apache2-suexec-custom - Apache HTTP Server configurable suexec program for mod_suexec
 apache2-suexec-pristine - Apache HTTP Server standard suexec program for mod_suexec
 apache2-utils - Apache HTTP Server (utility programs for web servers)
Closes: 798430
Changes:
 apache2 (2.4.23-5) unstable; urgency=low
 .
   * Team upload.
 .
   [ Stefan Fritsch ]
   * Tweak creation of .tar.gz embedded in preinst to get reproducible
     build.
 .
   [ Raphaël Hertzog ]
   * Add systemd unit files. Closes: #798430
   * Improve a2enmod to enable apache-htcacheclean with systemctl and let
     it enable 'apache-htcacheclean@instance.service' for multi-instance
     support.
   * Improve setup-instance to rely on the systemd apache2@instance.service for
     multi-instance support.
   * Drop /lib/systemd/system/apache2.service.d/forking.conf now that we have
     proper native systemd support.
   * Modify handling of /etc/init.d/apache-htcacheclean to have a usual
     Default-Start value but instead we disable it manually in the postinst.
     That way "systemctl enable apache-htcacheclean" works.
   * Add some lintian overrides for non-problems (two update-rc.d calls in
     postinst, and a .js file with a very long line).
Checksums-Sha1:
 804932ea749788c4648e625a883a5b20b13d7298 2414 apache2_2.4.23-5.dsc
 46b289b6df0ddce43c4c74c1523887aafa823e8c 353676 apache2_2.4.23-5.debian.tar.xz
Checksums-Sha256:
 640a5ffb8429890a5c20fa67af8c135e10a624634e0f3cf64ea636bd906cf142 2414 apache2_2.4.23-5.dsc
 c2715174a1c1adffbb4e3a4acf2ed046e25838fde41c877e525b708833db45fa 353676 apache2_2.4.23-5.debian.tar.xz
Files:
 b782369456ddb19959d0b089dddb46fd 2414 httpd optional apache2_2.4.23-5.dsc
 78b111c95d802766f3da8015ebe59763 353676 httpd optional apache2_2.4.23-5.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Comment: Signed by Raphael Hertzog

iQEcBAEBCgAGBQJX7O7YAAoJEAOIHavrwpq5ND4H/2Dr/15Z4SZ12RR08i7/ttcP
Tm0F+LajnYz6E+BYxxkYIoxE3ugPBJeO0Z+5XIC6qTcRQDkWZPi61xNIqVPvpmd0
z7iCMoiO/pdsOaRCKirHbr8ldF+3op+2h8ksm20Nc6YzsfyW9Hq/XmcQ5I2OJc9T
WCUQya9aZ2svQZQrpBOLJZWZI86VbIFneUCEnoLwPvMhOlc/qdMipINy1ciLFPhE
3eAf/z8aDGXzGl0e+CIiFMk1pqZhCocyOsTe85GCa+oobAfoffr/7ikP2i+J7HC5
hqwDdZSZx04PObEEQnOZJOiO4IfmNRlYbB9uouaOaO1JoWM6nvSJJqsWZZxAj0k=
=CloC
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: