HAL and LUKS II: revenge of cryptsetup
Sam Morris
sam at robots.org.uk
Sat Apr 19 17:51:50 PDT 2008
I'm trying to track down the reason why I haven't been able to mount
encrypted volumes on my Debian system for a couple of months. I
eventually found "HAL + LUKS" at <http://lists.freedesktop.org/archives/
hal/2007-October/009716.html>, which seemed to describe what I was seeing.
I eagerly applied the attached patch, only to find that it had already
been committed a few weeks ago... so why is the workaround not working?
Adding some more debugging code, I got:
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 I guess it never really worked, or maybe the DEVNAME in the hotplug
event that HAL recives used to start with "/dev/mapper/temporary-
cryptsetup-" but does no longer.
So, another workaround is needed. The HAL commit mentions that the
workaround is only a temporary one, and that the real fix needs to be
made to udev. It also says that such a fix has been committed--can anyone
point me to it so that I can get it included in Debian's udev packages? I
tried to dig it out of the udev git repository, but the commit messages
are... terse. :)
BTW, I actually filed a bug about this when I started to try and solve
it, at <https://bugs.freedesktop.org/show_bug.cgi?id=15285> but never got
a reply. Do many of you use the bugzilla there, or is there another bug
tracking system, or do you mostly just use this mailing list?
--
Sam Morris
http://robots.org.uk/
PGP key id 1024D/5EA01078
3412 EA18 1277 354B 991B C869 B219 7FDB 5EA0 1078
More information about the hal
mailing list