Your message dated Sat, 13 Aug 2005 14:15:12 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Compatibility problem with libapache-mod-auth-mysql
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; 8 Jun 2005 17:39:31 +0000
>From [EMAIL PROTECTED] Wed Jun 08 10:39:31 2005
Return-path: <[EMAIL PROTECTED]>
Received: from metis.epicwebservices.net (mx1.epicwebservices.net) 
[217.147.83.3] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1Dg4WZ-0006R1-00; Wed, 08 Jun 2005 10:39:31 -0700
Received: from Debian-exim by mx1.epicwebservices.net with local (Exim 4.50)
        id 1Dg4WS-0004Wk-4Q
        for [EMAIL PROTECTED]; Wed, 08 Jun 2005 18:39:24 +0100
Received: from sparacre.plus.com ([84.92.156.8]:63790 helo=cobalt.epic)
        by mx1.epicwebservices.net with esmtpa (Exim 4.50)
        id 1Dg4WK-0004WS-Tu; Wed, 08 Jun 2005 18:39:17 +0100
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Dominic Cleal <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: libnss-mysql-bg: Compatibility problem with libapache-mod-auth-mysql
Bcc: Dominic Cleal <[EMAIL PROTECTED]>
X-Mailer: reportbug 2.64
Date: Wed, 08 Jun 2005 18:39:21 +0100
X-EWS-Scan-Info: Message scanned for malware
X-EWS-Scan-ID: fe5fbb4d2677e609e94822d9e75afe9a
Message-Id: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.6 required=4.0 tests=BAYES_00,HAS_PACKAGE,
        NO_EXPERIENCE autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: libnss-mysql-bg
Version: 1.3-2
Severity: normal

Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Dominic Cleal <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: libnss-mysql-bg: Compatibility problem with libapache-mod-auth-mysql
Bcc: Dominic Cleal <[EMAIL PROTECTED]>
X-Mailer: reportbug 2.64
Date: Wed, 08 Jun 2005 18:32:48 +0100

Package: libnss-mysql-bg
Version: 1.3-2
Severity: normal

I'm running Apache (package v1.3.33-2) along with the 
libapache-mod-auth-mysql (v4.3.8-1) module to provide MySQL based 
authentication for Apache.

I have the libnss-mysql module set up to provide users + groups, which 
operate perfectly normally from other applications, `id` etc:

- /etc/nsswitch.conf -
passwd:         compat mysql
group:          compat mysql
- end -

Within Apache, I am referencing one of my libnss-mysql users with User/Group 
directives for a VirtualHost (to work with suexec).  This works fine if the 
user is defined in /etc/passwd.

When enabling the libapache-mod-auth-mysql module though, the NSS 
MySQL lookup fails though, and the syslog records:

Jun  7 00:15:37 localhost apache: libnss-mysql: Unable to save socket info

This seems to be triggered by when _nss_mysql_save_socket_info (mysql.c:43) 
isn't successful (mysql.c:247).  I'm guessing there's an issue with both 
packages trying to use MySQL within the same process, but I have no 
experience in C to know where to look next.

The problem is resolved for now by disabling the Apache MySQL authentication 
module, however that isn't an ideal solution for my circumstances.

Lastly, I sniffed the packets as it connected to the MySQL server while 
starting up Apache - it successfully connects and authenticates, and then 
the client closes the connection, which I assume is done by the call to 
_nss_mysql_close_sql (mysql.c:250).

If there is anything more I can do to help diagnose the exact issue, please 
let me know.  Compatibility between the two modules would be very useful!


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (700, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.5.200408151
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8

Versions of packages libnss-mysql-bg depends on:
ii  libc6                       2.3.2.ds1-21 GNU C Library: Shared libraries an
ii  libmysqlclient12            4.0.24-10    mysql database client library
ii  zlib1g                      1:1.2.1.1-7  compression library - runtime

-- no debconf information

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (700, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.5.200408151
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8

Versions of packages libnss-mysql-bg depends on:
ii  libc6                       2.3.2.ds1-21 GNU C Library: Shared libraries an
ii  libmysqlclient12            4.0.24-10    mysql database client library
ii  zlib1g                      1:1.2.1.1-7  compression library - runtime

-- no debconf information


---------------------------------------
Received: (at 312547-done) by bugs.debian.org; 13 Aug 2005 12:15:15 +0000
>From [EMAIL PROTECTED] Sat Aug 13 05:15:15 2005
Return-path: <[EMAIL PROTECTED]>
Received: from roxane.home-dn.net [194.146.227.112] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1E3uux-0004WJ-00; Sat, 13 Aug 2005 05:15:15 -0700
Received: from localhost (localhost [127.0.0.1])
        by roxane.home-dn.net (Postfix) with ESMTP id 778DC3C23A
        for <[EMAIL PROTECTED]>; Sat, 13 Aug 2005 14:15:16 +0200 (CEST)
Received: from ragueneau.home-dn.net (cyrano.home-dn.net [80.65.224.56])
        by roxane.home-dn.net (Postfix) with ESMTP id 006DE3C238
        for <[EMAIL PROTECTED]>; Sat, 13 Aug 2005 14:15:15 +0200 (CEST)
Received: by ragueneau.home-dn.net (Postfix, from userid 1013)
        id A5F75380C2; Sat, 13 Aug 2005 14:15:12 +0200 (CEST)
Date: Sat, 13 Aug 2005 14:15:12 +0200
From: Emmanuel Lacour <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Compatibility problem with libapache-mod-auth-mysql
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.9i
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
        version=2.60-bugs.debian.org_2005_01_02

This was a problem with the submitter configuration.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to