[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#177900: marked as done (apache-perl <-> axkit interaction problem (sometime PerlAuth*Handlers are not called))



Your message dated Mon, 10 Nov 2003 22:43:06 +0100
with message-id <200311102243.06869.kjetil@kjernsmo.net>
and subject line Resolved with bug 215748
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 22 Jan 2003 14:34:05 +0000
>From kk@kjernsmo.net Wed Jan 22 08:34:04 2003
Return-path: <kk@kjernsmo.net>
Received: from pooh.kjernsmo.net [217.77.32.186] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18bLx5-00083r-00; Wed, 22 Jan 2003 08:34:03 -0600
Received: from owl.kjernsmo.net ([195.1.208.96])
	by pooh.kjernsmo.net with smtp (Exim 3.35 #1 (Debian))
	id 18bLwa-0007GM-00; Wed, 22 Jan 2003 15:33:32 +0100
Received: from kjetil by owl.kjernsmo.net with local (Exim 3.35 #1 (Debian))
	id 18axWc-0000Tf-00; Tue, 21 Jan 2003 13:29:53 +0100
From: Kjetil Kjernsmo <kk@kjernsmo.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: apache-perl: PerlAuth*Handlers are not called
X-Mailer: reportbug 1.50
Date: Tue, 21 Jan 2003 13:29:06 +0100
Message-Id: <E18axWc-0000Tf-00@owl.kjernsmo.net>
Sender: Kjetil Kjernsmo <kjetil@owl.uio.no>
X-BadReturnPath: kjetil@mail.kjernsmo.net rewritten as kk@kjernsmo.net
  using "From" header
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=0.1 required=5.0
	tests=PGP_SIGNATURE,SPAM_PHRASE_00_01
	version=2.41
X-Spam-Level: 

Package: apache-perl
Version: 1.3.26-1-1.26-0woody2
Severity: important

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm using AxKit (1.6 packages from sarge), and I have a problem with
authentication and authorization that only exists with apache-perl. It runs
beautifully with apache without any changes. The issue has been discussed
on the AxKit mailing list, beginning here:
http://maclux-rz.uibk.ac.at/~maillists/axkit-users/msg04246.shtml

I have the following config:

<Location /login.xsp >
    AuthType Apache::AxKit::Plugin::Session
    AuthName AxKitSession
    PerlSetVar AxKitSessionLoginScript /login.xsp
    PerlAuthenHandler Apache::AxKit::Plugin::Session->authenticate
    PerlAuthzHandler Apache::AxKit::Plugin::Session->authorize
    require valid-user
</Location>

When I try to access /login.xsp, I get the following error (quoting from
server restart to the end):
[Fri Jan 17 14:37:05 2003] [notice] Apache/1.3.26 (Unix) Debian
GNU/Linux AxKit/1.6 mod_perl/1.26 mod_perl/1.26 configured -- resuming
normal operations
[Fri Jan 17 14:37:05 2003] [notice] suEXEC mechanism enabled (wrapper:
/usr/lib/apache/suexec)
[Fri Jan 17 14:37:05 2003] [notice] Accept mutex: sysvsem (Default:
sysvsem)
[Fri Jan 17 14:37:17 2003] [crit] [client 195.1.208.96] configuration
error:  couldn't check user.  No user file?: /login.xsp

Clearly, this error message indicates it tries basic authentication, and
after being adviced on the list about it, I enabled some debug messages in
Apache::AxKit::Plugin::Session. Then, it becomes quite clear that the
PerlAuth*Handlers are in fact never called. 

As I said, the problem disappears completely if I instead run the pure
apache packages, it is for that reason I assume this is a bug with the
apache-perl package. I may be totally wrong, of course... :-) Others 
reported similar problems to me after I asked too, BTW. 

I was in doubt whether to mark this a normal bug, or important, but
landed on the latter since I figured many users of mod_perl would also want
some kind of auth*-functionality, hope that's ok... :-) 

- -- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux owl 2.4.20 #5 Wed Jan 1 22:21:59 CET 2003 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages apache-perl depends on:
ii  apache-common             1.3.26-0woody3 Support files for all Apache webse
ii  debconf                   1.0.32         Debian configuration management sy
ii  dpkg                      1.9.21         Package maintenance system for Deb
ii  libapache-mod-perl        1.26-3.0woody1 Integration of perl with the Apach
ii  libc6                     2.2.5-14.3     GNU C Library: Shared libraries an
ii  libdb2                    2:2.7.7.0-7    The Berkeley database routines (ru
ii  libperl5.6                5.6.1-8.2      Shared Perl library.
ii  mime-support              3.18-1         MIME files 'mime.types' & 'mailcap

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+LT1BlE/Gp2pqC7wRAlN2AJ4g5MLkNTn24qAewam/gin8H3NjDACfWFtT
WxhC7RQju5PtTv66sb+0ewY=
=Wu7E
-----END PGP SIGNATURE-----

---------------------------------------
Received: (at 177900-done) by bugs.debian.org; 10 Nov 2003 21:43:39 +0000
>From kjetil@kjernsmo.net Mon Nov 10 15:43:38 2003
Return-path: <kjetil@kjernsmo.net>
Received: from pooh.kjernsmo.net [217.77.32.186] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AJJow-0002cV-00; Mon, 10 Nov 2003 15:43:38 -0600
Received: from ti100710a080-2465.bb.online.no ([80.213.233.161])
	by pooh.kjernsmo.net with esmtp (Exim 4.24)
	id 1AJJov-0004KD-Er
	for 177900-done@bugs.debian.org; Mon, 10 Nov 2003 22:43:37 +0100
From: Kjetil Kjernsmo <kjetil@kjernsmo.net>
To: 177900-done@bugs.debian.org
Subject: Resolved with bug 215748
Date: Mon, 10 Nov 2003 22:43:06 +0100
User-Agent: KMail/1.5.4
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200311102243.06869.kjetil@kjernsmo.net>
Delivered-To: 177900-done@bugs.debian.org
X-Spam-Status: No, hits=0.0 required=4.0
	tests=none
	version=2.53-bugs.debian.org_2003_11_9
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_11_9 (1.174.2.15-2003-03-30-exp)

Uhm, actually, yeah, that mod_perl occured twice was indeed a Bad 
Sign[tm], that should have caught my attention earlier... 

Going 
modules-config apache-perl disable mod_perl
did in fact resolve the situation, the relevant Perl-handlers are now 
called, and everything is fine! :-) 

In other words, this bug was in fact a sub-bug of bug #215748.

Cheers,

Kjetil
-- 
Kjetil Kjernsmo
Astrophysicist/IT Consultant/Skeptic/Ski-orienteer/Orienteer/Mountaineer
kjetil@kjernsmo.net  webmaster@skepsis.no  editor@learn-orienteering.org
Homepage: http://www.kjetil.kjernsmo.net/        OpenPGP KeyID: 6A6A0BBC



Reply to: