in function gracefulstop line: ${APACHE2} ${APACHE2_OPTS} -k gracefulstop must be: ${APACHE2} ${APACHE2_OPTS} -k graceful-stop Reproducible: Always Steps to Reproduce: /etc/init.d/apache2 gracefulstop Actual Results: * Gracefully stopping apache2 ... apache2: illegal option -- k possible typo in apache2.initd. cd /tmp tar -xjf /usr/portage/distfiles/gentoo-apache-2.2.8-20080119.tar.bz2 grep -B 9 -A 2 -e '-k gracefulstop' gentoo-apache-2.2.8/init/apache2.initd
http://sources.gentoo.org/viewcvs.py/apache/trunk/dist/2.2/init/apache2.initd?view=markup
fixed in svn, thanks