Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 93155

Summary: net-www/apache-2.0.54-r4: '-E /var/log/apache2/startuperror.log' called twice
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: [OLD] ServerAssignee: Apache Team - Bugzilla Reports <apache-bugs>
Status: RESOLVED FIXED    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Other   
Whiteboard:
Package list:
Runtime testing required: ---

Description Toralf Förster gentoo-dev 2005-05-19 01:43:28 UTC
n22 /etc/conf.d # ps -ef | grep apache2 | head -n 1 | cut -f2- -d/
usr/sbin/apache2 -k start -D DOC -D PHP4 -D SSL -D DAV -D SVN -D SVN_AUTHZ -D
DAV_FS -D JK -E /var/log/apache2/startuperror.log -E
/var/log/apache2/startuperror.log


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Toralf Förster gentoo-dev 2005-05-23 02:42:19 UTC
Interesting, adding 2 test lines into /etc/init.d/apache2:

[ "x${CONFIGFILE}" != "x" ] && APACHE2_OPTS="${APACHE2_OPTS} -f ${CONFIGFILE}"
einfo "before: ${APACHE2_OPTS}"
[ "x${STARTUPERRORLOG}" != "x" ] && APACHE2_OPTS="${APACHE2_OPTS} -E
${STARTUPERRORLOG}"
einfo "after: ${APACHE2_OPTS}"
# set a default for PIDFILE/RESTARTSTYLE for those that FAILED to follow

yields in:
n22 /etc/init.d # /etc/init.d/apache2 start
 * before: -D DOC -D PHP4 -D SSL -D DAV -D SVN -D SVN_AUTHZ -D DAV_FS -D JK -E
/var/log/apache2/startuperror.log
 * after: -D DOC -D PHP4 -D SSL -D DAV -D SVN -D SVN_AUTHZ -D DAV_FS -D JK -E
/var/log/apache2/startuperror.log -E /var/log/apache2/startuperror.log
 * Starting apache2...   


whereas commenting out the line:

einfo "before: ${APACHE2_OPTS}"
#[ "x${STARTUPERRORLOG}" != "x" ] && APACHE2_OPTS="${APACHE2_OPTS} -E
${STARTUPERRORLOG}"
einfo "after: ${APACHE2_OPTS}"

yields in:

n22 /etc/init.d # /etc/init.d/apache2 start
 * before: -D DOC -D PHP4 -D SSL -D DAV -D SVN -D SVN_AUTHZ -D DAV_FS -D JK
 * after: -D DOC -D PHP4 -D SSL -D DAV -D SVN -D SVN_AUTHZ -D DAV_FS -D JK
 * Starting apache2...        
Comment 2 Toralf Förster gentoo-dev 2005-06-13 02:38:56 UTC
problem is gone, either because of emerging net-www/apache-2.0.54-r7 or by
sys-apps/baselayout-1.11.12-r4

should this bug report stay opened or can it be closed ? 
Comment 3 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2005-07-11 20:07:29 UTC
closing per reporter