<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>dev@httpd.apache.org Archives</title>
<link rel="self" href="http://mail-archives.apache.org/mod_mbox/httpd-dev/?format=atom"/>
<link href="http://mail-archives.apache.org/mod_mbox/httpd-dev/"/>
<id>http://mail-archives.apache.org/mod_mbox/httpd-dev/</id>
<updated>2009-12-05T22:26:22Z</updated>
<entry>
<title>Re: requests possibly not reaching the log phase</title>
<author><name>John ORourke &lt;john-perl@o-rourke.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/httpd-dev/200912.mbox/%3c4B1ACA41.4030701@o-rourke.org%3e"/>
<id>urn:uuid:%3c4B1ACA41-4030701@o-rourke-org%3e</id>
<updated>2009-12-05T21:01:53Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Many thanks for all the answers on this one folks - in summary the 
suggestions were packet tracing, mod_security, RewriteLog, and 
mod_log_forensic.

I went for packet tracing using tshark with a capture condition to 
minimise the performance impact, which worked nicely.  The requests in 
question were completely missing, so the next possibility is an 
occasional DNS lookup failure.

cheers
John

Paul Querna wrote:
&gt;
&gt; mod_log_forensic was created for exactly this purpose:
&gt; &lt;http://httpd.apache.org/docs/2.2/mod/mod_log_forensic.html&gt;
&gt;
&gt; hope that helps,
&gt;
&gt; Paul
&gt;
&gt;   


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: requests possibly not reaching the log phase</title>
<author><name>Paul Querna &lt;paul@querna.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/httpd-dev/200912.mbox/%3c4239a4320912050950o1bcf2e34yf13d8b95d9781806@mail.gmail.com%3e"/>
<id>urn:uuid:%3c4239a4320912050950o1bcf2e34yf13d8b95d9781806@mail-gmail-com%3e</id>
<updated>2009-12-05T17:50:22Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Thu, Dec 3, 2009 at 12:43 AM, John ORourke &lt;john-perl@o-rourke.org&gt; wrote:
&gt; (apologies if this is a dupe, I originally sent from the wrong address)
&gt;
&gt; Hi there,
&gt;
&gt; I have an unusual problem - a large e-commerce site integrated with
&gt; Authorize.net for card payments which appears to be failing to log some
&gt; requests.
&gt;
&gt; The Authorize.net system makes HTTP POST requests to our server, and
&gt; about 1 in every 500 transactions, the Authorize.net system reports a
&gt; timeout and there's no trace of the request in our logs. Â Authorize.net
&gt; won't investigate in any detail because their system is reporting that
&gt; the request simply timed out.
&gt;
&gt; I'm using mod_perl but not hooking into the logging phase, and using a
&gt; mod_log CustomLog directive which outputs the usual stuff, plus request
&gt; time, connection state, and PID.
&gt;
&gt; So for now, I'm assuming a request is being sent but the log handler
&gt; phase isn't running. Â The only way I can make this happen in a test
&gt; environment is by opening a TCP connection and then closing it without
&gt; sending any data. Â Are there any other reasons the log phase wouldn't be
&gt; run?

mod_log_forensic was created for exactly this purpose:
&lt;http://httpd.apache.org/docs/2.2/mod/mod_log_forensic.html&gt;

hope that helps,

Paul


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: [VOTE] Release httpd 2.3.4-alpha</title>
<author><name>&quot;Philip M. Gollucci&quot; &lt;pgollucci@p6m7g8.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/httpd-dev/200912.mbox/%3c4B19F0D8.1070401@p6m7g8.com%3e"/>
<id>urn:uuid:%3c4B19F0D8-1070401@p6m7g8-com%3e</id>
<updated>2009-12-05T05:34:16Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Niklas Edmundsson wrote:
&gt; On Mon, 30 Nov 2009, William A. Rowe Jr. wrote:
&gt; 
&gt;&gt; Look, PCRE is a mandatory component.  APR is a mandatory component.
&gt;&gt; Let's please start applying some rhyme to our reasoning again.
&gt; 
&gt; +1

+1 a good write up.


-- 
------------------------------------------------------------------------
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollucci@p6m7g8.com) c: 703.336.9354
VP Apache Infrastructure; Member, Apache Software Foundation
Committer,                        FreeBSD Foundation
Consultant,                       P6M7G8 Inc.
Sr. System Admin,                 Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: [RESULTS] [VOTE] Release httpd 2.3.4-alpha</title>
<author><name>&quot;William A. Rowe Jr.&quot; &lt;wrowe@rowe-clan.net&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/httpd-dev/200912.mbox/%3c4B19BBD2.7060001@rowe-clan.net%3e"/>
<id>urn:uuid:%3c4B19BBD2-7060001@rowe-clan-net%3e</id>
<updated>2009-12-05T01:48:02Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Joe Orton wrote:
&gt; On Thu, Dec 03, 2009 at 05:21:09PM -0600, William Rowe wrote:
&gt;&gt; Paul Querna wrote:
&gt;&gt;&gt; Vote Results:
&gt;&gt;&gt;    +1 (binding): Sander Temme, Paul Querna, Joe Orton,  Niklas Edmundsson,
&gt;&gt;&gt;    +1: Gregg Smith
&gt;&gt;&gt;  +/-0: Rainer Jung
&gt;&gt;&gt;     -1: William A. Rowe, Jr.
&gt;&gt;&gt;
&gt;&gt;&gt; Vote passes.
&gt;&gt; I'm sorry.  I explicitly insisted on a vote on the -deps package seperately
&gt;&gt; from the 2.3.4 package, because it was entirely reasonable that Sander Temme,
&gt;&gt; Paul Querna, Joe Orton, Niklas Edmundsson, or Gregg Smith reviewed -only- the
&gt;&gt; httpd-2.3.4-alpha.tar.xx package alone.
&gt; 
&gt; I've no issue at all with the -deps tarball containing a snapshot of 
&gt; APR:
&gt; 
&gt; 1) the httpd project cannot force the APR project to commit to API 
&gt; stability by distributing a snapshot of the APR 1.4 branch.  Why on 
&gt; earth would that be the case?  The only time the APR project commits to 
&gt; API stability is by making a new .0 release itself.  What other projects 
&gt; do is irrelevant to APR.

Joe, as I pointed out in another thread, httpd *does* commit apr the moment
the mislabeled artifact hits www.apache.org/dist/ - where does that package
suggest it is nothing but a snapshot?  The answer is, it doesn't.

When we did this previously in httpd 2.0 (never 2.1 to the best of my
recollection) we actually did commit to that particular apr API.  The
rules in 0.9 just weren't so draconian.

If you don't like any of these rules;

 * what is on /dist/ is a release
 * what is released apr &gt;= 1.0 follows absolute versioning rules
 * what is a snapshot doesn't appear on /dist/

then take those issues to an infra/board level.  We've had these discussions
a thousand times on incubator lists, and this is a clear case of what is
good for the goose...

&gt; 2) the httpd project isn't taking on any commitment to itself maintain 
&gt; API stability in the shipped APR snapshot because *this is an alpha*, so 
&gt; we're not guaranteeing API stability.

Nope, much like broken ldap and crypto interfaces, it simply inflicts them
upon apr and hopes for someone else to clean up the junk later, perhaps.

But the apr project would be remiss in not voiding 1.4.x and moving on to
1.5.x for API additions since users can now be reasonably expected to have
installed an apr 1.4.x major/minor with a specific feature set.

&gt; Furthermore I don't think it's a good idea to set a precedent of 
&gt; requiring a separate vote on each file which makes up "the release".  I 
&gt; certainly presumed that the vote Paul called was for all the files 
&gt; making up "the release".

Nonsense.  I post up httpd win32 binaries all the time to /dev/dist/.  Do
I really think everyone voting on the source code snapshot of httpd is paying
any attention to that artifact (or this new -deps artifact, when all the deps
are already provisioned on most voter's machines)?






</pre>
</div>
</content>
</entry>
<entry>
<title>Re: [RESULTS] [VOTE] Release httpd 2.3.4-alpha</title>
<author><name>&quot;William A. Rowe Jr.&quot; &lt;wrowe@rowe-clan.net&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/httpd-dev/200912.mbox/%3c4B19B80A.8010409@rowe-clan.net%3e"/>
<id>urn:uuid:%3c4B19B80A-8010409@rowe-clan-net%3e</id>
<updated>2009-12-05T01:31:54Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Paul Querna wrote:
&gt; Vote Results:
&gt;    +1 (binding): Sander Temme, Paul Querna, Joe Orton,  Niklas Edmundsson,
&gt;    +1: Gregg Smith
&gt;  +/-0: Rainer Jung
&gt;     -1: William A. Rowe, Jr.
&gt; 
&gt; Vote passes.
&gt; 
&gt; I'll push out the tarballs to start getting mirrors, and hack on an
&gt; announcement email for tomorrow.

Oh - looking forward to the announce; the damage occured the moment
you had pushed to /dist/httpd/, we don't un-release software, and any
old arguments are over about the wisdom of releasing the -deps package.
Except of course, we need to finish the discussion of *adding* PCRE, but
that should never stop an alpha release.

In the meantime I'm pushing forwards on apr-1.4.1 since testing for
subversion 0 won't indicate if the APR_STATUS_IS_ENOTDIR had been fixed
(for anyone looking for min revlevel checks), and once that is done,
perhaps someone else wants to advocate for releasing apr-util-1.4.0.
But AFAIK apr-util 1.4.0 is not a prerequisite for httpd 2.3 alphas
just yet, it is an optional requirement for the scache module.


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: [RESULTS] [VOTE] Release httpd 2.3.4-alpha</title>
<author><name>&quot;William A. Rowe Jr.&quot; &lt;wrowe@rowe-clan.net&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/httpd-dev/200912.mbox/%3c4B194D80.1080608@rowe-clan.net%3e"/>
<id>urn:uuid:%3c4B194D80-1080608@rowe-clan-net%3e</id>
<updated>2009-12-04T17:57:20Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Jeff Trawick wrote:
&gt; On Thu, Dec 3, 2009 at 11:29 PM, William A. Rowe Jr.
&gt; 
&gt;&gt; As for broken versioning rules, please take that to APR.
&gt;&gt;
&gt;&gt; Perhaps in retrospect, APR would consider an even/odds approach as httpd
&gt;&gt; has for adding (even eliminating) interfaces during a development cycle.
&gt; 
&gt; IMO the determination could be as simple as whether or not a release
&gt; in the maj.min series has yet been declared GA.

Not sufficient, IMHO, unless we add the appropriate indicators to allow
feature tests in apr 2.0.  E.g. the current test is VERSION_MAJOR &gt;= 1
&amp;&amp; VERSION_MINOR &gt;= 4 and the APR versioning contract says that test is
always sufficient.

This dialog reads like folks may assume the httpd MMN feature tests
work for APR functions, but there isn't such a feature test in APR.


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: [RESULTS] [VOTE] Release httpd 2.3.4-alpha</title>
<author><name>&quot;William A. Rowe Jr.&quot; &lt;wrowe@rowe-clan.net&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/httpd-dev/200912.mbox/%3c4B194C6E.4030400@rowe-clan.net%3e"/>
<id>urn:uuid:%3c4B194C6E-4030400@rowe-clan-net%3e</id>
<updated>2009-12-04T17:52:46Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Jeff Trawick wrote:
&gt; On Thu, Dec 3, 2009 at 11:29 PM, William A. Rowe Jr.
&gt; &lt;wrowe@rowe-clan.net&gt; wrote:
&gt;&gt; Jeff Trawick wrote:
&gt;&gt;&gt; On Thu, Dec 3, 2009 at 6:21 PM, William A. Rowe Jr. &lt;wrowe@rowe-clan.net&gt;
wrote:
&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Remember your -deps vote is to approve the release of apr 1.4.0-dev and the
&gt;&gt;&gt;&gt; apr-util 1.4.0 dev, and the API versioning rules will bind from that release
&gt;&gt;&gt;&gt; forwards.
&gt;&gt;&gt; The APR versioning rules are hopelessly broken if a tarball snapshot
&gt;&gt;&gt; of the 1.4.x branch before a GA release casts the API in stone.
&gt;&gt;&gt;
&gt;&gt;&gt; Surely I misunderstood you.
&gt;&gt; Is there a README indicating that the MAJOR/MINOR version tests for this
&gt;&gt; particular tarball are not relevant/complete?  No.
&gt;&gt;
&gt;&gt; This is not a snapshot.  It is labeled httpd-2.3.4-alpha.tar.xx release.
&gt;&gt; You surely don't misunderstand what I said.
&gt; 
&gt; Why is something with version x.y.z-dev a release and not a snapshot?

Because snapshots don't live at http://www.apache.org/dist/, those are releases.
The trigger didn't occur until Paul svn mv'ed it into there.  Snapshots reside
at http://svn.apache.org/snapshots/

&gt;&gt; As for broken versioning rules, please take that to APR.
&gt;&gt;
&gt;&gt; Perhaps in retrospect, APR would consider an even/odds approach as httpd
&gt;&gt; has for adding (even eliminating) interfaces during a development cycle.
&gt; 
&gt; IMO the determination could be as simple as whether or not a release
&gt; in the maj.min series has yet been declared GA.


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: [mod_fcgid] Feedback / Suggestions</title>
<author><name>Barry Scott &lt;barry.scott@onelan.co.uk&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/httpd-dev/200912.mbox/%3c4B1936A9.2040908@onelan.co.uk%3e"/>
<id>urn:uuid:%3c4B1936A9-2040908@onelan-co-uk%3e</id>
<updated>2009-12-04T16:19:53Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Eric Covener wrote:
&gt; On 12/4/09, Barry Scott &lt;barry.scott@onelan.co.uk&gt; wrote:
&gt;   
&gt;&gt; Eric Covener wrote:
&gt;&gt;
&gt;&gt;     
&gt;&gt;&gt; On Thu, Dec 3, 2009 at 5:57 AM, Barry Scott &lt;barry.scott@onelan.co.uk&gt;
&gt;&gt;&gt;       
&gt;&gt; wrote:
&gt;&gt;     
&gt;&gt;&gt;       
&gt;&gt;&gt;&gt; Jeff Trawick wrote:
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt; On Tue, Nov 24, 2009 at 10:05 AM, Edgar Frank &lt;ef-lists@email.de&gt;
&gt;&gt;&gt;&gt;&gt;           
&gt;&gt; wrote:
&gt;&gt;     
&gt;&gt;&gt;&gt;&gt; In the interim, is mod_fastcgi really that bad?
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;           
&gt;&gt;&gt;&gt; mod_fastcgi is fine for handling GET/POST requests, but it fails to
&gt;&gt;&gt;&gt; implement
&gt;&gt;&gt;&gt; Authorization or Authenication.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; So yes mod_fastcgi is really bad.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt; mod_fastcgi has supported this for many years:
&gt;&gt;&gt;
&gt;&gt;&gt; http://www.fastcgi.com/drupal/node/25#FastCgiAuthorizer
&gt;&gt;&gt;
&gt;&gt;&gt;       
&gt;&gt; http://www.fastcgi.com/drupal/node/25#FastCgiAuthenticator
&gt;&gt;     
&gt;&gt;&gt;
&gt;&gt;&gt;       
&gt;&gt;  It does not work or I'd have used it. And I tried to make it work.
&gt;&gt;  There is a lot of missing code, compare to mod_fcgid implementation
&gt;&gt;  of the same.
&gt;&gt;     
&gt;
&gt; Simple tests work for me.
&gt;
&gt;   

Hmm, Then I must have got something wrong when I tried to get this 
working, or you have
patches I don't. When I looked at the sources and compared to mod_fcgid 
it looked like there
was code missing. It's too long ago now for me to recall the details to 
discuss.

Barry



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: svn commit: r885606 - /httpd/httpd/trunk/build/rpm/httpd.init</title>
<author><name>Eric Covener &lt;covener@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/httpd-dev/200912.mbox/%3c1404e5910912040506s2bdc98es8e38da1e4cd98bb4@mail.gmail.com%3e"/>
<id>urn:uuid:%3c1404e5910912040506s2bdc98es8e38da1e4cd98bb4@mail-gmail-com%3e</id>
<updated>2009-12-04T13:06:47Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On 12/4/09, Tom Evans &lt;tevans.uk@googlemail.com&gt; wrote:
&gt; Sorry, what has apachectl got to do with editing files? What has using
&gt;  apachectl to stop/start a service got to do with scalability? You've
&gt;  completely lost me here.

The only practical thing i can think of is OS vendors providing
separate worker and prefork binaries. The standard apachectl has the
binary name embedded in it, although there are a host of ways to
accomodate that.

-- 
Eric Covener
covener@gmail.com


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: svn commit: r885606 - /httpd/httpd/trunk/build/rpm/httpd.init</title>
<author><name>Tom Evans &lt;tevans.uk@googlemail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/httpd-dev/200912.mbox/%3c2e027be00912040454g234bd525jce2668bc4a9a7ad7@mail.gmail.com%3e"/>
<id>urn:uuid:%3c2e027be00912040454g234bd525jce2668bc4a9a7ad7@mail-gmail-com%3e</id>
<updated>2009-12-04T12:54:25Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Fri, Dec 4, 2009 at 12:37 PM, Graham Leggett &lt;minfrin@sharp.fm&gt; wrote:
&gt; Tom Evans wrote:
&gt;
&gt;&gt; Really? It works perfectly on all boxes I use it on. What precisely
&gt;&gt; has changed about reading a pid from a file, sending signals to a
&gt;&gt; process, or spawning a process with specific arguments that has made
&gt;&gt; apachectl 'archaic and largely broken', I am intrigued.
&gt;
&gt; And if you have ten boxes? 50 boxes? A Google of boxes?
&gt;
&gt; Editing a file in place has long been shown to be a maintenance
&gt; nightmare, which is why in addition to logrotate.conf you have
&gt; logrotate.d, in addition to modprobe.conf you have modprobe.d, and so
&gt; on. This is a pattern long since established in modern unix
&gt; distributions, to solve the problem of the need to edit files during a
&gt; software addition, and edit files again during software removal, all
&gt; without making mistakes.
&gt;
&gt; Sure, if you are used to editing config files by hand on one or two
&gt; boxes, apachectl will meet your needs, but if you do anything that
&gt; requires a level of scale doing it this way won't.
&gt;
&gt; Regards,
&gt; Graham
&gt; --
&gt;

Sorry, what has apachectl got to do with editing files? What has using
apachectl to stop/start a service got to do with scalability? You've
completely lost me here.

At $JOB we have 200+ servers, all deployed and configured via
cfengine. apachectl is still used to stop/start the servers, via
cfengine and other CM tools.

Cheers

Tom


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: [mod_fcgid] Feedback / Suggestions</title>
<author><name>Eric Covener &lt;covener@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/httpd-dev/200912.mbox/%3c1404e5910912040448q7b6cf17o5b0e352e2f23c16c@mail.gmail.com%3e"/>
<id>urn:uuid:%3c1404e5910912040448q7b6cf17o5b0e352e2f23c16c@mail-gmail-com%3e</id>
<updated>2009-12-04T12:48:51Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On 12/4/09, Barry Scott &lt;barry.scott@onelan.co.uk&gt; wrote:
&gt; Eric Covener wrote:
&gt;
&gt; &gt; On Thu, Dec 3, 2009 at 5:57 AM, Barry Scott &lt;barry.scott@onelan.co.uk&gt;
&gt; wrote:
&gt; &gt;
&gt; &gt;
&gt; &gt; &gt; Jeff Trawick wrote:
&gt; &gt; &gt;
&gt; &gt; &gt;
&gt; &gt; &gt; &gt; On Tue, Nov 24, 2009 at 10:05 AM, Edgar Frank &lt;ef-lists@email.de&gt;
&gt; wrote:
&gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt; In the interim, is mod_fastcgi really that bad?
&gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt;
&gt; &gt; &gt; mod_fastcgi is fine for handling GET/POST requests, but it fails to
&gt; &gt; &gt; implement
&gt; &gt; &gt; Authorization or Authenication.
&gt; &gt; &gt;
&gt; &gt; &gt; So yes mod_fastcgi is really bad.
&gt; &gt; &gt;
&gt; &gt; &gt;
&gt; &gt;
&gt; &gt; mod_fastcgi has supported this for many years:
&gt; &gt;
&gt; &gt; http://www.fastcgi.com/drupal/node/25#FastCgiAuthorizer
&gt; &gt;
&gt; http://www.fastcgi.com/drupal/node/25#FastCgiAuthenticator
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt;  It does not work or I'd have used it. And I tried to make it work.
&gt;  There is a lot of missing code, compare to mod_fcgid implementation
&gt;  of the same.

Simple tests work for me.

-- 
Eric Covener
covener@gmail.com


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: svn commit: r885606 - /httpd/httpd/trunk/build/rpm/httpd.init</title>
<author><name>Graham Leggett &lt;minfrin@sharp.fm&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/httpd-dev/200912.mbox/%3c4B1902A4.30602@sharp.fm%3e"/>
<id>urn:uuid:%3c4B1902A4-30602@sharp-fm%3e</id>
<updated>2009-12-04T12:37:56Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Tom Evans wrote:

&gt; Really? It works perfectly on all boxes I use it on. What precisely
&gt; has changed about reading a pid from a file, sending signals to a
&gt; process, or spawning a process with specific arguments that has made
&gt; apachectl 'archaic and largely broken', I am intrigued.

And if you have ten boxes? 50 boxes? A Google of boxes?

Editing a file in place has long been shown to be a maintenance
nightmare, which is why in addition to logrotate.conf you have
logrotate.d, in addition to modprobe.conf you have modprobe.d, and so
on. This is a pattern long since established in modern unix
distributions, to solve the problem of the need to edit files during a
software addition, and edit files again during software removal, all
without making mistakes.

Sure, if you are used to editing config files by hand on one or two
boxes, apachectl will meet your needs, but if you do anything that
requires a level of scale doing it this way won't.

Regards,
Graham
--


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: svn commit: r885606 - /httpd/httpd/trunk/build/rpm/httpd.init</title>
<author><name>Tom Evans &lt;tevans.uk@googlemail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/httpd-dev/200912.mbox/%3c2e027be00912040356u2c2b8efau7f2dd533b4859851@mail.gmail.com%3e"/>
<id>urn:uuid:%3c2e027be00912040356u2c2b8efau7f2dd533b4859851@mail-gmail-com%3e</id>
<updated>2009-12-04T11:56:43Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Fri, Dec 4, 2009 at 12:59 AM, Graham Leggett &lt;minfrin@sharp.fm&gt; wrote:
&gt; William A. Rowe Jr. wrote:
&gt;
&gt;&gt; Ok, so they want to roll their own. Â Sounds like a maintainer issue. Â What
&gt;&gt; does this say for using our httpd rpm for an Ubuntu or other distribution
&gt;&gt; of linux?
&gt;
&gt; Ubuntu is Debian based, and uses the .deb packaging format, and startup
&gt; scripts derived from the Debian layout. If someone was to donate debian
&gt; packaging for httpd, I would expect one or two files to appear below
&gt; build/deb, and that would be all that would be needed.
&gt;
&gt;&gt; IMHO, if it is fundamentally incompatible with apachectl and non-redhat
&gt;&gt; distributions, let the the packagers tweak and take the zany customizations
&gt;&gt; out from under our problem set.
&gt;
&gt; Apachectl is archaic and largely broken for most people - it made sense
&gt; ten years ago, it makes a lot less sense today.

Really? It works perfectly on all boxes I use it on. What precisely
has changed about reading a pid from a file, sending signals to a
process, or spawning a process with specific arguments that has made
apachectl 'archaic and largely broken', I am intrigued.


&gt;
&gt; The pattern followed by most modern unix based packaging is for an
&gt; application to drop a snippet of config contained in a discrete file in
&gt; a directory ending in ".d". So you have
&gt; /etc/httpd/conf.d/&lt;snippet&gt;.conf, instead of a manual edit to
&gt; /etc/httpd/conf/httpd.conf, and your httpd startup goes within an
&gt; optional script called /etc/sysconfig/httpd instead of in a script file
&gt; in a bin directory as apachectl wants. I understand Debian has different
&gt; naming conventions, but otherwise the underlying principles are the same.

Did you mean to say 'most Linux' there? The OSes that I regularly use
do not display these redhatisms.

&gt;
&gt; In our case, we package up config files within standalone RPMs all of
&gt; their own (suitably tagged and versioned), or we generate the config
&gt; file using puppet. Editing a file in place is always painful and error
&gt; prone, it is far less painful to provide a discrete file that can be
&gt; dropped in and removed cleanly. Apachectl doesn't give us this - you
&gt; need to edit apachectl directly to modify the command line parameters
&gt; passed to httpd.
&gt;
&gt; As for the packagers tweaking and making zany customisations, that is
&gt; exactly what they do now. For us it makes the their packaging unsuitable
&gt; for our needs, simply because we tweak and make zany customisations for
&gt; needs of our own. It is far less painful to take a vanilla RPM published
&gt; by the ASF, and then tweak it for our needs, than it is to take a Fedora
&gt; RPM, untweak all their customisations, and then retweak it with ours.
&gt;

Ah so now the crux of your argument:

1) I use Fedora/RHEL
2) I want customized packages to install
3) Fedora/RHEL package their RPMs in such a way that it makes it
difficult for me to modify them.

It's much easier when you just say this up front.

Cheers

Tom


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: [RESULTS] [VOTE] Release httpd 2.3.4-alpha</title>
<author><name>Jeff Trawick &lt;trawick@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/httpd-dev/200912.mbox/%3ccc67648e0912040256l1c4a35f2q8fb02093d3de91b0@mail.gmail.com%3e"/>
<id>urn:uuid:%3ccc67648e0912040256l1c4a35f2q8fb02093d3de91b0@mail-gmail-com%3e</id>
<updated>2009-12-04T10:56:35Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Thu, Dec 3, 2009 at 11:29 PM, William A. Rowe Jr.
&lt;wrowe@rowe-clan.net&gt; wrote:
&gt; Jeff Trawick wrote:
&gt;&gt; On Thu, Dec 3, 2009 at 6:21 PM, William A. Rowe Jr. &lt;wrowe@rowe-clan.net&gt; wrote:
&gt;&gt;
&gt;&gt;&gt; Remember your -deps vote is to approve the release of apr 1.4.0-dev and the
&gt;&gt;&gt; apr-util 1.4.0 dev, and the API versioning rules will bind from that release
&gt;&gt;&gt; forwards.
&gt;&gt;
&gt;&gt; The APR versioning rules are hopelessly broken if a tarball snapshot
&gt;&gt; of the 1.4.x branch before a GA release casts the API in stone.
&gt;&gt;
&gt;&gt; Surely I misunderstood you.
&gt;
&gt; Is there a README indicating that the MAJOR/MINOR version tests for this
&gt; particular tarball are not relevant/complete?  No.
&gt;
&gt; This is not a snapshot.  It is labeled httpd-2.3.4-alpha.tar.xx release.
&gt; You surely don't misunderstand what I said.

Why is something with version x.y.z-dev a release and not a snapshot?

&gt; As for broken versioning rules, please take that to APR.
&gt;
&gt; Perhaps in retrospect, APR would consider an even/odds approach as httpd
&gt; has for adding (even eliminating) interfaces during a development cycle.

IMO the determination could be as simple as whether or not a release
in the maj.min series has yet been declared GA.


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: svn commit: r885606 - /httpd/httpd/trunk/build/rpm/httpd.init</title>
<author><name>Graham Leggett &lt;minfrin@sharp.fm&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/httpd-dev/200912.mbox/%3c4B18E693.7020302@sharp.fm%3e"/>
<id>urn:uuid:%3c4B18E693-7020302@sharp-fm%3e</id>
<updated>2009-12-04T10:38:11Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
William A. Rowe Jr. wrote:

&gt; The last I heard, the 'rpm' project is open source, free to be adopted by
&gt; any platform.

Just because rpm is free to be adopted by any platform doesn't mean it
has been. Rpm contains features that allow the spec file to tailor
itself to its build environment, and I am confident those features would
kick in if someone was to try and create an rpm package tailored for an
environment other than a Redhat derivative.

&gt; As for the rest of your comments, if we solve the general problem, I'm all
&gt; for including it in the httpd tree.  If we are solving specific packagers
&gt; problems, I'm ok with placing this in the httpd.a.o domain, but we should
&gt; move this nonsense outside of the development tree into a packaging tree.

And in turn violate the principle of least surprise.

The point behind support for packaging formats is to make the end user's
life easier, not harder. Packagers that create weird, non standard, or
unexpectedly complex packaging are not doing their users any favours.

Regards,
Graham
--



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: [mod_fcgid] Feedback / Suggestions</title>
<author><name>Barry Scott &lt;barry.scott@onelan.co.uk&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/httpd-dev/200912.mbox/%3c4B18E4D3.8070803@onelan.co.uk%3e"/>
<id>urn:uuid:%3c4B18E4D3-8070803@onelan-co-uk%3e</id>
<updated>2009-12-04T10:30:43Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Eric Covener wrote:
&gt; On Thu, Dec 3, 2009 at 5:57 AM, Barry Scott &lt;barry.scott@onelan.co.uk&gt; wrote:
&gt;   
&gt;&gt; Jeff Trawick wrote:
&gt;&gt;     
&gt;&gt;&gt; On Tue, Nov 24, 2009 at 10:05 AM, Edgar Frank &lt;ef-lists@email.de&gt; wrote:
&gt;&gt;&gt;
&gt;&gt;&gt; In the interim, is mod_fastcgi really that bad?
&gt;&gt;&gt;
&gt;&gt;&gt;       
&gt;&gt; mod_fastcgi is fine for handling GET/POST requests, but it fails to
&gt;&gt; implement
&gt;&gt; Authorization or Authenication.
&gt;&gt;
&gt;&gt; So yes mod_fastcgi is really bad.
&gt;&gt;     
&gt;
&gt; mod_fastcgi has supported this for many years:
&gt;
&gt; http://www.fastcgi.com/drupal/node/25#FastCgiAuthorizer
&gt; http://www.fastcgi.com/drupal/node/25#FastCgiAuthenticator
&gt;
&gt;   
It does not work or I'd have used it. And I tried to make it work.
There is a lot of missing code, compare to mod_fcgid implementation
of the same.

Barry



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: [RESULTS] [VOTE] Release httpd 2.3.4-alpha</title>
<author><name>Joe Orton &lt;jorton@redhat.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/httpd-dev/200912.mbox/%3c20091204095716.GA4141@redhat.com%3e"/>
<id>urn:uuid:%3c20091204095716-GA4141@redhat-com%3e</id>
<updated>2009-12-04T09:57:16Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Thu, Dec 03, 2009 at 05:21:09PM -0600, William Rowe wrote:
&gt; Paul Querna wrote:
&gt; &gt; Vote Results:
&gt; &gt;    +1 (binding): Sander Temme, Paul Querna, Joe Orton,  Niklas Edmundsson,
&gt; &gt;    +1: Gregg Smith
&gt; &gt;  +/-0: Rainer Jung
&gt; &gt;     -1: William A. Rowe, Jr.
&gt; &gt; 
&gt; &gt; Vote passes.
&gt; 
&gt; I'm sorry.  I explicitly insisted on a vote on the -deps package seperately
&gt; from the 2.3.4 package, because it was entirely reasonable that Sander Temme,
&gt; Paul Querna, Joe Orton, Niklas Edmundsson, or Gregg Smith reviewed -only- the
&gt; httpd-2.3.4-alpha.tar.xx package alone.

I've no issue at all with the -deps tarball containing a snapshot of 
APR:

1) the httpd project cannot force the APR project to commit to API 
stability by distributing a snapshot of the APR 1.4 branch.  Why on 
earth would that be the case?  The only time the APR project commits to 
API stability is by making a new .0 release itself.  What other projects 
do is irrelevant to APR.

2) the httpd project isn't taking on any commitment to itself maintain 
API stability in the shipped APR snapshot because *this is an alpha*, so 
we're not guaranteeing API stability.

Furthermore I don't think it's a good idea to set a precedent of 
requiring a separate vote on each file which makes up "the release".  I 
certainly presumed that the vote Paul called was for all the files 
making up "the release".

Regards, Joe


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: svn commit: r885606 - /httpd/httpd/trunk/build/rpm/httpd.init</title>
<author><name>&quot;William A. Rowe Jr.&quot; &lt;wrowe@rowe-clan.net&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/httpd-dev/200912.mbox/%3c4B1890A8.50805@rowe-clan.net%3e"/>
<id>urn:uuid:%3c4B1890A8-50805@rowe-clan-net%3e</id>
<updated>2009-12-04T04:31:36Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Graham Leggett wrote:
&gt; William A. Rowe Jr. wrote:
&gt; 
&gt;&gt; Ok, so they want to roll their own.  Sounds like a maintainer issue.  What
&gt;&gt; does this say for using our httpd rpm for an Ubuntu or other distribution
&gt;&gt; of linux?
&gt; 
&gt; Ubuntu is Debian based, and uses the .deb packaging format, and startup
&gt; scripts derived from the Debian layout.

The last I heard, the 'rpm' project is open source, free to be adopted by
any platform.

As for the rest of your comments, if we solve the general problem, I'm all
for including it in the httpd tree.  If we are solving specific packagers
problems, I'm ok with placing this in the httpd.a.o domain, but we should
move this nonsense outside of the development tree into a packaging tree.


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: [RESULTS] [VOTE] Release httpd 2.3.4-alpha</title>
<author><name>&quot;William A. Rowe Jr.&quot; &lt;wrowe@rowe-clan.net&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/httpd-dev/200912.mbox/%3c4B18900F.8070807@rowe-clan.net%3e"/>
<id>urn:uuid:%3c4B18900F-8070807@rowe-clan-net%3e</id>
<updated>2009-12-04T04:29:03Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Jeff Trawick wrote:
&gt; On Thu, Dec 3, 2009 at 6:21 PM, William A. Rowe Jr. &lt;wrowe@rowe-clan.net&gt; wrote:
&gt; 
&gt;&gt; Remember your -deps vote is to approve the release of apr 1.4.0-dev and the
&gt;&gt; apr-util 1.4.0 dev, and the API versioning rules will bind from that release
&gt;&gt; forwards.
&gt; 
&gt; The APR versioning rules are hopelessly broken if a tarball snapshot
&gt; of the 1.4.x branch before a GA release casts the API in stone.
&gt; 
&gt; Surely I misunderstood you.

Is there a README indicating that the MAJOR/MINOR version tests for this
particular tarball are not relevant/complete?  No.

This is not a snapshot.  It is labeled httpd-2.3.4-alpha.tar.xx release.
You surely don't misunderstand what I said.

As for broken versioning rules, please take that to APR.

Perhaps in retrospect, APR would consider an even/odds approach as httpd
has for adding (even eliminating) interfaces during a development cycle.


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: svn commit: r885606 - /httpd/httpd/trunk/build/rpm/httpd.init</title>
<author><name>&quot;Gregg L. Smith&quot; &lt;lists@glewis.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/httpd-dev/200912.mbox/%3c4B1866BB.3070806@glewis.com%3e"/>
<id>urn:uuid:%3c4B1866BB-3070806@glewis-com%3e</id>
<updated>2009-12-04T01:32:43Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
William A. Rowe Jr. wrote:
&gt;&gt; I may be wrong but as an outsider looking in, I see you wanting to stop maintaining/including
the gear box and are instead spending the time on adding more optional gadgets to choose from
(some of the third party modules you've taken over). In the end, I'd prefer having a reverse
gear over the rear window defogger. You are also loosing all control of a required piece of
equipment, this has got to make some of you at least cringe a little.
&gt; 
&gt; I'm not 100% sure I understand what you are saying here.  Drop the
&gt; gearbox and let them assemble their own transmission?  Or distribute
&gt; a most modern transmission that the user can ignore or swap out if they
&gt; want to install their own?
&gt; 

Bill,

The latter in your statement, distribute the most modern transmission 
that the user can ignore or if they wish or swap out with something they 
prefer.

Basically it's easy. If it must be there to build the darn thing, pass 
GO and collect the $$$, then it should be there. If not, then it becomes 
an option and that is left up to the user/builder ergo openssl zlib and 
lua.

so +1 to including pcre in -deps (or srclib/pcre), basically as it is 
now in the other branches.

In reality I probably shouldn't say anything anymore as I adapted and 
overcame, begrudgingly. It sure was a sore subject back between 2.3.1 
and 2.3.2 and I guess it just held on and I could not resist making noise.

Sorry this got into the wrong thread, I blame my webmail :)

Gregg







</pre>
</div>
</content>
</entry>
<entry>
<title>Re: svn commit: r885606 - /httpd/httpd/trunk/build/rpm/httpd.init</title>
<author><name>Graham Leggett &lt;minfrin@sharp.fm&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/httpd-dev/200912.mbox/%3c4B185EE4.2050104@sharp.fm%3e"/>
<id>urn:uuid:%3c4B185EE4-2050104@sharp-fm%3e</id>
<updated>2009-12-04T00:59:16Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
William A. Rowe Jr. wrote:

&gt; Ok, so they want to roll their own.  Sounds like a maintainer issue.  What
&gt; does this say for using our httpd rpm for an Ubuntu or other distribution
&gt; of linux?

Ubuntu is Debian based, and uses the .deb packaging format, and startup
scripts derived from the Debian layout. If someone was to donate debian
packaging for httpd, I would expect one or two files to appear below
build/deb, and that would be all that would be needed.

&gt; IMHO, if it is fundamentally incompatible with apachectl and non-redhat
&gt; distributions, let the the packagers tweak and take the zany customizations
&gt; out from under our problem set.

Apachectl is archaic and largely broken for most people - it made sense
ten years ago, it makes a lot less sense today.

The pattern followed by most modern unix based packaging is for an
application to drop a snippet of config contained in a discrete file in
a directory ending in ".d". So you have
/etc/httpd/conf.d/&lt;snippet&gt;.conf, instead of a manual edit to
/etc/httpd/conf/httpd.conf, and your httpd startup goes within an
optional script called /etc/sysconfig/httpd instead of in a script file
in a bin directory as apachectl wants. I understand Debian has different
naming conventions, but otherwise the underlying principles are the same.

In our case, we package up config files within standalone RPMs all of
their own (suitably tagged and versioned), or we generate the config
file using puppet. Editing a file in place is always painful and error
prone, it is far less painful to provide a discrete file that can be
dropped in and removed cleanly. Apachectl doesn't give us this - you
need to edit apachectl directly to modify the command line parameters
passed to httpd.

As for the packagers tweaking and making zany customisations, that is
exactly what they do now. For us it makes the their packaging unsuitable
for our needs, simply because we tweak and make zany customisations for
needs of our own. It is far less painful to take a vanilla RPM published
by the ASF, and then tweak it for our needs, than it is to take a Fedora
RPM, untweak all their customisations, and then retweak it with ours.

Regards,
Graham
--


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: [RESULTS] [VOTE] Release httpd 2.3.4-alpha</title>
<author><name>Jeff Trawick &lt;trawick@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/httpd-dev/200912.mbox/%3ccc67648e0912031549u3ea1a21bw29448749e796b3a1@mail.gmail.com%3e"/>
<id>urn:uuid:%3ccc67648e0912031549u3ea1a21bw29448749e796b3a1@mail-gmail-com%3e</id>
<updated>2009-12-03T23:49:35Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Thu, Dec 3, 2009 at 6:21 PM, William A. Rowe Jr. &lt;wrowe@rowe-clan.net&gt; wrote:

&gt; Remember your -deps vote is to approve the release of apr 1.4.0-dev and the
&gt; apr-util 1.4.0 dev, and the API versioning rules will bind from that release
&gt; forwards.

The APR versioning rules are hopelessly broken if a tarball snapshot
of the 1.4.x branch before a GA release casts the API in stone.

Surely I misunderstood you.


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: [VOTE] Release httpd 2.3.4-alpha</title>
<author><name>&quot;William A. Rowe Jr.&quot; &lt;wrowe@rowe-clan.net&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/httpd-dev/200912.mbox/%3c4B184E41.2010008@rowe-clan.net%3e"/>
<id>urn:uuid:%3c4B184E41-2010008@rowe-clan-net%3e</id>
<updated>2009-12-03T23:48:17Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Paul Querna wrote:
&gt; 
&gt; I don't agree that we can't release a bundled unreleased version of
&gt; APR, we did this for many versions of httpd 2.0.x and 2.1.x.  It
&gt; definitely isn't preferred, but that's the APR project's problem.

Look, your argument simply doesn't fly.

In httpd 2.0 timeframe we were only shipping apr-0.9.x - it did NOT
have the same API/ABI constraints (some of them, but not all).  All
of those intermediary releases kept the ABI rules of APR.

Now that you have shipped immediately while ignoring my objection,
I'll treat all +1's as binding no matter if they approved both of
the pieces or not, and have tagged 1.4.0 of both apr and apr-util.

We have no alternative, or else all author's VERSION_MAJOR/MINOR
tests are invalid.

It becomes up to the APR project if this aught to be 1.4.0 or burn
a number and move on.  For 1.4 initial release, I want to pick up
Branko's fix, so I plan to label this 1.4.1.

No intention of tagging apr-util yet till we decide if it can be
API frozen, so if we dislike the current includes/ tree, it will
end up being deprecated interfaces and version 1.5.0 already.





</pre>
</div>
</content>
</entry>
<entry>
<title>Re: [RESULTS] [VOTE] Release httpd 2.3.4-alpha</title>
<author><name>&quot;William A. Rowe Jr.&quot; &lt;wrowe@rowe-clan.net&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/httpd-dev/200912.mbox/%3c4B1847E5.7040600@rowe-clan.net%3e"/>
<id>urn:uuid:%3c4B1847E5-7040600@rowe-clan-net%3e</id>
<updated>2009-12-03T23:21:09Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Paul Querna wrote:
&gt; Vote Results:
&gt;    +1 (binding): Sander Temme, Paul Querna, Joe Orton,  Niklas Edmundsson,
&gt;    +1: Gregg Smith
&gt;  +/-0: Rainer Jung
&gt;     -1: William A. Rowe, Jr.
&gt; 
&gt; Vote passes.

I'm sorry.  I explicitly insisted on a vote on the -deps package seperately
from the 2.3.4 package, because it was entirely reasonable that Sander Temme,
Paul Querna, Joe Orton, Niklas Edmundsson, or Gregg Smith reviewed -only- the
httpd-2.3.4-alpha.tar.xx package alone.

Gentlemen, if you could verify that your vote was for *both* the core package
and the -deps.tar.xx package, that might keep Paul on his schedule (or fall
against the proposed -deps.tar.xx package).

Remember your -deps vote is to approve the release of apr 1.4.0-dev and the
apr-util 1.4.0 dev, and the API versioning rules will bind from that release
forwards.




</pre>
</div>
</content>
</entry>
<entry>
<title>[RESULTS] [VOTE] Release httpd 2.3.4-alpha</title>
<author><name>Paul Querna &lt;paul@querna.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/httpd-dev/200912.mbox/%3c4239a4320912031352u4e25db13i4e89921c97a1cff@mail.gmail.com%3e"/>
<id>urn:uuid:%3c4239a4320912031352u4e25db13i4e89921c97a1cff@mail-gmail-com%3e</id>
<updated>2009-12-03T21:52:51Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Vote Results:
   +1 (binding): Sander Temme, Paul Querna, Joe Orton,  Niklas Edmundsson,
   +1: Gregg Smith
 +/-0: Rainer Jung
    -1: William A. Rowe, Jr.

Vote passes.

I'll push out the tarballs to start getting mirrors, and hack on an
announcement email for tomorrow.

On Wed, Nov 25, 2009 at 2:43 PM, Paul Querna &lt;paul@querna.org&gt; wrote:
&gt; Test tarballs for Apache httpd 2.3.4-alpha are available at:
&gt; Â  &lt;http://httpd.apache.org/dev/dist/&gt;
&gt;
&gt; Your votes please;
&gt;
&gt; Â +/- 1
&gt; Â [ Â ] Â Release httpd-2.3.4 as Alpha
&gt;
&gt; Vote closes at 18:00 UTC on Monday November 30 2009.
&gt;
&gt; May your Thanksgiving be filled with Turkey and httpd testing,
&gt;
&gt; Thanks,
&gt;
&gt; Paul
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: svn commit: r885606 - /httpd/httpd/trunk/build/rpm/httpd.init</title>
<author><name>&quot;William A. Rowe Jr.&quot; &lt;wrowe@rowe-clan.net&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/httpd-dev/200912.mbox/%3c4B181C4B.60203@rowe-clan.net%3e"/>
<id>urn:uuid:%3c4B181C4B-60203@rowe-clan-net%3e</id>
<updated>2009-12-03T20:15:07Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Gregg L. Smith wrote:
&gt; Original Message -----------------------
&gt;&gt; Finally, I have yet to see any feedback on the pcre mandatory 
&gt;&gt; dependency issue.  Comments?
&gt; 
&gt; Personally, I thought your Monopoly metaphor was quite on target.
&gt; 
&gt; libz, openssl, lua = batteries not included
&gt; apr, apu, pcre = drive train not included.
&gt; 
&gt;&gt; And what is passing for an excuse for a local PCRE install 
&gt;&gt; these days probably doesn't look like 7.8 or later, with 
&gt;&gt; various fixes we are vulnerable to.
&gt; 
&gt; This does not leave me with a warm and fuzzy feeling. As a user, is the pcre 8.0 I've
built going to expose me to risks that your maintained 7.8 does not? If yes, then I'd prefer
your maintained one. After all, who knows better than you what will interact with your code
to produce problems. Regardless of merit, who will ultimately get blamed in the end? Could
your reputation be tarnished? Can you completely divorce yourself from something your software
requires to run?

I'm referring to pre v7 chaos.  And mostly not referring to modern
linux distros.

&gt; The 'Jump Ship' factor;
&gt; 
&gt; To me, and I'm probably wrong, it sounds like Mr. Felt's comment was an ultimatum of
sorts as 'indefinitely' is a pretty strong word. With this issue you have created a deal with
it or jump ship ultimatum which could very well leave some people scrambling to get off. Each
person is going to inevitably weigh the pain factor, the pain of dealing with it over the
pain of jumping ship. I consider myself lucky that my second attempt to deal with it was successful,
or so it seems so far anyway, but I never know from day to day.

Agreed that ease-of-adoption is going to be the usual, first barrier to
anyone jumping aboard 2.4 from 2.2, 2.0, or even still from 1.3.

&gt; I may be wrong but as an outsider looking in, I see you wanting to stop maintaining/including
the gear box and are instead spending the time on adding more optional gadgets to choose from
(some of the third party modules you've taken over). In the end, I'd prefer having a reverse
gear over the rear window defogger. You are also loosing all control of a required piece of
equipment, this has got to make some of you at least cringe a little.

I'm not 100% sure I understand what you are saying here.  Drop the
gearbox and let them assemble their own transmission?  Or distribute
a most modern transmission that the user can ignore or swap out if they
want to install their own?

&gt; Sorry for the outburst, but you opened the door for, and I've said what I've wanted to
for some time now, thanks for listening. Corrections and daggers welcomed.

No problems, thanks for chiming in.


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: svn commit: r885606 - /httpd/httpd/trunk/build/rpm/httpd.init</title>
<author><name>&quot;William A. Rowe Jr.&quot; &lt;wrowe@rowe-clan.net&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/httpd-dev/200912.mbox/%3c4B181B21.6080404@rowe-clan.net%3e"/>
<id>urn:uuid:%3c4B181B21-6080404@rowe-clan-net%3e</id>
<updated>2009-12-03T20:10:09Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Graham Leggett wrote:
&gt; 
&gt; On a Redhat machine (Fedora/RHEL/Centos), search
&gt; /etc/rc.d/init.d/functions for functions called "daemon", "status" and
&gt; "killproc". These functions provide similar but incompatible
&gt; functionality to that provided by apachectl, and only exist on Redhat
&gt; derived machines.

Ok, so they want to roll their own.  Sounds like a maintainer issue.  What
does this say for using our httpd rpm for an Ubuntu or other distribution
of linux?

&gt; The startup script is far too trivial to justify jumping through hoops
&gt; to try and make apachectl work like Redhat's init. It's caused us enough
&gt; grief already, thus the fix.

IMHO, if it is fundamentally incompatible with apachectl and non-redhat
distributions, let the the packagers tweak and take the zany customizations
out from under our problem set.


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: [mod_fcgid] Feedback / Suggestions</title>
<author><name>Eric Covener &lt;covener@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/httpd-dev/200912.mbox/%3c1404e5910912030434h3f87f3ci2d9c9d425b9a6020@mail.gmail.com%3e"/>
<id>urn:uuid:%3c1404e5910912030434h3f87f3ci2d9c9d425b9a6020@mail-gmail-com%3e</id>
<updated>2009-12-03T12:34:05Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Thu, Dec 3, 2009 at 5:57 AM, Barry Scott &lt;barry.scott@onelan.co.uk&gt; wrote:
&gt; Jeff Trawick wrote:
&gt;&gt;
&gt;&gt; On Tue, Nov 24, 2009 at 10:05 AM, Edgar Frank &lt;ef-lists@email.de&gt; wrote:
&gt;&gt;
&gt;&gt; In the interim, is mod_fastcgi really that bad?
&gt;&gt;
&gt;
&gt; mod_fastcgi is fine for handling GET/POST requests, but it fails to
&gt; implement
&gt; Authorization or Authenication.
&gt;
&gt; So yes mod_fastcgi is really bad.

mod_fastcgi has supported this for many years:

http://www.fastcgi.com/drupal/node/25#FastCgiAuthorizer
http://www.fastcgi.com/drupal/node/25#FastCgiAuthenticator

-- 
Eric Covener
covener@gmail.com


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: requests possibly not reaching the log phase</title>
<author><name>Dan Poirier &lt;poirier@pobox.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/httpd-dev/200912.mbox/%3cyuazl60ckb7.fsf@slappy.mynet%3e"/>
<id>urn:uuid:%3cyuazl60ckb7-fsf@slappy-mynet%3e</id>
<updated>2009-12-03T12:29:32Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
John ORourke &lt;john-perl@o-rourke.org&gt; writes:

&gt; The Authorize.net system makes HTTP POST requests to our server, and
&gt; about 1 in every 500 transactions, the Authorize.net system reports a
&gt; timeout and there's no trace of the request in our logs.  Authorize.net
&gt; won't investigate in any detail because their system is reporting that
&gt; the request simply timed out.

This could happen in Apache 2 if the web server timed out before reading
the complete request.  (Apache 1.3 logs a 408; Apache 2 doesn't; Apache
trunk will log a 4xx of some sort depending on how much of the request
was read.)

If that's what's happening, it would indicate a problem outside of
Apache.  You could confirm it by backporting the fix from
https://issues.apache.org/bugzilla/show_bug.cgi?id=39785 so logging
would occur.  Then you might need to resort to packet tracing or
something like that to figure out exactly what's going on.

Dan



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: requests possibly not reaching the log phase</title>
<author><name>Nick Kew &lt;nick@webthing.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/httpd-dev/200912.mbox/%3cAB937919-96BD-4B09-8186-A5FA95DE854B@webthing.com%3e"/>
<id>urn:uuid:%3cAB937919-96BD-4B09-8186-A5FA95DE854B@webthing-com%3e</id>
<updated>2009-12-03T11:30:04Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

On 3 Dec 2009, at 08:43, John ORourke wrote:

&gt; So for now, I'm assuming a request is being sent but the log handler
&gt; phase isn't running.

Seems improbable, though mod_perl adds an extra layer.  Graham's
suggestion looks more plausible.

&gt; My next steps are to add simple request logging during the Trans phase,

You can do that by adding a match-and-do-nothing RewriteRule and
setting RewriteLogLevel to log it.  Or the third-party mod_security
will log a great deal more for you.

btw, this should be on the users@ list.

-- 
Nick Kew


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: requests possibly not reaching the log phase</title>
<author><name>=?ISO-8859-2?Q?Pawe=B3_Sypek?= &lt;sypek.pawel@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/httpd-dev/200912.mbox/%3c423b7c800912030257p22e0a443x5f4593827cd87f2f@mail.gmail.com%3e"/>
<id>urn:uuid:%3c423b7c800912030257p22e0a443x5f4593827cd87f2f@mail-gmail-com%3e</id>
<updated>2009-12-03T10:57:49Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
You might also take a look into global apache's error log. There are very
rare cases when PHP (or, probably, other modules) causes segmentation faults
in apache's child processes which prevents any request info to be written to
access log. The last time I had problems with this issue it was caused by
Oracle PHP extension (oci).

2009/12/3 John ORourke &lt;john-perl@o-rourke.org&gt;

&gt; That gives me a few new places to hunt down the issue, thanks.
&gt;

Regards,
Paul


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: [mod_fcgid] Feedback / Suggestions</title>
<author><name>Barry Scott &lt;barry.scott@onelan.co.uk&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/httpd-dev/200912.mbox/%3c4B179985.5090908@onelan.co.uk%3e"/>
<id>urn:uuid:%3c4B179985-5090908@onelan-co-uk%3e</id>
<updated>2009-12-03T10:57:09Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Jeff Trawick wrote:
&gt; On Tue, Nov 24, 2009 at 10:05 AM, Edgar Frank &lt;ef-lists@email.de&gt; wrote:
&gt;   
&gt;
&gt; In the interim, is mod_fastcgi really that bad?
&gt;
&gt;   
mod_fastcgi is fine for handling GET/POST requests, but it fails to 
implement
Authorization or Authenication.

So yes mod_fastcgi is really bad.

mod_fcgid is a very welcome as  a supported httpd module.

Barry



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: requests possibly not reaching the log phase</title>
<author><name>John ORourke &lt;john-perl@o-rourke.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/httpd-dev/200912.mbox/%3c4B17939B.3000400@o-rourke.org%3e"/>
<id>urn:uuid:%3c4B17939B-3000400@o-rourke-org%3e</id>
<updated>2009-12-03T10:31:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Graham Leggett wrote:
&gt; If httpd isn't logging anything, the most likely explanation is that the
&gt; request isn't reaching httpd at all.
&gt;
&gt; How reliable is your network between their system and yours? Are there
&gt; any load balancing devices or other network magic in the way that could
&gt; potentially be misconfigured?
&gt;   
That gives me a few new places to hunt down the issue, thanks.

&gt; Packet sniffing will answer the question "was there any evidence of a
&gt; request", and would probably be the least invasive way of measuring
&gt; this. It's always useful to see what the network is actually doing,
&gt; rather than what you think it's doing.
&gt;   

Definitely - I've decided to bite the bullet and run tshark in the 
background, hopefully that will turn up some new information.  Debugging 
an error which happens at random a few times a month is an interesting 
challenge!

cheers
John



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: requests possibly not reaching the log phase</title>
<author><name>Graham Leggett &lt;minfrin@sharp.fm&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/httpd-dev/200912.mbox/%3c4B178E3D.2060407@sharp.fm%3e"/>
<id>urn:uuid:%3c4B178E3D-2060407@sharp-fm%3e</id>
<updated>2009-12-03T10:09:01Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
John ORourke wrote:

&gt; I have an unusual problem - a large e-commerce site integrated with
&gt; Authorize.net for card payments which appears to be failing to log some
&gt; requests.
&gt; 
&gt; The Authorize.net system makes HTTP POST requests to our server, and
&gt; about 1 in every 500 transactions, the Authorize.net system reports a
&gt; timeout and there's no trace of the request in our logs.  Authorize.net
&gt; won't investigate in any detail because their system is reporting that
&gt; the request simply timed out.

If httpd isn't logging anything, the most likely explanation is that the
request isn't reaching httpd at all.

How reliable is your network between their system and yours? Are there
any load balancing devices or other network magic in the way that could
potentially be misconfigured?

&gt; My next steps are to add simple request logging during the Trans phase,
&gt; and failing that, packet sniffing, but this is a live high-traffic
&gt; server so I'm trying to avoid that if possible.

Packet sniffing will answer the question "was there any evidence of a
request", and would probably be the least invasive way of measuring
this. It's always useful to see what the network is actually doing,
rather than what you think it's doing.

Regards,
Graham
--


</pre>
</div>
</content>
</entry>
<entry>
<title>requests possibly not reaching the log phase</title>
<author><name>John ORourke &lt;john-perl@o-rourke.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/httpd-dev/200912.mbox/%3c4B177A39.6080706@o-rourke.org%3e"/>
<id>urn:uuid:%3c4B177A39-6080706@o-rourke-org%3e</id>
<updated>2009-12-03T08:43:37Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
(apologies if this is a dupe, I originally sent from the wrong address)

Hi there,

I have an unusual problem - a large e-commerce site integrated with
Authorize.net for card payments which appears to be failing to log some
requests.

The Authorize.net system makes HTTP POST requests to our server, and
about 1 in every 500 transactions, the Authorize.net system reports a
timeout and there's no trace of the request in our logs.  Authorize.net
won't investigate in any detail because their system is reporting that
the request simply timed out.

I'm using mod_perl but not hooking into the logging phase, and using a
mod_log CustomLog directive which outputs the usual stuff, plus request
time, connection state, and PID.

So for now, I'm assuming a request is being sent but the log handler
phase isn't running.  The only way I can make this happen in a test
environment is by opening a TCP connection and then closing it without
sending any data.  Are there any other reasons the log phase wouldn't be
run?

My next steps are to add simple request logging during the Trans phase,
and failing that, packet sniffing, but this is a live high-traffic
server so I'm trying to avoid that if possible.

cheers
John




</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Crash in scoreboard for 2.3.4 after restart (register_hooks)</title>
<author><name>Ruediger Pluem &lt;rpluem@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/httpd-dev/200912.mbox/%3c4B16E6F3.7050009@apache.org%3e"/>
<id>urn:uuid:%3c4B16E6F3-7050009@apache-org%3e</id>
<updated>2009-12-02T22:15:15Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>


On 12/02/2009 09:53 PM, Rainer Jung wrote:

&gt; 
&gt; Yes, that fixes it, makes a lot of sense.
&gt; 
&gt; What's interesting is, that the function address changes during the
&gt; first restart, but not any more when doing further restarts. So the
&gt; initial start ends up with a different load order than all of the
&gt; following restarts. Something to keep in mind at least in case it's new
&gt; in 2.3 - and about 60 other places to check which use optional
&gt; functions, whether the function pointers are correctly reinitialized.
&gt; 
&gt; Thanks!
&gt; 
&gt; Will you commit?

Done as r886324.

Regards

Rüdiger



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Crash in scoreboard for 2.3.4 after restart (register_hooks)</title>
<author><name>Rainer Jung &lt;rainer.jung@kippdata.de&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/httpd-dev/200912.mbox/%3c4B16D3CC.9020103@kippdata.de%3e"/>
<id>urn:uuid:%3c4B16D3CC-9020103@kippdata-de%3e</id>
<updated>2009-12-02T20:53:32Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Rüdiger,

On 02.12.2009 21:33, Ruediger Pluem wrote:
&gt;
&gt;
&gt; On 12/02/2009 09:09 PM, Rainer Jung wrote:
&gt;&gt; Platform: Solaris 8 (sic!)
&gt;&gt; MPM: worker dynamically loaded
&gt;&gt; APR etc: Bundled
&gt;&gt; PCRE: 7.8
&gt;&gt;
&gt;&gt; During testing of 2.3.4 I noticed crashes after restart.
&gt;&gt;
&gt;&gt; I did a build with lots of modules, especially including mod_logio. The
&gt;&gt; scoreboard uses in ap_increment_counts() the optional function
&gt;&gt; ap_logio_get_last_bytes() from mod_logio if available.
&gt;&gt;
&gt;&gt; In my case after restart the memory location of mod_logio and the
&gt;&gt; address of the optional function changed, but the scoreboard still tries
&gt;&gt; to call to the original address retrieved after the initial start.
&gt;&gt;
&gt;&gt; I don't know about the full implementation of the optional functions,
&gt;&gt; but it seems either
&gt;&gt;
&gt;&gt; APR_REGISTER_OPTIONAL_FN(ap_logio_get_last_bytes);
&gt;&gt;
&gt;&gt; in register_hooks in mod_logio needs to run after restarts too, or there
&gt;&gt; is a problem resulting in an unwanted change of load order of the
&gt;&gt; modules during restart. I did not edit the config files between start
&gt;&gt; and restart.
&gt;&gt;
&gt;&gt; The problem happens with normal restarts and graceful restarts.
&gt;&gt;
&gt;&gt; Wild guess: it might have to do with dynamic MPM loading.
&gt;
&gt; I am not so sure. I guess the problem is that we call
&gt;
&gt; APR_RETRIEVE_OPTIONAL_FN(ap_logio_get_last_bytes);
&gt;
&gt; only in ap_calc_scoreboard_size which is IMHO not called at restarts.
&gt; Does the following totally untested patch fix your issue?
&gt;
&gt; Index: scoreboard.c
&gt; ===================================================================
&gt; --- scoreboard.c        (Revision 886294)
&gt; +++ scoreboard.c        (Arbeitskopie)
&gt; @@ -284,6 +284,8 @@
&gt;       apr_status_t rv;
&gt;   #endif
&gt;
&gt; +    pfn_ap_logio_get_last_bytes = APR_RETRIEVE_OPTIONAL_FN(ap_logio_get_last_bytes);
&gt; +
&gt;       if (ap_scoreboard_image) {
&gt;           running_gen = ap_scoreboard_image-&gt;global-&gt;running_generation;
&gt;           ap_scoreboard_image-&gt;global-&gt;restart_time = apr_time_now();
&gt;
&gt;

Yes, that fixes it, makes a lot of sense.

What's interesting is, that the function address changes during the 
first restart, but not any more when doing further restarts. So the 
initial start ends up with a different load order than all of the 
following restarts. Something to keep in mind at least in case it's new 
in 2.3 - and about 60 other places to check which use optional 
functions, whether the function pointers are correctly reinitialized.

Thanks!

Will you commit?

Rainer




</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Crash in scoreboard for 2.3.4 after restart (register_hooks)</title>
<author><name>Jeff Trawick &lt;trawick@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/httpd-dev/200912.mbox/%3ccc67648e0912021244r258d78f0h3e8630a42da50a44@mail.gmail.com%3e"/>
<id>urn:uuid:%3ccc67648e0912021244r258d78f0h3e8630a42da50a44@mail-gmail-com%3e</id>
<updated>2009-12-02T20:44:56Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Wed, Dec 2, 2009 at 3:33 PM, Ruediger Pluem &lt;rpluem@apache.org&gt; wrote:
&gt;
&gt;
&gt; On 12/02/2009 09:09 PM, Rainer Jung wrote:
&gt;&gt; Platform: Solaris 8 (sic!)
&gt;&gt; MPM: worker dynamically loaded
&gt;&gt; APR etc: Bundled
&gt;&gt; PCRE: 7.8
&gt;&gt;
&gt;&gt; During testing of 2.3.4 I noticed crashes after restart.
&gt;&gt;
&gt;&gt; I did a build with lots of modules, especially including mod_logio. The
&gt;&gt; scoreboard uses in ap_increment_counts() the optional function
&gt;&gt; ap_logio_get_last_bytes() from mod_logio if available.
&gt;&gt;
&gt;&gt; In my case after restart the memory location of mod_logio and the
&gt;&gt; address of the optional function changed, but the scoreboard still tries
&gt;&gt; to call to the original address retrieved after the initial start.
&gt;&gt;
&gt;&gt; I don't know about the full implementation of the optional functions,
&gt;&gt; but it seems either
&gt;&gt;
&gt;&gt; APR_REGISTER_OPTIONAL_FN(ap_logio_get_last_bytes);
&gt;&gt;
&gt;&gt; in register_hooks in mod_logio needs to run after restarts too, or there
&gt;&gt; is a problem resulting in an unwanted change of load order of the
&gt;&gt; modules during restart. I did not edit the config files between start
&gt;&gt; and restart.
&gt;&gt;
&gt;&gt; The problem happens with normal restarts and graceful restarts.
&gt;&gt;
&gt;&gt; Wild guess: it might have to do with dynamic MPM loading.
&gt;
&gt; I am not so sure. I guess the problem is that we call
&gt;
&gt; APR_RETRIEVE_OPTIONAL_FN(ap_logio_get_last_bytes);
&gt;
&gt; only in ap_calc_scoreboard_size which is IMHO not called at restarts.

That was my guess.  Which reminds me of this old challenge for a module I wrote:

 * XXX
 * our daemon must be created in the pre-mpm hook so that the scoreboard
 * is available in the daemon process; the scoreboard isn't created until
 * the core module's pre-mpm hook
 * BUT: the pre-mpm hook is not called for graceful restart, so we can't
 *      start a new instance of the daemon then
 * BUT: request processing from the daemon MUST use the new configuration,
 *      so we'd be busted for graceful restart


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: [VOTE] Release httpd 2.3.4-alpha</title>
<author><name>Rainer Jung &lt;rainer.jung@kippdata.de&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/httpd-dev/200912.mbox/%3c4B16D177.7000506@kippdata.de%3e"/>
<id>urn:uuid:%3c4B16D177-7000506@kippdata-de%3e</id>
<updated>2009-12-02T20:43:35Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On 25.11.2009 23:43, Paul Querna wrote:
&gt; Test tarballs for Apache httpd 2.3.4-alpha are available at:
&gt;     &lt;http://httpd.apache.org/dev/dist/&gt;
&gt;
&gt; Your votes please;
&gt;
&gt;   +/- 1
&gt;   [  ]  Release httpd-2.3.4 as Alpha
&gt;
&gt; Vote closes at 18:00 UTC on Monday November 30 2009.
&gt;
&gt; May your Thanksgiving be filled with Turkey and httpd testing,

I'm +0 as an alpha.

I reported a crash a couple of minutes ago, but it's not clear at the 
moment, whether it's only a problem in mod_logio (which is rarely used) 
or a more general problem concerning optional function hooks and restarts.

Other small things:

1) Use of AP_LDAP_OPT_DEBUG in modules/ldap/util_ldap.c, already fixed 
by Günter.

2) HTTP KeepAlive: there is still a problem with FD handling (no 
surprise, because nothing changed since 2.3.1): see

   http://marc.info/?t=123102466200005&amp;r=1&amp;w=2

In apr configure, there are (at least) two places with

   $RM conftest*

but RM=rm and conftest* doesn't exist at that moment, so it obviously 
produces

   conftest*: No such file or directory

Line numbers are 13902 (and 13957) and also 15018. Don't know whether RM 
should be "rm -f" or instead it should "$RM -f contest*".

3) configure in the expat directory throws a syntax error:

.../srclib/apr-util/xml/expat/configure[2462]: syntax error at line 3321 
: `(' unexpected

It has to do with the function lt_if_append_uniq used there. If I 
rebuild configure using the buildconf.sh script inside the expat 
directory, the function is no longer used in the configure script and 
the error is gone. It seems the function lt_if_append_uniq() comes from 
libtool 2.2. I use 1.5.26. Looks like we have to agree on minimum 
toolchain needed and fix documentation if we upgrade to libtool 2.2 as a 
requirement.

Regards,

Rainer


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Crash in scoreboard for 2.3.4 after restart (register_hooks)</title>
<author><name>Ruediger Pluem &lt;rpluem@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/httpd-dev/200912.mbox/%3c4B16CF0C.60000@apache.org%3e"/>
<id>urn:uuid:%3c4B16CF0C-60000@apache-org%3e</id>
<updated>2009-12-02T20:33:16Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>


On 12/02/2009 09:09 PM, Rainer Jung wrote:
&gt; Platform: Solaris 8 (sic!)
&gt; MPM: worker dynamically loaded
&gt; APR etc: Bundled
&gt; PCRE: 7.8
&gt; 
&gt; During testing of 2.3.4 I noticed crashes after restart.
&gt; 
&gt; I did a build with lots of modules, especially including mod_logio. The
&gt; scoreboard uses in ap_increment_counts() the optional function
&gt; ap_logio_get_last_bytes() from mod_logio if available.
&gt; 
&gt; In my case after restart the memory location of mod_logio and the
&gt; address of the optional function changed, but the scoreboard still tries
&gt; to call to the original address retrieved after the initial start.
&gt; 
&gt; I don't know about the full implementation of the optional functions,
&gt; but it seems either
&gt; 
&gt; APR_REGISTER_OPTIONAL_FN(ap_logio_get_last_bytes);
&gt; 
&gt; in register_hooks in mod_logio needs to run after restarts too, or there
&gt; is a problem resulting in an unwanted change of load order of the
&gt; modules during restart. I did not edit the config files between start
&gt; and restart.
&gt; 
&gt; The problem happens with normal restarts and graceful restarts.
&gt; 
&gt; Wild guess: it might have to do with dynamic MPM loading.

I am not so sure. I guess the problem is that we call

APR_RETRIEVE_OPTIONAL_FN(ap_logio_get_last_bytes);

only in ap_calc_scoreboard_size which is IMHO not called at restarts.
Does the following totally untested patch fix your issue?

Index: scoreboard.c
===================================================================
--- scoreboard.c        (Revision 886294)
+++ scoreboard.c        (Arbeitskopie)
@@ -284,6 +284,8 @@
     apr_status_t rv;
 #endif

+    pfn_ap_logio_get_last_bytes = APR_RETRIEVE_OPTIONAL_FN(ap_logio_get_last_bytes);
+
     if (ap_scoreboard_image) {
         running_gen = ap_scoreboard_image-&gt;global-&gt;running_generation;
         ap_scoreboard_image-&gt;global-&gt;restart_time = apr_time_now();


Regards

Rüdiger



</pre>
</div>
</content>
</entry>
</feed>
