[Pkg-utopia-maintainers] Bug#467200: [Pkg-cryptsetup-devel] Bug#467200: Solution found, need input from cryptsetup, udev, hal, devmapper maintainers [was: Re: gnome-mount: Unable to mount encrypted volume]
Sam Morris
sam at robots.org.uk
Sun Jun 8 22:09:48 UTC 2008
On Sun, 2008-06-08 at 16:47 +0200, Jonas Meurer wrote:
> On 21/04/2008 Sam Morris wrote:
> > My solution is to add the following rules to udev's configuration:
> >
> > KERNEL!="dm-*", GOTO="device_mapper_end"
> > ACTION!="add|change", GOTO="device_mapper_end"
> > IMPORT{program}="/sbin/dmsetup export -j $major -m $minor"
> > LABEL="device_mapper_end"
> >
> > ENV{DM_NAME}=="temporary-cryptsetup-*", OPTIONS+="ignore_device"
> >
> > This tells udev to not send out a udev event if the device-mapper
> > mapping name starts with "temporary-cryptsetup-". HAL will therefore
> > never 'see' the temporary cryptsetup mapping that causes this problem.
> >
> > The final line of the above configuration should probably be added to
> > cryptsetup's configuration, since the "temporary-cryptsetup-*" mappings
> > are a cryptsetup-specific implementation detail. Alternatively, HAL
> > itself can be modified to ignore udev events where DM_NAME starts with
> > "temporary-cryptsetup-*".
>
> what's the current situation regarding this bug? should the cryptsetup
> package add a udev rules file containing the one line you suggested
> above?
Well, it works for me--but I don't know whether the rule should be added
by hal, cryptsetup, device-mapper or udev... at this stage in the
release process I'm tempted to say, whichever one fixes it for lenny,
and sort things out later. :)
>
> greetings,
> jonas
--
Sam Morris
http://robots.org.uk/
PGP key id 1024D/5EA01078
3412 EA18 1277 354B 991B C869 B219 7FDB 5EA0 1078
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20080608/40788b91/attachment.pgp
More information about the Pkg-utopia-maintainers
mailing list