Summary: | Unable to mount encrypted volumes | ||
---|---|---|---|
Product: | hal | Reporter: | Sam Morris <sam> |
Component: | hald | Assignee: | David Zeuthen (not reading bugmail) <zeuthen> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | danny.kukawka |
Version: | unspecified | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Sam Morris
2008-03-31 07:41:14 UTC
Also filed with GNOME at <http://bugzilla.gnome.org/show_bug.cgi?id=525346>. I added the following udev rule: # ignore device mapper nodes # http://bugzilla.gnome.org/show_bug.cgi?id=525346 # https://bugs.freedesktop.org/show_bug.cgi?id=15285 KERNEL="dm-[0-9]*", OPTIONS+="ignore_device" and now everyhing works again. I think HAL should handle the case where /dev/dm-* devices are created as well as symlinks in /dev/mapper. Ok, forget the last message. I think the source of this problem is really that HAL does not ignore the 'temporary-cryptsetup' mapping created by cryptsetup during the luksOpen operation. http://gitweb.freedesktop.org/?p=hal.git;a=commit;h=0f2dfc66d1f92aaf464adadeaf327d5a31e0ebcb was committed to avoid this problem but it does not work. I added an else clause to the if, containing some debugging code, and it revealed: Apr 20 01:26:51 xerces hald[28904]: 01:26:51.013 [I] osspec.c:238: Not doing workaround; hotplug_event->sysfs.device_file == '/dev/dm-2' So another workaround needs to be found. BTW, can anyone point me to the udev fix mentioned in that commit log? More info and information about workarounds can be found: http://lists.freedesktop.org/archives/hal/2008-April/011440.html IIRC this is already fixed in latest HAL git code. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.