Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66930 - udev 0.34 breaks HAL, udevinfo placed in /bin
Summary: udev 0.34 breaks HAL, udevinfo placed in /bin
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Greg Kroah-Hartman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 66864
  Show dependency tree
 
Reported: 2004-10-09 17:30 UTC by Mark R. Pariente
Modified: 2004-10-09 21:15 UTC (History)
1 user (show)

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 Mark R. Pariente 2004-10-09 17:30:33 UTC
emerged udev 0.34 hal 0.2.98 , both of them emerged for the first time (not an update). Hal can not find many devices, because it is unable to find the 'udevinfo' application.

This is from HAL cvs, linux/common.c:

char *possible_paths[] = { "/sbin/udevinfo",
      "/usr/bin/udevinfo",
      "/usr/sbin/udevinfo",
      "/usr/local/sbin/udevinfo"
   }; 

whereas the udev 0.34 ebuild installed udevinfo at /bin/udevinfo. HAL is unable to find udevinfo and is not able to identify many devices.

Creating a symlink /sbin/udevinfo -> /bin/udevinfo solved the problem instantly.

Reproducible: Always
Steps to Reproduce:
1. emerge udev 0.34 and hal 0.2.98, hal-device-manager
2. run udevd, dbus, hald
3. run hal-device-manager

Actual Results:  
Almost all devices (cd-rw, floppy etc.) are missing in hal-device-manager

Expected Results:  
Devices should be there, the /sbin/udevinfo symlink fixes HAL, and all devices
are found. udev should install udevinfo to a path HAL expects.

Portage 2.0.51_rc7 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.8-gentoo-r7 i686)
=================================================================
System uname: 2.6.8-gentoo-r7 i686 Intel(R) Pentium(R) M processor 2.00GHz
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -mfpmath=sse -mmmx -msse2"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"CONFIG_PROTECT_MASK="/etc/gconf
/etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -mfpmath=sse -mmmx -msse2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://gentoo.mirrors.pair.com/ http://gentoo.osuosl.org/
http://ftp-mirror.internap.com/pub/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa apm avi berkdb bitmap-fonts cdr crypt cups dvd dvdr eds encode
esd f77 fam flac foomaticdb gdbm gif gnome gpm gtk gtk2 hal imap imlib java jpeg
ldap libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses nls nntp nptl
oggvorbis opengl oss pam pdflib perl png python quicktime readline samba sdl
slang spell sse ssl svga tcltk tcpd tetex truetype x86 xine xml2 xmms xprint xv
zlib"
Comment 1 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-10-09 21:15:17 UTC
Should now be fixed with udev 034-r1 release.