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

Bug #456381 reported by Lars Noodén
22
This bug affects 2 people
Affects Status Importance Assigned to Milestone
apache2 (Ubuntu)
Fix Released
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}

Revision history for this message
Lars Noodén (larsnooden) wrote :
Revision history for this message
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)
Revision history for this message
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
Revision history for this message
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

Revision history for this message
Lars Noodén (larsnooden) wrote :

Chuck, what information do you think is missing?

Revision history for this message
Chuck Short (zulcss) wrote :

Thanks that the information that I need.
Regards
chuck

Changed in apache2 (Ubuntu):
status: Incomplete → Triaged
Revision history for this message
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  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.