Weird race condition with an udev rule mounting an USB key as user

Bug #803575 reported by Loïc Minier
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
udisks (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Hey

I have this udev rule:
/etc/udev/rules.d/90-ecryptfs-usb-key.rules

# automount ecryptfs USB key
ENV{ID_FS_UUID_ENC}=="6100e8ae-0d79-467a-a7f1-6ad3482c552c", RUN+="/usr/bin/sudo -u lool /bin/mount /dev/disk/by-uuid/$env{ID_FS_UUID_ENC}"

and this fstab entry:

# ecryptfs USB key
UUID=6100e8ae-0d79-467a-a7f1-6ad3482c552c /media/ecryptfs-usb-key ext4 relatime,user,noauto,ro 0 0

when I boot with this USB key plugged and login, I can only umount the key one time out of two from nautilus. It seems to be a race condition in the boot, but it's not clear what triggers it.

Cheers,

Revision history for this message
Loïc Minier (lool) wrote :

(Discussed with pitti at oneiric rally)

Changed in udisks (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
Revision history for this message
Martin Pitt (pitti) wrote :

Is that still an issue with udisks2?

Changed in udisks (Ubuntu):
assignee: Martin Pitt (pitti) → nobody
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for udisks (Ubuntu) because there has been no activity for 60 days.]

Changed in udisks (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.