Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 363758 Details for
Bug 492222
apache2 init.d script starts apache but reports it as "failed to start" when pidfile exists
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed fix
initd-fix.patch (text/plain), 689 bytes, created by
Roman Barczyński
on 2013-11-21 20:35:24 UTC
(
hide
)
Description:
proposed fix
Filename:
MIME Type:
Creator:
Roman Barczyński
Created:
2013-11-21 20:35:24 UTC
Size:
689 bytes
patch
obsolete
>--- www-servers/apache/files/gentoo-apache-2.2.23-initd_fixups.patch.orig 2013-11-21 21:32:55.877361532 +0100 >+++ www-servers/apache/files/gentoo-apache-2.2.23-initd_fixups.patch 2013-11-21 21:33:27.509366083 +0100 >@@ -4,12 +4,13 @@ > > --- gentoo-apache-2.2.23/init/apache2.initd > +++ gentoo-apache-2.2.23/init/apache2.initd >-@@ -77,12 +77,13 @@ >+@@ -77,12 +77,14 @@ > # Use start stop daemon to apply system limits #347301 > start-stop-daemon --start -- ${APACHE2} ${APACHE2_OPTS} -k start > > - i=0 > + local i=0 retval=1 >++ [ -e "${PIDFILE}" ] && retval=0 > while [ ! -e "${PIDFILE}" ] && [ $i -lt ${TIMEOUT} ]; do > sleep 1 && i=$(expr $i + 1) > + [ -e "${PIDFILE}" ] && retval=0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 492222
:
363756
| 363758