https://bugzilla.novell.com/show_bug.cgi?id=207905 Summary: rcapache2 reload should do configtest Product: SUSE Linux 10.1 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: poeml@novell.com ReportedBy: suse-beta@cboltz.de QAContact: qa@suse.de rcapache2 reload can cause apache to shutdown if there's an error in httpd.conf or one of the files included from there. It's probably needless to say that this is somewhere between annoying and awkward - depending on the number of customers and the amount of changes needed to make apache running again ;-) /etc/init.d/apache2 should do a configtest before reload: --- /etc/init.d/apache2_orig 2006-09-24 21:46:51.000000000 +0200 +++ /etc/init.d/apache2 2006-09-24 21:49:24.000000000 +0200 @@ -204,6 +204,8 @@ rc_status -v ;; reload|force-reload|graceful) + $0 configtest "$@" || { rc_failed $?; rc_exit; } + echo -n "Reload httpd2 (graceful restart)" cmdline=$(echo $apache_bin -f $httpd_conf $server_flags "$@") if eval $cmdline -t &> $logdir/rc$pname.out; then -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.