You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2010/11/27 21:17:37 UTC

DO NOT REPLY [Bug 50350] New: unusual behavior of httpd with no -k

https://issues.apache.org/bugzilla/show_bug.cgi?id=50350

           Summary: unusual behavior of httpd with no -k
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: covener@gmail.com


when httpd is invoked without any -k option, mpm_common never registers
ap_signal_server, which causes main() in server/main.c to continue through to
startup-style processing without trying to look for an old pidfile.

e.g.

apachectl -f conf/httpd.conf
sleep 2
apachectl -f conf/httpd.conf


vs. any of the normal forms (single apachectl positional argument, or trailing
-k start). 

Possible solutions would be to treat lack of -k arg even more like "start" and
register signal_server, or blow up in the rewrite args hook (and check its
return value) when no -k at all is present (maybe this in trunk?).

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 50350] unusual behavior of httpd with no -k

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50350

Eric Covener <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |FixedInTrunk

--- Comment #1 from Eric Covener <co...@gmail.com> 2010-11-28 19:12:43 EST ---
r1039989 in trunk checks the pidfile when this implied -k start is being used.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 50350] unusual behavior of httpd with no -k

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50350

Eric Covener <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Eric Covener <co...@gmail.com> 2010-12-04 07:52:10 EST ---
not backporting

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org