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

Bug 38158

Summary: Apache 2 doesn't start after update to version 2.0.48-r2 due to error in init-script
Product: Gentoo Linux Reporter: Roman Dilken <bugzilla>
Component: [OLD] Core systemAssignee: Gentoo Web Application Packages Maintainers <web-apps>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Roman Dilken 2004-01-14 04:32:02 UTC
After we updated apache2 to version 2.0.48-r2 and did an etc-update we could not start apache2. The init-script complains about a wrong option -k.
It seems that the start-stop-daemon does not deliver the apache-options to apache but takes them for itself.
This bug has been reproducible on two machines.
Starting apache2 by hand does fine.

Reproducible: Always
Steps to Reproduce:
1. emerge -uD apache
2. etc-update
3. /etc/init.d/apache2 stop
4. /etc/init.d/apache2 start

Actual Results:  
/etc/init.d/apache2 start
 * Starting apache2...
/sbin/start-stop-daemon: invalid option -- k
Try `/sbin/start-stop-daemon --help' for more information.                [ !! ]


Expected Results:  
/etc/init.d/apache2 start
 * Starting apache2...                                                    [ OK ]

Portage 2.0.50_pre16 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031222-r0,
2.4.22-gentoo-r4)
=================================================================
System uname: 2.4.22-gentoo-r4 i686 Intel(R) Celeron(R) CPU 2.00GHz
Gentoo Base System version 1.4.3.12
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.7.8
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc sandbox"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo
ftp://gentoo.inode.at/source/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
http://ftp.easynet.nl/mirror/gentoo/
http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="acl acpi acpi4linux apache2 berkdb crypt fbcon gdbm gif gtk2 icc icc-pgo
imagemagick imap imlib jpeg ldap libwww mbox mpeg mpi ncurses nls pam perl php
pic png python readline sasl slang spell sse ssl tcpd tiff uclibc usb x86 xml2 zlib"
Comment 1 SpanKY gentoo-dev 2004-01-14 05:44:10 UTC

*** This bug has been marked as a duplicate of 38157 ***