Package: hal
Version: 0.5.7-1
Severity: normal

I have an autofs mount for my USB key, so that it gets mounted on
/mnt/auto/removable/usb-key when accessed.  autofs has an expiry time of
30 seconds, which means the key is automatically unmounted after 30
seconds of non-usage.  Unfortunately, it seems hal catches this unmount
event and does stuff with it, which I wouldn't argue against, except it
tries to access /mnt/auto/removable/usb-key/.created-by-hal.  Which
triggers autofs, which in turn mounts /mnt/auto/removable/usb-key again.
So the key is unmounted and automatically remounted every 30 seconds if
I don't use it, which means I can't unplug it cleanly.

For some reason, this behaviour only appears for the USB key and the
(USB mass storage) digital camera, but not for the CD-ROM.  USB key has
an ext3 filesystem on it, camera has vfat.

Killing hald fixes the problem (the automounts get to properly expire).
Restarting it restarts the problem.

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

Versions of packages hal depends on:
ii  adduser               3.85               Add and remove users and groups
ii  dbus                  0.61-5             simple interprocess messaging syst
ii  libc6                 2.3.6-5            GNU C Library: Shared libraries an
ii  libdbus-1-2           0.61-5             simple interprocess messaging syst
ii  libdbus-glib-1-2      0.61-5             simple interprocess messaging syst
ii  libexpat1             1.95.8-3.2         XML parsing C library - runtime li
ii  libglib2.0-0          2.10.2-1           The GLib library of C routines
ii  libhal1               0.5.7-1            Hardware Abstraction Layer - share
ii  libusb-0.1-4          2:0.1.12-2         userspace USB programming library
ii  lsb-base              3.0-16             Linux Standard Base 3.0 init scrip
ii  pciutils              1:2.1.11-16        Linux PCI Utilities
ii  udev                  0.089-1            /dev/ and hotplug management daemo
ii  usbutils              0.71+cvs20051029-5 USB console utilities

hal recommends no packages.

-- no debconf information


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

Reply via email to