Package: hal
Version: 0.4.2-5
Severity: normal

When a media of unknown (to hald) type is inserted into a dvd-ram drive,
hald polls the device without closing it.  This makes it impossible to
remove the media.  hald needs to be killed to open the tray.  To
reproduce:

- insert any dvd-ram into the drive
- save the first 1 MB of data: dd if=/dev/dvdram bs=1M count=1 of=data.saved
- zero out this block: dd if=/dev/zero bs=1M count=1 of=/dev/dvdram
- open/close the tray
- check device usage: fuser /dev/dvdram
  -> hald
- device is locked
- kill hald to open
- repair the dvd-ram: dd if=data.saved bs=1M count=1 of=/dev/dvdram

Though this example seems to be of minor practical importance, this leads
to a more serious problem if the dvd-ram contains a device-mapper encrypted
filesystem.  However, as you need super user privileges anyways to mount
such an encrypted volume, you are able to kill hald as well.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-ac8
Locale: LANG=en_US.ISO-8859-1, LC_CTYPE=en_US.ISO-8859-1 (charmap=ISO-8859-1)

Versions of packages hal depends on:
ii  adduser               3.59               Add and remove users and groups
ii  dbus-1                0.22-3             simple interprocess messaging syst
ii  dbus-glib-1           0.22-3             simple interprocess messaging syst
ii  libc6                 2.3.2.ds1-20       GNU C Library: Shared libraries an
ii  libcap1               1:1.10-14          support for getting/setting POSIX.
ii  libexpat1             1.95.8-1           XML parsing C library - runtime li
ii  libglib2.0-0          2.4.8-1            The GLib library of C routines
ii  libhal-storage0       0.4.2-5            Hardware Abstraction Layer - share
ii  libhal0               0.4.2-5            Hardware Abstraction Layer - share
ii  libpopt0              1.7-5              lib for parsing cmdline parameters
ii  pciutils              1:2.1.11-15        Linux PCI Utilities
ii  udev                  0.050-3            /dev/ management daemon
ii  usbutils              0.11+cvs20041108-1 USB console utilities

-- no debconf information


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

Reply via email to