Re: [TEST] Apache 1.3.26 Release Candidate for Testing

2002-06-18 Thread Jos Backus
On Tue, Jun 18, 2002 at 02:25:36PM -0700, Jos Backus wrote: > --show-layout Hm, configure exits 0 before it's done generating files when show_layout=1. Any idea why this is? I commented out the ``exit 0'' and things seem to work just fin

Re: [TEST] Apache 1.3.26 Release Candidate for Testing

2002-06-18 Thread Jos Backus
make: *** [all] Error 2 What am I doing wrong? -- Jos Backus _/ _/_/_/Santa Clara, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/_/ [EMAIL PROTECTED] _/_/ _/_/_/use Std::Disclaimer;

Re: is httpd a valid way to start Apache?

2002-05-16 Thread Jos Backus
On Thu, May 16, 2002 at 07:27:46PM -0700, Manoj Kasichainula wrote: > On Wed, May 15, 2002 at 12:49:46PM -0701, Jos Backus wrote: > > It would be great to have a BSD-licensed version of > > something like djb's daemontools. > > I've (mostly) written replacement

Re: is httpd a valid way to start Apache?

2002-05-15 Thread Jos Backus
to be made available with a friendly license, would people such as the Apache developers promote them and use them? UNIX needs a standard cross-platform process monitoring solution so individual daemons can stop reinventing the wheel, and the standard control interface will mak

Re: is httpd a valid way to start Apache?

2002-05-15 Thread Jos Backus
/killall/etc. It would be great to have a BSD-licensed version of something like djb's daemontools. -- Jos Backus _/ _/_/_/Santa Clara, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/_/ [

Re: Deamon tools

2002-05-13 Thread Jos Backus
unless no_detach. > > should that be > exit(1) if no_detach > ? or do I have the logic backward? We should exit if setsid() fails and we don't want to detach (i.e. no_detach). If we don't exit at that point we will end up killing processes in the

Re: Deamon tools

2002-05-13 Thread Jos Backus
ts when I poke here." ...). > -aaron -- Jos Backus _/ _/_/_/Santa Clara, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/_/ [EMAIL PROTECTED] _/_/ _/_/_/use Std::Disclaimer;

Re: Deamon tools

2002-05-13 Thread Jos Backus
ch is part of the point of this patch. Am I missing something? -- Jos Backus _/ _/_/_/Santa Clara, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/_/ [EMAIL PROTECTED] _/_/ _/_/_/use Std::Disclaimer;

Re: 1.3.26

2002-05-13 Thread Jos Backus
On Mon, May 13, 2002 at 01:29:23PM -0700, Aaron Bannert wrote: > On Mon, May 13, 2002 at 12:25:39PM -0701, Jos Backus wrote: > > Anyone interested in picking this up before the next (last?) 1.3 release? > > > > http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7628 >

Re: 1.3.26

2002-05-13 Thread Jos Backus
Anyone interested in picking this up before the next (last?) 1.3 release? http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7628 Please? Thanks! -- Jos Backus _/ _/_/_/Santa Clara, CA

Re: 1.3.26

2002-04-19 Thread Jos Backus
gt; > http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7628 It would be even better if the patch were integrated so we wouldn't have to do the version chase every time :-) Now when the next version comes out and the patch doesn't apply I'll ha

Re: 1.3.26

2002-04-19 Thread Jos Backus
On Fri, Apr 19, 2002 at 09:24:47AM -0400, Jim Jagielski wrote: > At 2:37 PM +0200 4/19/02, Graham Leggett wrote: > > > >Is it possible to create a 1.3.26 release which includes all the proxy > >fixes to date? > > > > I'm +1 for a 1.3.26... Perhaps somebody

Re: [PATCH] -DNO_DETACH and/or apr_proc_detach() confusion?

2002-04-01 Thread Jos Backus
ach(). Please, please don't change the semantics because it will make it again impossible to run Apache under a process controller. While I'm here, would anybody please have a look at bug 7628? Thanks. -- Jos Backus _

Re: daemontools/foreground support in 1.3.*

2002-03-23 Thread Jos Backus
o longer applies cleanly to 1.3.24. Can you please update the patch with the one attached to this message? Thanks! -- Jos Backus _/ _/_/_/Santa Clara, CA _/ _/ _/ _/ _/_/_/ _/ _/

Re: daemontools/foreground support in 1.3.*

2002-03-15 Thread Jos Backus
On Tue, Feb 26, 2002 at 07:49:34PM -0800, Jos Backus wrote: > On Tue, Feb 26, 2002 at 07:21:16AM -0800, Aaron Bannert wrote: > > On Mon, Feb 25, 2002 at 05:26:44PM -0500, Michael Handler wrote: > > > hi, guys. i've posted this patch for foreground/supervise support

Re: daemontools/foreground support in 1.3.*

2002-02-28 Thread Jos Backus
On Fri, Mar 01, 2002 at 01:03:33AM -0500, Michael Handler wrote: > | I am of the mind that it should not be added, but I won't stop anyone > | if they garner 3 +1s from actual testing and feedback. Does my +1 count? -- Jos Backus _/ _/_/_/Sant

Re: daemontools/foreground support in 1.3.*

2002-02-26 Thread Jos Backus
gt; exactly how I would have done it. Fwiw, same here. It is very unintrusive, less so even than the patch that went into 2.0. Please consider including it. -- Jos Backus _/ _/_/_/

Re: Running Apache in the foreground

2002-02-21 Thread Jos Backus
ichael Handler and all the other people involved in adding this valuable functionality to an already great webserver! I'm looking forward to the 2.0 release. -- Jos Backus _/ _/_/_/Sant

Re: Running Apache in the foreground

2002-02-14 Thread Jos Backus
Hello Aaron, On Thu, Feb 14, 2002 at 03:01:11PM -0800, Aaron Bannert wrote: > Test it and give it your blessing. +2 ;-) -- Jos Backus _/ _/_/_/Santa Clara,

Re: Running Apache in the foreground

2002-01-13 Thread Jos Backus
t. */ +if (!dont_fork) { + if ((x = fork()) > 0) + exit(0); + else if (x == -1) { + perror("fork"); + fprintf(stderr, "unable to fork new process\n"); + exit(1); /*

Re: Running Apache in the foreground

2002-01-08 Thread Jos Backus
On Mon, Jan 07, 2002 at 11:56:28PM -0800, Aaron Bannert wrote: > On Mon, Jan 07, 2002 at 11:51:10PM -0800, Jos Backus wrote: > > On Mon, Jan 07, 2002 at 11:27:53PM -0800, Aaron Bannert wrote: > > > I think we should take the fork() stuff out of apr_proc_detach() > > &g

Re: Running Apache in the foreground

2002-01-07 Thread Jos Backus
it calls the platform-specific getpgrp()/... functions? I'm assuming that the pgrp leader check simply involves checking if getpgrp() == getpid(). Correct? -- Jos Backus

Re: Running Apache in the foreground

2002-01-07 Thread Jos Backus
d(MPE) && !defined(OS2) && !defined(TPF) && !defined(BEOS) +/* Don't detach for MPE because child processes can't survive the death of + the parent. */ +if ((x = fork()) > 0) +exit(0); +else if (x == -1) { +perror("fork"

Re: Running Apache in the foreground

2002-01-07 Thread Jos Backus
On Sun, Jan 06, 2002 at 10:28:12PM -0800, Jos Backus wrote: > On Sun, Jan 06, 2002 at 09:11:11PM -0800, Ryan Bloom wrote: > > I'm 100% in favor of this stuff, but please just keep using NO_DETACH for > > this. I didn't get the use case correct for NO_DETACH, but that d

Re: Running Apache in the foreground

2002-01-06 Thread Jos Backus
mean that the NO_DETACH behavior will change (for the better, in my view). -- Jos Backus _/ _/_/_/Santa Clara, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/_/ [EMAIL PROTECTED] _/_/ _

Re: Running Apache in the foreground

2002-01-05 Thread Jos Backus
On Fri, Jan 04, 2002 at 11:52:26PM -0800, Jos Backus wrote: > On Fri, Jan 04, 2002 at 09:26:46PM -0800, Justin Erenkrantz wrote: > > Yeah, this seems to be a bug in autoconf because this is not > > portable /bin/sh code. IIRC, all cases must have an action item. I misread th

Re: Running Apache in the foreground

2002-01-04 Thread Jos Backus
tern[ | pattern] ... ) compound-list;;] ... [[(] pattern[ | pattern] ... ) compound-list] esac The ";;" is optional for the last compound-list. I'll notify the FreeBSD crowd. Thanks Justin. -- Jos Backu

Re: Running Apache in the foreground

2002-01-04 Thread Jos Backus
defined(BEOS) /* Don't detach for MPE because child processes can't survive the death of the parent. */ -if ((x = fork()) > 0) -exit(0); -else if (x == -1) { -perror("fork"); - fprintf(stderr, "unable to fork new process\n&

Re: Running Apache in the foreground

2002-01-04 Thread Jos Backus
xit(0); -else if (x == -1) { -perror("fork"); -fprintf(stderr, "unable to fork new process\n"); -exit(1); /* we can't do anything here, so just exit. */ +if (!dont_fork) { + if ((x = fork()) > 0) + exit(0); + else if

Re: Running Apache in the foreground

2001-12-29 Thread Jos Backus
On Fri, Dec 28, 2001 at 11:38:01PM -0800, Jos Backus wrote: [massive snippage] > So I am really hoping that the Samba people will adopt my patch :-) Update: Jeremy Allison has committed a variation of my patch to the Samba tree. See http://cvs.samba.org/cgi-bin/cvsweb/samba/source/s

Re: connections are hanging for 2.0 cvs on Cygwin 1.x (worker mpm)

2001-12-29 Thread Jos Backus
I think the problem is). What about the -d and -i flags of ktrace? I use those all the time and I am running -current. -- Jos Backus _/ _/_/_/San

Re: Running Apache in the foreground

2001-12-29 Thread Jos Backus
On Fri, Dec 28, 2001 at 05:46:58PM -0800, Aaron Bannert wrote: > On Fri, Dec 28, 2001 at 01:16:56PM -0801, Jos Backus wrote: > > OK, I overreacted, sorry. But the macro names should match. > > Justin committed a fix for this, let us know if it doesn't work for you. Thank y

Re: Running Apache in the foreground

2001-12-28 Thread Jos Backus
> > this work? That could explain why the Samba daemons seem to run properly > > under the process monitor with my patch. > > Yes. The svscan.c and supervise.c sources only contain a couple of fork() calls, so that must be suf

Re: Running Apache in the foreground

2001-12-28 Thread Jos Backus
On Fri, Dec 28, 2001 at 05:35:13PM -0800, Aaron Bannert wrote: > On Fri, Dec 28, 2001 at 05:03:06PM -0800, Jos Backus wrote: > > Interestingly in the Samba code the setsid() call comes _after_ the fork() > > (see my previous e-mail) and that seems to work just fine. So it looks lik

Re: Running Apache in the foreground

2001-12-28 Thread Jos Backus
ous e-mail) and that seems to work just fine. So it looks like the order suggested is not an absolute requirement; any thoughts on this? -- Jos Backus _/ _/_/_/

Re: Running Apache in the foreground

2001-12-28 Thread Jos Backus
at it does what we want. (Not sure if > _POSIX_JOB_CONTROL is supposed to be defined for setsid() the way it is for > setpgid() though.) I thought it was simply a matter of changing the macro name or adding an extra definition. Maybe the patch author can comment? -- Jos Backus _/ _/_/_/Santa Clara, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/_/ [EMAIL PROTECTED] _/_/ _/_/_/use Std::Disclaimer;

Re: Running Apache in the foreground

2001-12-28 Thread Jos Backus
[Cc'd the FreeBSD Apache2 port committer because he may be interested in this discussion.] Hi Justin, On Thu, Dec 27, 2001 at 10:07:31PM -0800, Justin Erenkrantz wrote: > On Thu, Dec 27, 2001 at 05:44:22PM -0800, Jos Backus wrote: > > I'm willing to code a patch which a

Running Apache in the foreground

2001-12-27 Thread Jos Backus
ignored so I may be wasting my time. I'll interpret no response as ``no interest, go away''. Thanks, -- Jos Backus _/ _/_/_/Santa Clara, CA _/ _/ _/ _/ _/_/_/ _/ _/

HAVE_SETSID problem

2001-11-20 Thread Jos Backus
nyone? Thanks, -- Jos Backus _/ _/_/_/Santa Clara, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/_/ [EMAIL PROTECTED] _/_/ _/_/_/use Std::Disclaimer;