Re: [Bug Report] mod_perl runs with GID 0 !

2016-04-12 Thread John Dunlap
The only stupid question is the one you don't ask. On Tue, Apr 12, 2016 at 10:59 AM, Ruben Safir wrote: > On 04/12/2016 10:54 AM, Ben RUBSON wrote: > > The files created inside a directory will be owned by the group of the > directory, not by the primary group of the user which creates the file.

Re: [Bug Report] mod_perl runs with GID 0 !

2016-04-12 Thread Ruben Safir
On 04/12/2016 10:54 AM, Ben RUBSON wrote: > The files created inside a directory will be owned by the group of the > directory, not by the primary group of the user which creates the file... > This confused me... > > I'm really sorry for the useless noise :| its not noise. I learned something,

Re: [Bug Report] mod_perl runs with GID 0 !

2016-04-12 Thread Ben RUBSON
>> And what is a little bit frightening here is that Apache is launched by the >> #1025 user itself. >> So how could it be possible for it to generate a file owned by group #0... >> Very strange ! > > Something is misconfigured, but its not related to modperl. You're totally right, and I would l

Re: [Bug Report] mod_perl runs with GID 0 !

2016-04-12 Thread John D Groenveld
In message , Ben RUBSON writes: >And what is a little bit frightening here is that Apache is launched by the >#1025 user itself. >So how could it be possible for it to generate a file owned by group #0... >Very strange ! Something is misconfigured, but its not related to modperl. Disable modperl

Re: [Bug Report] mod_perl runs with GID 0 !

2016-04-12 Thread Ben RUBSON
>> Let's run the following example script in mod_perl : >> >> # more test.pl >> open(my $fh, ">", "/tmp/test.log"); >> print $fh "Your UID is " . $< . "\n"; >> my @groups = split '\s', $(; >> print $fh "You belong to these groups: "; >> print $fh $_ . " " foreach(@groups); > > How did you run the

Re: [Bug Report] mod_perl runs with GID 0 !

2016-04-12 Thread Ben RUBSON
>> Let's run the following example script in mod_perl : >> >> # more test.pl >> open(my $fh, ">", "/tmp/test.log"); >> print $fh "Your UID is " . $< . "\n"; >> my @groups = split '\s', $(; >> print $fh "You belong to these groups: "; >> print $fh $_ . " " foreach(@groups); > > How did you run the

Re: [Bug Report] mod_perl runs with GID 0 !

2016-04-12 Thread Ben RUBSON
>> Let's run the following example script in mod_perl : >> >> # more test.pl >> open(my $fh, ">", "/tmp/test.log"); >> print $fh "Your UID is " . $< . "\n"; >> my @groups = split '\s', $(; >> print $fh "You belong to these groups: "; >> print $fh $_ . " " foreach(@groups); > > How did you run the

Re: [Bug Report] mod_perl runs with GID 0 !

2016-04-12 Thread John D Groenveld
In message <88583f53-89d2-40aa-b850-cc819c5e6...@gmail.com>, Ben RUBSON writes: >Let's run the following example script in mod_perl : > ># more test.pl >open(my $fh, ">", "/tmp/test.log"); >print $fh "Your UID is " . $< . "\n"; >my @groups = split '\s', $(; >print $fh "You belong to these groups: "

Re: [Bug Report] mod_perl runs with GID 0 !

2016-04-12 Thread Ben RUBSON
>> Because this is the documented procedure : >> http://perl.apache.org/docs/2.0/user/help/help.html#Reporting_Problems >> > > Interesting. I don't ever recall seeing a bug report on this list. I > always assumed there to be a developed list. I had a look at the Apache BugZilla, but there is n

Re: [Bug Report] mod_perl runs with GID 0 !

2016-04-12 Thread Ruben Safir
On 04/12/2016 02:11 AM, Ben RUBSON wrote: > Because this is the documented procedure : > http://perl.apache.org/docs/2.0/user/help/help.html#Reporting_Problems > Interesting. I don't ever recall seeing a bug report on this list. I always assumed there to be a developed list. > >> I'm confused

Re: [Bug Report] mod_perl runs with GID 0 !

2016-04-11 Thread Ben RUBSON
Because this is the documented procedure : http://perl.apache.org/docs/2.0/user/help/help.html#Reporting_Problems > I'm confused. Why send this to the mailing list? > > > On Mon, Apr 11, 2016 at 11:04:17PM +0200, Ben RUBSON wrote: >> -8<-- Start Bug Report 8<---

Re: [Bug Report] mod_perl runs with GID 0 !

2016-04-11 Thread Ruben Safir
I'm confused. Why send this to the mailing list? On Mon, Apr 11, 2016 at 11:04:17PM +0200, Ben RUBSON wrote: > -8<-- Start Bug Report 8<-- > 1. Problem Description: > > Hello, > > Here is my Apache user and group : > > # grep -iE "user|group" httpd.conf

Re: Bug report: #0 file_dup (new_file=0xbfd296d4, old_file=0x0, p=0x80a70a8, which_dup=1) at file_io/unix/filedup.c:59 segfault

2011-05-05 Thread A. Przygienda
After experimenting around, the reason is the global directive I use (perfectly valid) ErrorLog syslog:local6 that crashes #ifdef MP_TRACE /* httpd core open_logs handler re-opens s->error_log, which might * change, even though it still points to the same physical file * (.e.g on w

Re: Bug report: #0 file_dup (new_file=0xbfd296d4, old_file=0x0, p=0x80a70a8, which_dup=1) at file_io/unix/filedup.c:59 segfault

2011-05-05 Thread A. Przygienda
Same problem on 2.0.5 and gentoo 2010 That's how I run it r -D SSL -D SSL_DEFAULT_VHOST -D DEFAULT_VHOST -D INFO -D DAV -D DAV_FS -D CACHE -D MEM_CACHE -D PHP5 -D PERL_VHOST -D PYTHON -D STATUS -D PROXY -D PROXY_HTML -d /usr/lib/apache2 -f /etc/apache2/httpd.conf -E /var/log/apache2/startuperror.

Re: Bug report: #0 file_dup (new_file=0xbfd296d4, old_file=0x0, p=0x80a70a8, which_dup=1) at file_io/unix/filedup.c:59 segfault

2011-03-19 Thread A. Przygienda
On 03/19/2011 06:11 PM, Fred Moyer wrote: > Have you tried 2.0.5? > nope, was on gentoo 2008 which I tried to keep but looks like I must upgrade so I check out 2011 distro now and see whether it persists -- tony > On Sat, Mar 19, 2011 at 9:15 AM, A. Przygienda wrote: >> -8<---

Re: Bug report: #0 file_dup (new_file=0xbfd296d4, old_file=0x0, p=0x80a70a8, which_dup=1) at file_io/unix/filedup.c:59 segfault

2011-03-19 Thread Fred Moyer
Have you tried 2.0.5? On Sat, Mar 19, 2011 at 9:15 AM, A. Przygienda wrote: > -8<-- Start Bug Report 8<-- > 1. Problem Description: > >  Crash gentoo apache2 start. core dump below, think tries to dup >  a 0 file pointer > > >  [DESCRIBE THE PROBLEM HERE] >

Re: bug report: wrong line number if using built-in functions

2008-06-19 Thread Philippe M. Chiasson
Christian Mehring wrote: -8<-- Start Bug Report 8<-- 1. Problem Description: Line numbers will be wrong if a bulit-in function's first parameter is not in the same line. Minimized example: 01: #!/usr/local/bin/perl 02: use strict; 03: use warnings; 04:

Re: Bug report - mod_perl2 make test fails on Cygwin DLL version: 1.5.24

2007-11-05 Thread Nikolay Ananiev
enter export APACHE_TEST_STARTUP_TIMEOUT=800 in your console and then make test again Apache needs a lot of time to start up on Cygwin "Rolf Banting" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Guys, Probably not a bug as such but something in my set up. Find the output fr

Re: bug report

2007-05-23 Thread Fred Moyer
LWP: 5.65 mod_perl : 1.9907 It looks like you have a very old version of mod_perl2 installed in addition to the one you just installed. I can't say whether that's the cause of the server not starting during 'make test', but it might help to remove it via rpm or what

Re: Bug Report

2007-01-04 Thread Robert Landrum
Snook, Adrian (London) wrote: 3. This is the core dump trace: (if you get a core dump): Core was generated by `/home -k start'. Program terminated with signal 11, Segmentation fault. #0 0x002f201e in free () from /lib/tls/libc.so.6 (gdb) bt full #0 0x002f201e in free () from /lib/tls/libc.so

Re: bug report : "make test" failure when compiling from source.

2006-09-19 Thread Philip M. Gollucci
Daniel McBrearty wrote: 1. Problem Description: Trying to build and install mod_perl from source. Have already built perl and apache 2.2 from source, they both seem to be fine (latest stable, both). But it is my first cut at this, so I could have made a dumb error. Anyhow, all help appreciated.

Re: Bug report $r->read() fail

2006-03-07 Thread Philippe M. Chiasson
Khai Doan wrote: > -8<-- Start Bug Report 8<-- > 1. Problem Description: > >Calling $r->read($buf,0) result in an internal server error, and an entry > in error_log: The LENGTH argument can't be negative at . A slightly confusing error message, but

Re: Bug report: ModPerl 2.0.2 make test "Insecure directory under -T"

2005-12-23 Thread Stas Bekman
Stas Bekman wrote: Kent, Mr. John (Contractor) wrote: Hello Stas, No, my path does not contain . or .. anywhere. Here is what I get: [EMAIL PROTECTED] ~]$ perl -le 'print $ENV{PATH}' /users/webuser/perl/bin:/users/webuser/apache-ant/bin:users/webuser/netscape:/users/webuser/mysql/bin:/users/w

Re: Bug report: ModPerl 2.0.2 make test "Insecure directory under -T"

2005-12-23 Thread Stas Bekman
Kent, Mr. John (Contractor) wrote: Hello Stas, No, my path does not contain . or .. anywhere. Here is what I get: [EMAIL PROTECTED] ~]$ perl -le 'print $ENV{PATH}' /users/webuser/perl/bin:/users/webuser/apache-ant/bin:users/webuser/netscape:/users/webuser/mysql/bin:/users/webuser/jdev/bin:/user

RE: Bug report: ModPerl 2.0.2 make test "Insecure directory under -T"

2005-12-23 Thread Kent, Mr. John \(Contractor\)
3:04 PM To: Kent, Mr. John (Contractor) Cc: Mod-Perl (E-mail) Subject: Re: Bug report: ModPerl 2.0.2 make test "Insecure directory under -T" Kent, Mr. John (Contractor) wrote: > Here is mybugreport: > > -8<-- Start Bug Report 8<

Re: Bug report: ModPerl 2.0.2 make test "Insecure directory under -T"

2005-12-22 Thread Stas Bekman
Kent, Mr. John (Contractor) wrote: Here is mybugreport: -8<-- Start Bug Report 8<-- 1. Problem Description: [DESCRIBE THE PROBLEM HERE] When running >make test Get the following errror [Thu Dec 22 09:28:15 2005] [info] base server + 27 vhosts ready to

Re: Bug Report : problem with both_str_native_remove test and broken mod_perl.so

2005-04-05 Thread Torsten Foertsch
On Monday 04 April 2005 19:39, Fred Seibel wrote: > t/filter/both_str_native_remove.# Failed test 1 in > t/filter/both_str_native_remove.t at line 22 > # Failed test 2 in t/filter/both_str_native_remove.t at line 24 > t/filter/both_str_native_remove.FAILED tests 1-2 > Faile

Re: Bug Report : problem with both_str_native_remove test and broken mod_perl.so

2005-04-04 Thread Stas Bekman
Fred Seibel wrote: 1. Problem Description: I cannot get a clean make test. the tests fail (but not consistently t/filter/both_str_native_remove.# Failed test 1 in t/filter/both_str_native_remove.t at line 22 # Failed test 2 in t/filter/both_str_native_remove.t at line 24 t/filter/both_st

Re: Bug Report: seg fault with 1.29/Apache 1.3.33/RedHat 7.1

2004-11-20 Thread Tim Evans
On Fri, 19 Nov 2004 08:42:54 -0600 (CST), Brian Stevens wrote > Have you tried building mod_perl statically into httpd (rather than > as a DSO)? Thanks for your reply. While we'd covered this previously in the chain of e-mails, I should have added it here, too, for completeness. Static or dyn

Re: Bug Report: seg fault with 1.29/Apache 1.3.33/RedHat 7.1

2004-11-19 Thread Stas Bekman
[CC'ing Michael Schroeder who submitted a related patch to p5p http://www.gossamer-threads.com/lists/perl/porters/187753] Tim Evans wrote: so at the moment the solution is to recompile perl with -DPERL_USE_SAFE_PUTENV Does not work. Michael, do you have any other solutions for Tim? He seems to ha

Re: Bug Report: seg fault with 1.29/Apache 1.3.33/RedHat 7.1

2004-11-19 Thread Joe Schaefer
Tim Evans <[EMAIL PROTECTED]> writes: > Let it build apache for me; apache's config.status says: [...] > "--with-layout=Apache" \ [...] > Attaching to program: /usr/sbin/httpd, process 22798 Wrong httpd binary- the symbols in that stack trace are from a 2.0 server. Your server's path should

Re: Bug Report: seg fault with 1.29/Apache 1.3.33/RedHat 7.1

2004-11-19 Thread ___cliff rayman___
Tim Evans wrote: LoadModule php4_modulelibexec/libphp4.so LoadModule perl_modulelibexec/libperl.so Restart apache. Seg faults on simple test.php page. Error log says (same as before): [Thu Nov 18 20:48:17 2004] [notice] child pid 22818 exit signal Segmentation fault (11) I alw

Re: Bug Report: seg fault with 1.29/Apache 1.3.33/RedHat 7.1

2004-11-19 Thread Tim Evans
>so at the moment the solution is to recompile perl with >-DPERL_USE_SAFE_PUTENV Does not work. [EMAIL PROTECTED] apache_1.3.33]# perl -V:cppflags cppflags='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/include/gdbm'; Fresh build of PHP 4.3.9; config.status h

Re: Bug Report: seg fault with 1.29/Apache 1.3.33/RedHat 7.1

2004-11-16 Thread Tim Evans
On Tue, 16 Nov 2004 16:00:19 -0500, Stas Bekman wrote > so at the moment the solution is to recompile perl with > -DPERL_USE_SAFE_PUTENV I'll give this a try in the next day or so. > not sure about: > >* Replace all PHP calls to putenv() with apache_setenv(). I read this as an either red

Re: Bug Report: seg fault with 1.29/Apache 1.3.33/RedHat 7.1

2004-11-16 Thread Stas Bekman
Tim Evans wrote: On Tue, 16 Nov 2004 16:00:19 -0500, Stas Bekman wrote so at the moment the solution is to recompile perl with -DPERL_USE_SAFE_PUTENV I'll give this a try in the next day or so. not sure about: * Replace all PHP calls to putenv() with apache_setenv(). I read this as an eith

Re: Bug Report: seg fault with 1.29/Apache 1.3.33/RedHat 7.1

2004-11-16 Thread Stas Bekman
Tim Evans wrote: Here's something more of interest (more than a year old, but the described symptons are spot-on: http://www.phpbuilder.com/lists/php-install/2003092/0018.php An excellent find, Tim. Funny but this exact problem is now discussed on p5p: http://www.gossamer-threads.com/lists/perl/

Re: Bug Report: seg fault with 1.29/Apache 1.3.33/RedHat 7.1

2004-11-16 Thread Tim Evans
Here's something more of interest (more than a year old, but the described symptons are spot-on: http://www.phpbuilder.com/lists/php-install/2003092/0018.php -- Tim Evans, TKEvans.com, Inc.|5 Chestnut Court [EMAIL PROTECTED] |Owings Mills, MD 21117 http://www.tkevans.c

Re: Bug Report: seg fault with 1.2

2004-11-15 Thread Stas Bekman
Stas Bekman wrote: Tim Evans wrote: So what are the differences? I suppose you want to compare 1) the options passed to ./configure 2) linker and compilation options (since mod_perl inserts the options suggested by Perl (see perl -V) when compiling the rest of the Apache modules and the Apache co

Re: Bug Report: seg fault with 1.2

2004-11-15 Thread Stas Bekman
Tim Evans wrote: So what are the differences? I suppose you want to compare 1) the options passed to ./configure 2) linker and compilation options (since mod_perl inserts the options suggested by Perl (see perl -V) when compiling the rest of the Apache modules and the Apache core. For PHP: ./con

Re: Bug Report: seg fault with 1.2

2004-11-15 Thread Tim Evans
>So what are the differences? I suppose you want to compare >1) the options passed to ./configure >2) linker and compilation options (since mod_perl inserts the options >suggested by Perl (see perl -V) when compiling the rest of the Apache >modules and the Apache core. For PHP: ./configure --w

Re: Bug Report: seg fault with 1.29/Apache 1.3.33/RedHat 7.1

2004-11-15 Thread Tim Evans
>Because you are running under gdb. If you run normally and arrange for the >system to allow the core files (as explained in the doc) you will get one.' > >Now how do you know that the process 3196 is the one that serves the >request? I assume that you run under httpd -X? But it doesn't seem to

Re: Bug Report: seg fault with 1.29/Apache 1.3.33/RedHat 7.1

2004-11-15 Thread Tim Evans
>The fact that you refuse to give us the segfault backtrace makes it really >hard to make any intelligent guesswork. There is no core file. gdb/bt on the running httpd process says: [EMAIL PROTECTED] src]# gdb httpd 3196 GNU gdb Red Hat Linux (5.2-2) Copyright 2002 Free Software Foundation, In

Re: Bug Report: seg fault with 1.29/Apache 1.3.33/RedHat 7.1

2004-11-14 Thread Stas Bekman
Tim Evans wrote: Because you are running under gdb. If you run normally and arrange for the system to allow the core files (as explained in the doc) you will get one.' Now how do you know that the process 3196 is the one that serves the request? I assume that you run under httpd -X? But it doesn

Re: Bug Report: seg fault with 1.29/Apache 1.3.33/RedHat 7.1

2004-11-14 Thread Stas Bekman
Tim Evans wrote: The fact that you refuse to give us the segfault backtrace makes it really hard to make any intelligent guesswork. There is no core file. gdb/bt on the running httpd process says: [EMAIL PROTECTED] src]# gdb httpd 3196 [...] Attaching to program: /usr/local/src/apache_1.3.33/src

Re: Bug Report: seg fault with 1.29/Apache 1.3.33/RedHat 7.1

2004-11-13 Thread Stas Bekman
Tim Evans wrote: 1.29 sees overly sensitive to small errors in html documents that a browser would ignor, returning empty documents to browser and logging seg faults to apache error log. [...] Makefile.PL options: perl Makefile.PL USE_DSO=1 httpd.conf: LoadModule perl_modulelibexec/libper

Re: Bug report

2004-09-30 Thread Stas Bekman
[EMAIL PROTECTED] wrote: -8<-- Start Bug Report 8<-- 1. Problem Description: test server didn't start (t/logs/error_log): Leo, have you by chance read the suggestion that was printed out when 'make test' has aborted. Please try again and do exactly what it s

Re: bug report question

2004-06-24 Thread Geoffrey Young
John Wittkoski wrote: > The sample bug report (using t/REPORT) says to send bug reports to dev > perl.apache.org, but the web page under "Reporting Information" (at > http://perl.apache.org/docs/2.0/user/help/help.html#Reporting_Problems) > seems to indicate bugs should be sent to this list (

Re: bug report in mod_perl 1.99_13 installation

2004-03-09 Thread Daniel Risacher
I get a clean build from CVS now. -- "The blues are multicolored." -- Dave Lambert Daniel Risacher [EMAIL PROTECTED] -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org

Re: bug report in mod_perl 1.99_13 installation

2004-03-09 Thread Stas Bekman
Stas Bekman wrote: Enrico Sorcinelli wrote: On Tue, 09 Mar 2004 11:22:59 +0100 Arnaud Blancher <[EMAIL PROTECTED]> wrote: t/hooks/cleanup.ok 1/2# Failed test 2 in t/hooks/cleanup.t at line 40 t/hooks/cleanup.FAILED test 2 Failed 1/2 tests, 5

Re: bug report in mod_perl 1.99_13 installation

2004-03-09 Thread Stas Bekman
Enrico Sorcinelli wrote: On Tue, 09 Mar 2004 11:22:59 +0100 Arnaud Blancher <[EMAIL PROTECTED]> wrote: t/hooks/cleanup.ok 1/2# Failed test 2 in t/hooks/cleanup.t at line 40 t/hooks/cleanup.FAILED test 2 Failed 1/2 tests, 50.00% okay t/hooks/c

Re: bug report in mod_perl 1.99_13 installation

2004-03-09 Thread Stas Bekman
No need for any extra info as I can see all these errors with a fresh package run under root: t/directive/perl.t 84 50.00% 2-3 6-7 t/directive/perldo.t 142 14.29% 11 14 t/hooks/cleanup.t 21 50.00% 2 t/hooks/cleanup2.t

Re: bug report in mod_perl 1.99_13 installation

2004-03-09 Thread Stas Bekman
Daniel Risacher wrote: I get these errors with yesterday's CVS (some of which are the same that Arnaud saw): t/modules/include...ok 2/6# Failed test 4 in t/modules/include.t at line 32 fail #2 # Failed test 5 in t/modules/include.t at line 32 fail #3 t/modules/include.

Re: bug report in mod_perl 1.99_13 installation

2004-03-09 Thread Enrico Sorcinelli
On Tue, 09 Mar 2004 11:22:59 +0100 Arnaud Blancher <[EMAIL PROTECTED]> wrote: > t/hooks/cleanup.ok 1/2# Failed test 2 in > t/hooks/cleanup.t at line 40 > t/hooks/cleanup.FAILED test 2 > Failed 1/2 tests, 50.00% okay > t/hooks/cleanup2...

Re: bug report in mod_perl 1.99_13 installation

2004-03-09 Thread Daniel Risacher
I get these errors with yesterday's CVS (some of which are the same that Arnaud saw): t/modules/include...ok 2/6# Failed test 4 in t/modules/include.t at line 32 fail #2 # Failed test 5 in t/modules/include.t at line 32 fail #3 t/modules/include...FAILED