[Pkg-utopia-maintainers] Bug#458069: hald startup hangs

Richard Kettlewell rjk at greenend.org.uk
Fri Dec 28 12:15:16 UTC 2007


Package: hal
Version: 0.5.10-4

  richard at deodand:~$ uname -a
  Linux deodand 2.6.18-5-xen-686 #1 SMP Wed Oct 3 04:02:16 UTC 2007 i686 GNU/Linux
  richard at deodand:~$ sudo dpkg --configure --pending
  Setting up hal (0.5.10-4) ...
  Reloading system message bus config...done.
  Starting Hardware abstraction layer: hald

Over in another terminal:

  richard at deodand:~$ ps -ef | grep hal
  root     12050 12049  0 12:11 ttyp0    00:00:00 /bin/sh /var/lib/dpkg/info/hal.postinst configure 
  root     12077 12050  0 12:11 ttyp0    00:00:00 /bin/sh /usr/sbin/invoke-rc.d hal start
  root     12093 12077  0 12:11 ttyp0    00:00:00 /bin/sh /etc/init.d/hal start
  root     12097 12093  0 12:11 ttyp0    00:00:00 /usr/sbin/hald
  root     12098 12097  0 12:11 ?        00:00:00 [hald] <defunct>
  richard  12101 11814  0 12:12 ttyp3    00:00:00 grep hal
  richard at deodand:~$ sudo strace -p 12097
  Process 12097 attached - interrupt to quit
  select(4, [3], NULL, [3], {218, 256000} <unfinished ...>
  Process 12097 detached
  richard at deodand:~$ sudo lsof -p 12097
  COMMAND   PID USER   FD   TYPE DEVICE    SIZE   NODE NAME
  hald    12097 root  cwd    DIR    8,1    4096      2 /
  hald    12097 root  rtd    DIR    8,1    4096      2 /
  hald    12097 root  txt    REG    8,1  291296 438274 /usr/sbin/hald
  hald    12097 root  mem    REG    8,1  154384 430281 /usr/lib/libpcre.so.3.12.1
  hald    12097 root  mem    REG    8,1   83708 147661 /lib/i686/nosegneg/libnsl-2.7.so
  hald    12097 root  mem    REG    8,1 1368484 147655 /lib/i686/nosegneg/libc-2.7.so
  hald    12097 root  mem    REG    8,1  149328 147659 /lib/i686/nosegneg/libm-2.7.so
  hald    12097 root  mem    REG    8,1  213476 429642 /usr/lib/libdbus-1.so.3.4.0
  hald    12097 root  mem    REG    8,1  651308 432026 /usr/lib/libglib-2.0.so.0.1400.4
  hald    12097 root  mem    REG    8,1  241360 432132 /usr/lib/libgobject-2.0.so.0.1400.4
  hald    12097 root  mem    REG    8,1  110056 437747 /usr/lib/libdbus-glib-1.so.2.1.0
  hald    12097 root  mem    REG    8,1  117344 147471 /lib/ld-2.7.so
  hald    12097 root    0u   CHR    3,0           1723 /dev/ttyp0
  hald    12097 root    1u   CHR    3,0           1723 /dev/ttyp0
  hald    12097 root    2u   CHR    3,0           1723 /dev/ttyp0
  hald    12097 root    3r  FIFO    0,6         172050 pipe
  hald    12097 root    4w  FIFO    0,6         172050 pipe

It looks like it's waiting for a pipe connected to itself to become
readable.

ttfn/rjk





More information about the Pkg-utopia-maintainers mailing list