/etc/init.d/apache2 missing option to stop gracefully

Bug #456381 reported by Lars Noodén on 2009-10-20
22
This bug affects 2 people
Affects Status Importance Assigned to Milestone
apache2 (Ubuntu)
Low
Unassigned

Bug Description

/etc/init.d/apache2 uses regular stop instead of graceful-stop:
i.e. instead of
                $APACHE2CTL stop 2>&1 | grep -v 'not running' >&2 || true
 use
                $APACHE2CTL graceful-stop 2>&1 | grep -v 'not running' >&2 || true

I would expect either graceful-stop to be the default or to allow it as an option:
i.e. instead of
                $ /etc/init.d/apache2
                 * Usage: /etc/init.d/apache2 {start|stop|restart|reload|force-reload|start-htcacheclean|stop-htcacheclean|status}
use
                $ /etc/init.d/apache2
                 * Usage: /etc/init.d/apache2 {start|stop|graceful-stop|restart|reload|force-reload|start-htcacheclean|stop-htcacheclean|status}

Lars Noodén (larsnooden) wrote :
Brian Murray (brian-murray) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This bug did not have a package associated with it, which is important for ensuring that it gets looked at by the proper developers. You can learn more about finding the right package at https://wiki.ubuntu.com/Bugs/FindRightPackage. I have classified this bug as a bug in apache2.

When reporting bugs in the future please use apport, either via the appropriate application's "Help -> Report a Problem" menu or using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

affects: ubuntu → apache2 (Ubuntu)
Chuck Short (zulcss) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Unfortunately, we can't fix it because your description didn't include enough information. You may find it helpful to read "How to report bugs effectively" http://www.chiark.greenend.org.uk/~sgtatham/bugs.html. We'd be grateful if you would then provide a more complete description of the problem. We have instructions on debugging some types of problems at http://wiki.ubuntu.com/DebuggingProcedures.
At a minimum, we need:
1. the specific steps or actions you took that caused you to encounter the problem,
2. the behavior you expected, and
3. the behavior you actually encountered (in as much detail as possible).
Thanks!

When reporting bugs in the future please use apport, either via the appropriate application's "Help -> Report a Problem" menu or using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

Changed in apache2 (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Lars Noodén (larsnooden) wrote :

$ apt-cache policy apache2
apache2:
  Installed: 2.2.12-1ubuntu2
  Candidate: 2.2.12-1ubuntu2
  Version table:
 *** 2.2.12-1ubuntu2 0
        500 http://fi.archive.ubuntu.com karmic/main Packages
        100 /var/lib/dpkg/status

$ lsb_release -rd
Description: Ubuntu 9.10
Release: 9.10

Lars Noodén (larsnooden) wrote :

Chuck, what information do you think is missing?

Chuck Short (zulcss) wrote :

Thanks that the information that I need.
Regards
chuck

Changed in apache2 (Ubuntu):
status: Incomplete → Triaged
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apache2 - 2.2.14-5ubuntu4

---------------
apache2 (2.2.14-5ubuntu4) lucid; urgency=low

  * debian/patches/99-fix-mod-dav-permissions.dpatch: Fix permisisons when
    downloading files from webdav (LP: #540747)
  * debian/apache2.2-common.apache2.init: Add graceful restart (LP: #456381)
 -- Chuck Short <email address hidden> Mon, 29 Mar 2010 13:37:39 -0400

Changed in apache2 (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Bug attachments