In www-servers/apache-2.2.6-r1, the init.d/apache2 script does not have ${APACHE2_OPTS} in the functions reload() graceful() gracefulstop(). I try to reload apache with: /etc/init.d/apache2 reload, I get errors because the defines from APACHE2_OPTS in conf.d/apache2 are not present and so ssl and other modules are not loaded. Adding in ${APACHE2_OPTS} in these functions got rid of these errors for me. I will attach the init.d/apache2 which works for me. I'm not sure what the preferred method is to turn it directly into a patch, but if someone would let me know I could post the patch too. Reproducible: Always Steps to Reproduce: 1.Enable SSL option in conf.d 2.Have some SSL options in a config file without protective <IfDefine SSL> (I know this may be bad style, but the reload is not checking these portions of config files anyways, so if there was truely a bad directive in here there would be a problem) 3./etc/init.d/apache2 4./etc/init.d/apache2 reload
Created attachment 132419 [details] /etc/init.d/apache2 with ${APACHE2_OPTS} added where missing
Reopen with a unifies diff, thanks.
What does this mean? (In reply to comment #2) > Reopen with a unifies diff, thanks. >
diff -Nau <old_file> <new_file>
Created attachment 132424 [details, diff] patch for /etc/init.d/apache2
Reopening with patch. I hope the filenames are okay in the patch, I wasn't sure what to call the old and new file so i named the distributed file apache2.dist and the updated file apache2.new Let me know if there is a more canonical form.
fixed in 2.2.6-r2