On 9/18/06, Bruno Lustosa <[EMAIL PROTECTED]> 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 via email to