Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 111495 - sys-fs/udev partially fails if hosts are looked up through ldap
Summary: sys-fs/udev partially fails if hosts are looked up through ldap
Status: RESOLVED DUPLICATE of bug 99564
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Greg Kroah-Hartman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-04 11:00 UTC by Chris Dragan
Modified: 2005-11-10 23:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dragan 2005-11-04 11:00:44 UTC
After modifying the hosts line in /etc/nsswitch.conf to this:
  hosts: files dns ldap

udev has problems during system startup. The last line seen is:
  Populating /dev with device nodes ...
and then it hangs for some time. Afterwards it finally continues as if nothing 
happened, but apparently some devices are missing, like some drives /dev/sda* so 
the system cannot fully start.

This is a little bit similar to bug 99564.

It happens both with udev 068 and 070.

Needless to mention that my LDAP configuration is fully functional and if I 
modify the hosts line when the system is up and running, most of programs appear 
to be resolving the hosts through LDAP correctly.

I'm not sure whether it is an udev or glibc bug, but anyway udev/glibc appears 
to try to lookup hosts when the system didn't get to the point when the network 
is functional yet.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.



Portage 2.0.51.22-r3 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.
6.14-ck1 x86_64)
=================================================================
System uname: 2.6.14-ck1 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.13
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/
share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /
usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/mnt/distfiles"
FEATURES="autoconfig sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/
distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/mnt/distfiles/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://10.0.0.1/gentoo-portage"
USE="amd64 X aalib alsa arts audiofile avi berkdb bitmap-fonts cdr crypt cups 
curl directfb dv eds emboss encode esd fam flac foomaticdb fortran gd gif gpm 
gstreamer gtk gtk2 imagemagick imlib ipv6 jack java jpeg kde kdeenablefinal ldap 
lm_sensors lzw lzw-tiff mad mikmod motif mp3 mpeg ncurses nls nptl nptlonly 
nvidia ogg oggvorbis opengl pam pdflib perl plotutils png python qt quicktime 
readline samba sdl speex spell ssl tcltk tcpd theora tiff truetype-fonts type1-
fonts udev usb userlocales vorbis winbind wmf xine xml2 xmms xpm xv xvmc zlib 
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Greg Kroah-Hartman (RETIRED) gentoo-dev 2005-11-10 23:04:55 UTC

*** This bug has been marked as a duplicate of 99564 ***