Re: [mp2] mod_perl test suite fails

2003-12-17 Thread Stas Bekman
Volker Kroll wrote: On Wed, 2003-12-17 at 10:02, Stas Bekman wrote: Perfect. Finally the detection is properly working. Now the test suite doesn't even start, since we can tell ahead that it won't work. The next stage will be to find a workaround for the problem. Thanks a lot for the testing,

Re: [mp2] mod_perl test suite fails

2003-12-17 Thread Volker Kroll
On Wed, 2003-12-17 at 10:02, Stas Bekman wrote: > Perfect. Finally the detection is properly working. Now the test suite doesn't > even start, since we can tell ahead that it won't work. > > The next stage will be to find a workaround for the problem. > > Thanks a lot for the testing, Volker.

Re: [mp2] mod_perl test suite fails

2003-12-17 Thread Stas Bekman
Volker Kroll wrote: Good Morning Stas. On Tue, 2003-12-16 at 21:33, Stas Bekman wrote: Stas Bekman wrote: I think I've figured it out. Can you please try with the current cvs or just apply this patch: This is the result after updating from CVS: /usr/bin/perl -Iblib/arch -Iblib/lib \ t/TEST -

Re: [mp2] mod_perl test suite fails

2003-12-17 Thread Volker Kroll
Good Morning Stas. On Tue, 2003-12-16 at 21:33, Stas Bekman wrote: > Stas Bekman wrote: > I think I've figured it out. Can you please try with the current cvs or just > apply this patch: > This is the result after updating from CVS: /usr/bin/perl -Iblib/arch -Iblib/lib \ t/TEST -clean *** set

Re: [mp2] mod_perl test suite fails

2003-12-16 Thread Stas Bekman
Stas Bekman wrote: Volker Kroll wrote: On Tue, 2003-12-16 at 19:24, Stas Bekman wrote: Volker Kroll wrote: [...] drwxr-xr-x 19 root root 4096 Dec 15 09:55 /root/modperl-2.0 drwxr-x--- 21 root root 4096 Dec 16 11:06 /root and what are the perms of /root/modperl-2.0/t? drwxr-xr-x

Re: [mp2] mod_perl test suite fails

2003-12-16 Thread Stas Bekman
Volker Kroll wrote: On Tue, 2003-12-16 at 19:24, Stas Bekman wrote: Volker Kroll wrote: [...] drwxr-xr-x 19 root root 4096 Dec 15 09:55 /root/modperl-2.0 drwxr-x--- 21 root root 4096 Dec 16 11:06 /root and what are the perms of /root/modperl-2.0/t? drwxr-xr-x 21 nobody nobody

Re: [mp2] mod_perl test suite fails

2003-12-16 Thread Volker Kroll
On Tue, 2003-12-16 at 19:24, Stas Bekman wrote: > Volker Kroll wrote: > [...] > > drwxr-xr-x 19 root root 4096 Dec 15 09:55 /root/modperl-2.0 > > drwxr-x--- 21 root root 4096 Dec 16 11:06 /root > > and what are the perms of /root/modperl-2.0/t? drwxr-xr-x 21 nobody nobody 4

Re: [mp2] mod_perl test suite fails

2003-12-16 Thread Stas Bekman
Volker Kroll wrote: [...] drwxr-xr-x 19 root root 4096 Dec 15 09:55 /root/modperl-2.0 drwxr-x--- 21 root root 4096 Dec 16 11:06 /root and what are the perms of /root/modperl-2.0/t? __ Stas BekmanJAm_pH --

Re: [mp2] mod_perl test suite fails

2003-12-16 Thread Volker Kroll
On Tue, 2003-12-16 at 19:01, Stas Bekman wrote: > [Volker, please keep the followups on the list. Thanks.] oops sorry. > rm t/logs/error_log > t/TEST -v apache/add_config > END in modperl_extra.pl, pid=20136 [Tue Dec 16 18:54:46 2003] [notice] Apache/2.0.48 (Unix) mod_perl/1.99_12-dev Perl/v5.8

Re: [mp2] mod_perl test suite fails

2003-12-16 Thread Stas Bekman
[Volker, please keep the followups on the list. Thanks.] Volker Kroll wrote: On Tue, 2003-12-16 at 18:40, Stas Bekman wrote: Volker Kroll wrote: /usr/bin/perl -Mlib=/root/modperl-2.0/Apache-Test/lib -MApache::TestRun \ -e 'Apache::TestRun::run_root_fs_test(99, 99, q[/root/modperl-2.0/t])';

Re: [mp2] mod_perl test suite fails

2003-12-16 Thread Stas Bekman
Volker Kroll wrote: On Mon, 2003-12-15 at 20:44, Stas Bekman wrote: Volker Kroll wrote: On Mon, 2003-12-15 at 10:29, Stas Bekman wrote: no, no, it has nothing to do with the error_log, Can I see what you get when running: /usr/bin/perl -Mlib=/root/modperl-2.0/Apache-Test/lib -MApache::TestRu

Re: [mp2] mod_perl test suite fails

2003-12-16 Thread Volker Kroll
On Mon, 2003-12-15 at 20:44, Stas Bekman wrote: > Volker Kroll wrote: > > On Mon, 2003-12-15 at 10:29, Stas Bekman wrote: > > > > > >>no, no, it has nothing to do with the error_log, Can I see what you get when > >>running: > >> > >>/usr/bin/perl -Mlib=/root/modperl-2.0/Apache-Test/lib -MApache:

Re: [mp2] mod_perl test suite fails

2003-12-15 Thread Stas Bekman
Volker Kroll wrote: On Mon, 2003-12-15 at 10:29, Stas Bekman wrote: no, no, it has nothing to do with the error_log, Can I see what you get when running: /usr/bin/perl -Mlib=/root/modperl-2.0/Apache-Test/lib -MApache::TestRun \ -e 'eval {Apache::TestRun::run_root_fs_test(99, 99, q[/root/modperl

Re: [mp2] mod_perl test suite fails

2003-12-15 Thread Volker Kroll
On Mon, 2003-12-15 at 10:29, Stas Bekman wrote: > no, no, it has nothing to do with the error_log, Can I see what you get when > running: > > /usr/bin/perl -Mlib=/root/modperl-2.0/Apache-Test/lib -MApache::TestRun \ > -e 'eval {Apache::TestRun::run_root_fs_test(99, 99, q[/root/modperl-2.0/t])}';

Re: [mp2] mod_perl test suite fails

2003-12-15 Thread Stas Bekman
Volker Kroll wrote: On Sun, 2003-12-14 at 03:18, Stas Bekman wrote: Great. I have now integrated this test into Apache-Test. Can you please verify that modperl-2.0's 'make test' refuses to run when modperl-2.0 is checked out under /root? Please use the latest cvs version: http://perl.apache.org

Re: [mp2] mod_perl test suite fails

2003-12-15 Thread Volker Kroll
On Sun, 2003-12-14 at 03:18, Stas Bekman wrote: > Great. I have now integrated this test into Apache-Test. Can you please verify > that modperl-2.0's 'make test' refuses to run when modperl-2.0 is checked out > under /root? Please use the latest cvs version: > http://perl.apache.org/download/sou

Re: [mp2] mod_perl test suite fails

2003-12-13 Thread Stas Bekman
Volker Kroll wrote: [...] Hmm, does not work for me, I modified it slightly: use File::Spec::Functions qw(catfile); my($uid, $gid) = (getpwnam(qq[nobody]))[2..3]; $( = $) = $gid+0; die qq[failed to change gid to $gid] if $( != $gid; $< = $> = $uid+0; die qq[failed to change uid to $uid] if $< != $

Re: [mp2] mod_perl test suite fails

2003-12-12 Thread Volker Kroll
On Fri, 2003-12-12 at 15:36, Stas Bekman wrote: > Volker Kroll wrote: > > On Fri, 2003-12-12 at 00:32, Stas Bekman wrote: > > > >>Can you please try this one: > >> > >> % perl -le ' \ > >>my($uid, $gid) = (getpwnam("nobody"))[2..3]; \ > >>$( = $) = $gid+0; \ > >>die "failed to change

Re: [mp2] mod_perl test suite fails

2003-12-12 Thread Stas Bekman
Volker Kroll wrote: On Fri, 2003-12-12 at 00:32, Stas Bekman wrote: Can you please try this one: % perl -le ' \ my($uid, $gid) = (getpwnam("nobody"))[2..3]; \ $( = $) = $gid+0; \ die "failed to change gid to $gid (now: $(, $))" if $( != $gid; \ $< = $> = $uid+0; \ die "failed to c

Re: [mp2] mod_perl test suite fails

2003-12-12 Thread Volker Kroll
On Fri, 2003-12-12 at 00:32, Stas Bekman wrote: > Can you please try this one: > > % perl -le ' \ > my($uid, $gid) = (getpwnam("nobody"))[2..3]; \ > $( = $) = $gid+0; \ > die "failed to change gid to $gid (now: $(, $))" if $( != $gid; \ > $< = $> = $uid+0; \ > die "failed to

Re: [mp2] mod_perl test suite fails

2003-12-11 Thread Stas Bekman
Volker Kroll wrote: On Tue, 2003-12-09 at 18:57, Stas Bekman wrote: Which probably means that your perl POSIX implementation is broken. Wed Dec 10 12:15:18 [EMAIL PROTECTED]:~> su - Password: [EMAIL PROTECTED] root]# perl -le 'require POSIX; POSIX::setgid(99) or die "failed to run: $@";' [EMAI

Re: [mp2] mod_perl test suite fails

2003-12-10 Thread Volker Kroll
On Tue, 2003-12-09 at 18:57, Stas Bekman wrote: > Which probably means that your perl POSIX implementation is broken. Wed Dec 10 12:15:18 [EMAIL PROTECTED]:~> su - Password: [EMAIL PROTECTED] root]# perl -le 'require POSIX; POSIX::setgid(99) or die "failed to run: $@";' [EMAIL PROTECTED] root]#

Re: [mp2] mod_perl test suite fails

2003-12-09 Thread Stas Bekman
Volker Kroll wrote: On Tue, 2003-12-09 at 18:25, Stas Bekman wrote: % su - nobody This account is currently not available. So I think, here is the problem: grep ^nobody /etc/passwd nobody:x:99:99:Nobody:/:/sbin/nologin nobody cannot login and allocate a shell

Re: [mp2] mod_perl test suite fails

2003-12-09 Thread Volker Kroll
On Tue, 2003-12-09 at 18:25, Stas Bekman wrote: > % su - nobody This account is currently not available. So I think, here is the problem: grep ^nobody /etc/passwd nobody:x:99:99:Nobody:/:/sbin/nologin nobody cannot login and allocate a shell > The 'su - nobo

Re: [mp2] mod_perl test suite fails

2003-12-09 Thread Stas Bekman
Volker Kroll wrote: On Tue, 2003-12-09 at 00:09, Stas Bekman wrote: [Volker has sent me the long output offline, so I'm just quoting the interesting parts here] I also want to see the console messages (not error_log) when you run from under /root/mod_perl-1.99_11/ as you did it in first place.

Re: [mp2] mod_perl test suite fails

2003-12-09 Thread Volker Kroll
On Tue, 2003-12-09 at 00:09, Stas Bekman wrote: > [Volker has sent me the long output offline, so I'm just quoting the > interesting parts here] > > >> I also want to see the console messages (not error_log) when you run > >> from under /root/mod_perl-1.99_11/ as you did it in first place. > >

Re: [mp2] mod_perl test suite fails

2003-12-08 Thread Stas Bekman
[Volker has sent me the long output offline, so I'm just quoting the interesting parts here] I also want to see the console messages (not error_log) when you run from under /root/mod_perl-1.99_11/ as you did it in first place. > ulimit -c unlimited; t/TEST -bugreport -verbose=0 > *** root mode:

Re: [mp2] mod_perl test suite fails

2003-12-05 Thread Stas Bekman
Volker Kroll wrote: On Fri, 2003-12-05 at 02:16, Stas Bekman wrote: -8<-- Start Bug Report 8<-- 1. Problem Description: mod_perl compiles fine but all tests seem to fail. in the error log I do find: **03 14:42:34 2003] [error] failed to resolve handler `T

Re: [mp2] mod_perl test suite fails

2003-12-05 Thread Volker Kroll
On Fri, 2003-12-05 at 02:16, Stas Bekman wrote: > > -8<-- Start Bug Report 8<-- > > 1. Problem Description: > > > > mod_perl compiles fine but all tests seem to fail. > > > > in the error log I do find: > > > > **03 14:42:34 2003] [error] failed to resolv

Re: [mp2] mod_perl test suite fails

2003-12-04 Thread Stas Bekman
Volker Kroll wrote: Havn't seen the mail go through, so I resend it. Regards Volker -8<-- Start Bug Report 8<-- 1. Problem Description: mod_perl compiles fine but all tests seem to fail. in the error log I do find: **03 14:42:34 2003] [error] failed to res