Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 112083 - >=sys-fs/udev-072 needs proper kernel config (init_uevent_netlink_sock: bind failed, No such file or directory)
Summary: >=sys-fs/udev-072 needs proper kernel config (init_uevent_netlink_sock: bind ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Greg Kroah-Hartman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-10 07:57 UTC by Octavio Ruiz (Ta^3)
Modified: 2006-01-25 15:49 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 Octavio Ruiz (Ta^3) 2005-11-10 07:57:42 UTC
During boot since >=sys-fs/udev-072 I receive this:


* Setting terminal encoding to ASCII ...
udevd[2912]: init_uevent_netlink_sock: bind failed, No such file or directory
udevd[2912]: main: uevent socket not available
udevd[2918]: init_uevent_netlink_sock: bind failed, No such file or directory
udevd[2918]: main: uevent socket not available
udevd[2924]: init_uevent_netlink_sock: bind failed, No such file or directory
udevd[2924]: main: uevent socket not available
udevd[2930]: init_uevent_netlink_sock: bind failed, No such file or directory

...

udevd[3026]: main: uevent socket not available                                 
          [ ok ] * Setting user font ...
udevd[3130]: init_uevent_netlink_sock: bind failed, No such file or directory
udevd[3130]: main: uevent socket not available
udevd[3137]: init_uevent_netlink_sock: bind failed, No such file or directory
udevd[3137]: main: uevent socket not available
udevd[3149]: init_uevent_netlink_sock: bind failed, No such file or directory
udevd[3149]: main: uevent socket not available
udevd[3154]: init_uevent_netlink_sock: bind failed, No such file or directory
udevd[3154]: main: uevent socket not available
udevd[3161]: init_uevent_netlink_sock: bind failed, No such file or directory
udevd[3161]: main: uevent socket not available

No problems with sys-fs/udev-071.

emerge info
Portage 2.0.53_rc7 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r3,
2.6.14-gentoo x86_64)
=================================================================
System uname: 2.6.14-gentoo x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.0_pre10
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/splash /etc/terminfo
/etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=athlon64 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache collision-protect distlocks keeptemp
multilib-strict noauto parallel-fetch sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/bmg-main /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 GAPING_SECURITY_HOLE X Xaw3d aac aim alsa audiofile avi
bash-completion berkdb bitmap-fonts bluetooth buttons bzip2 cdparanoia cdr crypt
cups curl dga directfb dvd dvdread emacs emboss encode ethereal exif expat fam
fbcon ffmpeg flac foomaticdb fortran gdbm gif gimpprint glut gnutls gpgme gpm
gstreamer gtk gtk2 hlapi icq idn imagemagick imap imlib ipv6 irc jabber java
javascript jpeg justify lcms leim libcaca libwww lua lzw lzw-tiff mad mikmod mng
motif mozdevelop mozsvg mp3 mpeg mpi msn ncurses new-login nptl nvidia offensive
ogg oggvorbis openal opengl oss pam pcre pdf pdflib perl png python quicktime
readline real recode rtc samba scanner sdl sms spell ssl svg symlink tcpd tetex
tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vorbis wmf
xml2 xmms xpm xprint xv xvid yahoo 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 09:09:24 UTC
What is the contents of your /etc/udev/udev.conf file?
Comment 2 Octavio Ruiz (Ta^3) 2005-11-10 09:54:29 UTC
udev_root="/dev/"
udev_db="/dev/.udevdb"
udev_rules="/etc/udev/rules.d/"
udev_log="yes"
Comment 3 Greg Kroah-Hartman (RETIRED) gentoo-dev 2005-11-10 16:59:06 UTC
Then this means that udev is working properly.  Your line:

   udev_log="yes"

Is causing all udev messages to get logged now (even debug messages like these.)
 Try changing that to see them go away.
Comment 4 Octavio Ruiz (Ta^3) 2005-12-30 23:20:28 UTC
I forgot something *important*,

avalancha ~ # udevd
avalancha ~ # echo $?
3
avalancha linux # ps aux | grep udev
avalancha linux #

Dec 31 00:53:09 [udevd] init_uevent_netlink_sock: bind failed: No such file or directory
Dec 31 00:53:09 [udevd] main: uevent socket not available


That happends since >=sys-fs/udev-072, so there is no udev daemon running on my system since 072.

So it doesn't means that is working properly, in fact is not working at all. The problem seems to be the kernel config: CONFIG_KOBJECT_UEVENT in General Setup is not activated, so it's neccesary in order to udev to work.

Should the linux_chkconfig_present KOBJECT_UEVEN function from linux-mod eclass be in >=udev-072 ebuilds in order to check a proper kernel config?
Comment 5 Greg Kroah-Hartman (RETIRED) gentoo-dev 2006-01-25 15:49:13 UTC
No, the build can and will not check for that, as future kernel versions make
it all but impossible to not select the proper configuration options.