Package: udisks
Version: 1.0.4-7
Severity: normal

Dear Maintainer,

When I use ENV{ID_DRIVE_DETACHABLE}:="0" in custom udev rules,
it has no effect, and the whole drive is detached when I unmount the
partition from my Desktop / File Manager. It seems to be not so grave,
but I work on systems embedded on USB/Firewire/MMC devices. For
external HDD, there is no problem, but with USB sticks, if I have set
a non-system partition (not registered in fstab) to be mounted/unmounted
from the Desktop or File Manager, I can mount it as expected, but when
I unmount it, the drive hosting the system is detached, and then system
crashes and all the work in progress is lost.

First I have tried to know if Udisks is correctly integrated in my desktop
environment. I use Xfce4 (4.8) with Thunar as file manager. When I write
udev rules with things like:
SUBSYSTEMS=="usb", \
KERNEL=="sd?*", \
ENV{UDISKS_PRESENTATION_NAME}="$env{ID_VENDOR} (%n}", \
ENV{UDISKS_PRESENTATION_ICON_NAME}="removable-media", \
ENV{UDISKS_SYSTEM_INTERNAL}="1"

all works fine: when I plug a USB stick in, partitions are shown with the
'removable-media' icon, the labels are as expected (for example
SanDisk (1) and SanDisk (2) ) and I am prompted for authentication
when I click on the icon in Thunar.

But ID_DRIVE_DETACHABLE has no effect at all.

Maybe the drive is not detached while there is another of its partitions
mounted. But my system is on encrypted LVM, so the first partition is
a PV: not *mounted*, just in use.

I can give more detailed info if you ask me

Thanks,
quidame



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-proposed-updates')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-3-486
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages udisks depends on:
ii  dbus                   1.6.8-1
ii  libatasmart4           0.19-1
ii  libc6                  2.13-35
ii  libdbus-1-3            1.6.8-1
ii  libdbus-glib-1-2       0.100-1
ii  libdevmapper1.02.1     2:1.02.74-4
ii  libglib2.0-0           2.33.12+really2.32.4-2
ii  libgudev-1.0-0         175-7
ii  liblvm2app2.2          2.02.95-4
ii  libparted0debian1      2.3-11
ii  libpolkit-gobject-1-0  0.105-1
ii  libsgutils2-2          1.33-1
ii  libudev0               175-7
ii  udev                   175-7

Versions of packages udisks recommends:
ii  cryptsetup-bin  2:1.4.3-2
ii  dosfstools      3.0.13-1
ii  eject           2.1.5+deb1+cvs20081104-11
ii  hdparm          9.39-1+b1
ii  ntfs-3g         1:2012.1.15AR.5-2.1
ii  policykit-1     0.105-1

Versions of packages udisks suggests:
pn  mdadm          <none>
ii  reiserfsprogs  1:3.6.21-1
ii  xfsprogs       3.1.7+b1

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to