public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Richard Fish" <bigfish@asmallpond.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Problem with new glibc and libnss
Date: Mon, 18 Sep 2006 09:48:39 -0700	[thread overview]
Message-ID: <7573e9640609180948t382ab626pda1ab20afb6afe0d@mail.gmail.com> (raw)
In-Reply-To: <b9e0c3fe0609180708n5462c467ibec0157f6e836cb5@mail.gmail.com>

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



  reply	other threads:[~2006-09-18 16:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-18 14:08 [gentoo-user] Problem with new glibc and libnss Bruno Lustosa
2006-09-18 16:48 ` Richard Fish [this message]
2006-09-18 17:55   ` Bruno Lustosa
2006-09-18 18:33     ` Richard Fish
2006-09-18 20:23       ` Bruno Lustosa
2006-09-19  1:58         ` Bruno Lustosa
     [not found]           ` <7573e9640609181938q46e3998dq76e5d69aa8cbbbc0@mail.gmail.com>
2006-09-19 13:24             ` Bruno Lustosa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7573e9640609180948t382ab626pda1ab20afb6afe0d@mail.gmail.com \
    --to=bigfish@asmallpond.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox