From: "Bruno Lustosa" <bruno.lists@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Problem with new glibc and libnss
Date: Mon, 18 Sep 2006 11:08:48 -0300 [thread overview]
Message-ID: <b9e0c3fe0609180708n5462c467ibec0157f6e836cb5@mail.gmail.com> (raw)
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.
At boot time, /usr is not yet mounted, and as such, anything that
would need to connect to mysql would fail (because libmysqlclient is
in /usr/lib). However, the problem is that udevd is not starting
without /usr mounted. A simple 'ls' on root dir fails as well, even
though all files and dirs there are owned by root:root (and of course,
root is on passwd and groups). An strace indicates that both of them
are trying to access /usr/lib/libmysqlclient.so, and when they get the
"No such file or directory", they fail with this message:
Inconsistency detected by ld.so: dl-open.c: 604: _dl_open: Assertion
`_dl_debug_initialize (0, args.nsid)->r_state == RT_CONSISTENT'
failed!
My workaround (and a kinda ugly one) was to edit /sbin/rc (the script
that calls udevd) and put there just before calling udevd:
mknod /dev/hda7 b 3 7
mount /usr (my /usr is in /dev/hda7)
This makes it work, but I'm sure someone might have a better idea than
that, because I'll lose this as soon as the package that owns /sbin/rc
is updated.
This worked before the last update to glibc, I just don't know why it
tries to connect to mysql now (either it didn't before, or it did try
but would not fail like that).
Can anyone shed some light on this?
--
Bruno Lustosa <bruno@lustosa.net>
http://www.lustosa.net/
--
gentoo-user@gentoo.org mailing list
next reply other threads:[~2006-09-18 14:13 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-18 14:08 Bruno Lustosa [this message]
2006-09-18 16:48 ` [gentoo-user] Problem with new glibc and libnss Richard Fish
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=b9e0c3fe0609180708n5462c467ibec0157f6e836cb5@mail.gmail.com \
--to=bruno.lists@gmail.com \
--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