/etc/init.d/apache script uses for stopping and restarting /usr/sbin/apachectl script... this apachectl script is not aware of /etc/conf.d/apache file. Problem: If apache server is not started and I use /etc/init.d/apache restart the apache is started WITHOUT modules specified in /etc/conf.d/apache version of ebuild: apache 1.3.26-r3
could you post /etc/conf.d/apache so i could see what you're talking about ?
There is no need to send all /etc/conf.d/apache 'cause there is only one line: APACHE_OPTS="-D SSL -D PHP4 -D PERL" Much more interesting is /etc/init.d/apache restart section: svc_restart() { ebegin "Gracefully restarting apache" /usr/sbin/apachectl graceful eend $? } As you can see, this script is using default apache start,stop script and this apachectl is not aware of gentoo's /etc/conf.d/apache file. So when apache is not running and I call /etc/init.d/apache restart (perfectly legal situation), the apache server is started WITHOUT modules defined by /etc/conf.d/apache.
Fixed this and unmasked -r4 --- Try it and let me know.
Fine... works... Now there is only one bug with apache start/stop script which I need to solve (I have to patch it each time I upgrade) ... It's bug #5556... :-)) Please, please look at it.... I have local primary DNS (127.0.0.1 in resolv.conf) so solving of this bug (#5556) is very important for me... Thanx a lot for your time..
I forgot to say you can close this bug as fixed...
bug reporters can close their own bugs