http://bugzilla.suse.com/show_bug.cgi?id=1107930
http://bugzilla.suse.com/show_bug.cgi?id=1107930#c1
Petr Gajdos changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |luipugs@yahoo.com
Flags| |needinfo?(luipugs@yahoo.com
| |)
--- Comment #1 from Petr Gajdos ---
Hi Luis,
thanks for your report and detailed analysis.
However, whole thing is designed that way that it is strictly distinguished
between run via systemd service (a.k.a start_apache2) and manual run via
/usr/sbin/httpd*.
When start_apache2 script is used, then sysconfig variables are considered.
When manual run is used, then sysconfig variables should not have any
influence.
This change was made when instances was introduced (fate#317786) to keep
complexity of scripts and possible side effects of various combinations down.
At the end, the /usr/bin/httpd link is therefore created by hardcoded
preference in:
*prefork*) HTTPD_MPM=prefork;;
*worker*) HTTPD_MPM=worker;;
*event*) HTTPD_MPM=event;;
in case there are more MPMs installed.
When I do:
# zypper in apache2-event
# ls -l /usr/sbin/httpd
lrwxrwxrwx 1 root root 21 Sep 11 15:37 /usr/sbin/httpd -> /usr/sbin/httpd-event
# zypper in apache2-worker
# ls -l /usr/sbin/httpd
lrwxrwxrwx 1 root root 22 Sep 11 15:37 /usr/sbin/httpd ->
/usr/sbin/httpd-worker
#
This sounds reasonable to me. However, it does not work while package
uninstall:
# zypper rm apache2-worker
# ls -l /usr/sbin/httpd
lrwxrwxrwx 1 root root 22 Sep 11 15:37 /usr/sbin/httpd ->
/usr/sbin/httpd-worker
#
This is certainly subject to fix.
Are you satisfied by the answer?
--
You are receiving this mail because:
You are on the CC list for the bug.