I have ACCEPT_KEYWORDS="~x86" in my make.conf I did an emerge apache. Apache installs. I try to do /etc/init.d/apache2 start This fails with an error Notice the Init script. The start function has a -- and then -k which is not an option for start-stop-daemon start() { checkconfig || return 1 ebegin "Starting apache2" [ -f /var/log/apache2/ssl_scache ] && rm /var/log/apache2/ssl_scache env -i PATH=$PATH /sbin/start-stop-daemon --quiet \ --start --startas /usr/sbin/apache2 \ --pidfile ${PIDFILE} -- -k start ${APACHE2_OPTS} eend $? } Reproducible: Always Steps to Reproduce: 1.emerge apache 2./etc/init.d/apache2 start 3. Apache does not start apache2ctl start works just fine and apache starts
Oh sorry this is Apache Version 2.0.48-r2
*arms LART* you didn't do an etc-update of /etc/conf.d/apache2 .... it should contain PIDFILE and RESTARTSTYLE ! i've put a catch into the checkconfig() block of /etc/init.d/apache2 for the next person that reports this 'bug' (you are the fourth...)