Package: hal
Version: 0.5.8.1-4
Followup-For: Bug #400773

I can reproduce this condition exactly, but am not sure the problem
strictly belongs to addon-storage.c. Thomas Petazzoni said "I suppose
that udev already removed it since the device has been unplugged. So
hald stays locked waiting for hald-addon-storage to exit (or to do
something ?)."

But I tried patching addon-storage.c at line 423 to cause this program
to 'goto out' instead of loop indefinitely. The result is that
hal-addon-storage nicely terminates, but the problem persists.

I found two threads from the hal list from 2004 which appears to describe
a similar condition [1] [2] and reached a different conclusion:

"[an] unprivileged user can delay hotplug events for as long
as he likes."

[1] - http://lists.freedesktop.org/archives/hal/2004-September/001015.html
[2] - http://lists.freedesktop.org/archives/hal/2004-October/001104.html

Although my knowledge of these subsystems is sketchy, this seems to be
backed up for me by udevmonitor, which reports different results on
the initial (successful) and subsequent (unsuccessful) inserts of the
USB storage.

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-9
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages hal depends on:
ii  adduser                   3.99           Add and remove users and groups
ii  dbus                      1.0.2-1        simple interprocess messaging syst
ii  libc6                     2.3.6.ds1-8    GNU C Library: Shared libraries
ii  libdbus-1-3               1.0.2-1        simple interprocess messaging syst
ii  libdbus-glib-1-2          0.71-3         simple interprocess messaging syst
ii  libexpat1                 1.95.8-3.3     XML parsing C library - runtime li
ii  libglib2.0-0              2.12.4-2       The GLib library of C routines
ii  libhal-storage1           0.5.8.1-4      Hardware Abstraction Layer - share
ii  libhal1                   0.5.8.1-4      Hardware Abstraction Layer - share
ii  libvolume-id0             0.103-1        libvolume_id shared library
ii  lsb-base                  3.1-15         Linux Standard Base 3.1 init scrip
ii  pciutils                  1:2.2.4~pre4-1 Linux PCI Utilities
ii  udev                      0.103-1        /dev/ and hotplug management daemo
ii  usbutils                  0.72-7         USB console utilities

Versions of packages hal recommends:
ii  eject                         2.1.4-2.1  ejects CDs and operates CD-Changer

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to