All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dave Dodge <dododge@dododge.net>
To: linux-hotplug@vger.kernel.org
Subject: Re: LDAP stops udev from working
Date: Fri, 28 Oct 2005 20:45:13 +0000	[thread overview]
Message-ID: <20051028204513.GF8627@basmati> (raw)
In-Reply-To: <2AD792FE1A79F046B908C364C29622F2841467@EX05.ds.umcutrecht.nl>

On Fri, Oct 28, 2005 at 07:17:17PM +0200, Kersten, V.M.E. wrote:
> When I switch back (not using the LDAP server) in  /etc/nsswitch.conf
> all is fine again.

What changes did you make to nsswitch.conf to set it up for LDAP?  For
example did you completely disable lookups in the local passwd/group
files?

I could imagine that something in the boot sequence tries to read some
user information -- such as doing "~foo" to get the home directory for
a service account, or converting a UID into a username for logging.
If you've removed the use of the local passwd table, then these
lookups will have to go out over LDAP, and if networking isn't set up
yet then that will obviously fail badly.

I don't really understand why this would affect the root device,
though.  I'd expect your LDAP settings to only kick in after the real
/etc (from the root filesystem) is in place.  Did you actually make
this nsswitch.conf change within an initramfs/initrd?  I don't really
know much about the debian boot process so maybe I'm overlooking
something obvious.

                                                  -Dave Dodge


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

  reply	other threads:[~2005-10-28 20:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-28 17:17 LDAP stops udev from working Kersten, V.M.E.
2005-10-28 20:45 ` Dave Dodge [this message]
2005-10-29 17:36 ` Kay Sievers
2005-11-02 15:59 ` Kersten, V.M.E.

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=20051028204513.GF8627@basmati \
    --to=dododge@dododge.net \
    --cc=linux-hotplug@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.