Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 211591 - sys-apps/hal (all versions) have broken handling of cryptsetup temp devices
Summary: sys-apps/hal (all versions) have broken handling of cryptsetup temp devices
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Freedesktop bugs
URL: http://strony.aster.pl/tanis/kde_luks/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-27 07:13 UTC by Alex Elsayed
Modified: 2009-02-01 01:17 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to HAL fixing handling of temporary cryptsetup devices (cryptsetup_temp.patch,641 bytes, patch)
2008-02-27 07:14 UTC, Alex Elsayed
Details | Diff
Ebuild for sys-apps/hal-0.5.9.1-r1 using above patch (hal-0.5.9.1-r1.ebuild,7.17 KB, text/plain)
2008-02-27 07:15 UTC, Alex Elsayed
Details
Ebuild for sys-apps/hal-0.5.10 using above patch (hal-0.5.10.ebuild,8.16 KB, text/plain)
2008-02-27 07:15 UTC, Alex Elsayed
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Elsayed 2008-02-27 07:13:08 UTC
HAL has broken handling of the temporary devices that cryptsetup creates when opening a LUKS volume. Documented at the bottom of the linked page.
(Note: I am not the author of said page). Attaching patch to HAL and modified ebuilds for 5.9.1-r1 and 5.10 using said patch.
Comment 1 Alex Elsayed 2008-02-27 07:14:08 UTC
Created attachment 144719 [details, diff]
Patch to HAL fixing handling of temporary cryptsetup devices
Comment 2 Alex Elsayed 2008-02-27 07:15:10 UTC
Created attachment 144721 [details]
Ebuild for sys-apps/hal-0.5.9.1-r1 using above patch
Comment 3 Alex Elsayed 2008-02-27 07:15:33 UTC
Created attachment 144723 [details]
Ebuild for sys-apps/hal-0.5.10 using above patch
Comment 4 Jakub Schmidtke 2008-03-04 16:24:25 UTC
According to this: http://bugs.freedesktop.org/show_bug.cgi?id=12899#c2 this is actually a bug in udev that has been fixed in commit a0092d28.
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-01-16 09:50:20 UTC
is it still a problem with >=hal-0.5.11 and >=udev-117 ?
Comment 6 Alex Elsayed 2009-01-16 17:33:23 UTC
Well, commit 0f2dfc66d1f92aaf464adadeaf327d5a31e0ebcb in HAL's git repo fixed it for me, so if this commit is before that version was tagged, then the bug is no longer present.
Comment 7 Pacho Ramos gentoo-dev 2009-01-28 21:09:00 UTC
I am not sure about udev but, anyway, hal-0.5.11 shouldn't be affected by this as it includes workaround in http://bugs.freedesktop.org/show_bug.cgi?id=12899#c3

I think that this can be closed (I can do it if you let me ;-))
Comment 8 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-02-01 01:17:47 UTC
according to git history the fix should be in 0.5.11 so closing this fixed.