From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org)
	by nuthatch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-51384-garchives=archives.gentoo.org@gentoo.org>)
	id 1GPMPG-0003Je-Ip
	for garchives@archives.gentoo.org; Mon, 18 Sep 2006 16:55:43 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k8IGsoJF004687;
	Mon, 18 Sep 2006 16:54:50 GMT
Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.188])
	by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k8IGmdHS012730
	for <gentoo-user@lists.gentoo.org>; Mon, 18 Sep 2006 16:48:40 GMT
Received: by nf-out-0910.google.com with SMTP id p46so3620437nfa
        for <gentoo-user@lists.gentoo.org>; Mon, 18 Sep 2006 09:48:39 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
        h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth;
        b=IKWKWet1I5Ktg7cffieNEBRXzAdaQKntBVrj/hcbOROjOrYkdb/8nxvVdO76hy20oX/RWep68I16ok0li4nWv+zn0EhWhgvGfbHtsGdcMT/G6gaLyePPCVQ+xojqPfltUFGb5mqakSDo8BN9P9H5B6Nt+cN4D/eN/dYwy7eBIlU=
Received: by 10.82.101.3 with SMTP id y3mr89440bub;
        Mon, 18 Sep 2006 09:48:39 -0700 (PDT)
Received: by 10.82.126.14 with HTTP; Mon, 18 Sep 2006 09:48:39 -0700 (PDT)
Message-ID: <7573e9640609180948t382ab626pda1ab20afb6afe0d@mail.gmail.com>
Date: Mon, 18 Sep 2006 09:48:39 -0700
From: "Richard Fish" <bigfish@asmallpond.org>
Sender: richard.j.fish@gmail.com
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Problem with new glibc and libnss
In-Reply-To: <b9e0c3fe0609180708n5462c467ibec0157f6e836cb5@mail.gmail.com>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <b9e0c3fe0609180708n5462c467ibec0157f6e836cb5@mail.gmail.com>
X-Google-Sender-Auth: 3320045cdf5b778f
X-Archives-Salt: 425d1cfe-fd4f-4072-93a9-81203c752105
X-Archives-Hash: 0104343b0bb7c80c1e7cde40203b013e

On 9/18/06, Bruno Lustosa <bruno.lists@gmail.com> wrote:
> Hi folks,
>
> As soon as I upgraded my system to new gcc and glibc, I started to get
> a very weird problem at boot time. I'm using libnss-mysql to
> authenticate users, and my nsswitch.conf is set to check files first,
> then mysql.

Can you post your nsswitch.conf?  I don't normally use nss_mysql, but
I just installed it on my box to see what an strace ls would reveal,
and it does not show libmysql being accessed when files appears first
for passwd, shadow, and groups.

carcharias ~ # grep -e ^passwd -e ^shadow -e ^group /etc/nsswitch.conf
passwd:      files mysql
shadow:      files mysql
group:       files mysql
carcharias ~ # strace -f -e open -o /tmp/strace.out ls -l / >/dev/null
carcharias ~ # grep mysql /tmp/strace.out
carcharias ~ # vi /etc/nsswitch.conf
carcharias ~ # grep -e ^passwd -e ^shadow -e ^group /etc/nsswitch.conf
passwd:      mysql files
shadow:      mysql files
group:       mysql files
carcharias ~ # strace -f -e open -o /tmp/strace.out ls -l / >/dev/null
carcharias ~ # grep mysql /tmp/strace.out
30644 open("/lib/libnss_mysql.so.2", O_RDONLY) = 3
30644 open("/usr/lib/mysql/tls/i686/sse2/libmysqlclient.so.15",
O_RDONLY) = -1 ENOENT (No such file or directory)
30644 open("/usr/lib/mysql/tls/i686/libmysqlclient.so.15", O_RDONLY) =
-1 ENOENT (No such file or directory)
30644 open("/usr/lib/mysql/tls/sse2/libmysqlclient.so.15", O_RDONLY) =
-1 ENOENT (No such file or directory)
30644 open("/usr/lib/mysql/tls/libmysqlclient.so.15", O_RDONLY) = -1
ENOENT (No such file or directory)
30644 open("/usr/lib/mysql/i686/sse2/libmysqlclient.so.15", O_RDONLY)
= -1 ENOENT (No such file or directory)
30644 open("/usr/lib/mysql/i686/libmysqlclient.so.15", O_RDONLY) = -1
ENOENT (No such file or directory)
30644 open("/usr/lib/mysql/sse2/libmysqlclient.so.15", O_RDONLY) = -1
ENOENT (No such file or directory)
30644 open("/usr/lib/mysql/libmysqlclient.so.15", O_RDONLY) = 3

Also the outputs of emerge --info and emerge -pv sys-libs/glibc might help.

-Richard
-- 
gentoo-user@gentoo.org mailing list